Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3402 |
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 | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | acl_smtp_rcpt = accept | |
15 | ||
16 | ||
17 | # ----- Authentication ----- | |
18 | ||
19 | begin authenticators | |
20 | ||
21 | plain1: | |
22 | driver = plaintext | |
23 | public_name = PLAIN | |
24 | server_condition = \ | |
25 | ${if or {\ | |
26 | {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\ | |
27 | {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\ | |
28 | }\ | |
29 | {yes}{no}} | |
30 | server_set_id = $2 | |
31 | server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}} | |
32 | ||
33 | # End |