Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3406 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | acl_smtp_rcpt = accept | |
14 | trusted_users = CALLER | |
15 | ||
16 | ||
17 | # ----- Authentication ----- | |
18 | ||
19 | begin authenticators | |
20 | ||
21 | a1: | |
22 | driver = plaintext | |
23 | public_name = FIRST | |
24 | server_advertise_condition = \ | |
25 | ${if eq{$sender_host_address}{10.0.0.2}{yes}{no}} | |
26 | server_condition = yes | |
27 | ||
28 | a2: | |
29 | driver = plaintext | |
30 | public_name = SECOND | |
31 | server_advertise_condition = \ | |
32 | ${if eq{$sender_host_address}{10.0.0.3}{yes}{no}} | |
33 | server_condition = yes | |
34 | ||
35 | # End |