| 1 | # Exim test configuration 3402 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | primary_hostname = myhost.test.ex |
| 6 | rfc1413_query_timeout = 0s |
| 7 | spool_directory = DIR/spool |
| 8 | log_file_path = DIR/spool/log/%slog |
| 9 | gecos_pattern = "" |
| 10 | gecos_name = CALLER_NAME |
| 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 |