| 1 | # Exim test configuration 3415 |
| 2 | |
| 3 | SERVER= |
| 4 | SUBMISSION_OPTIONS= |
| 5 | AUTH_ID_DOMAIN= |
| 6 | |
| 7 | exim_path = EXIM_PATH |
| 8 | host_lookup_order = bydns |
| 9 | primary_hostname = myhost.test.ex |
| 10 | rfc1413_query_timeout = 0s |
| 11 | spool_directory = DIR/spool |
| 12 | log_file_path = DIR/spool/log/SERVER%slog |
| 13 | gecos_pattern = "" |
| 14 | gecos_name = CALLER_NAME |
| 15 | |
| 16 | # ----- Main settings ----- |
| 17 | |
| 18 | acl_smtp_mail = a1 |
| 19 | acl_smtp_rcpt = accept |
| 20 | |
| 21 | queue_only |
| 22 | trusted_users = CALLER |
| 23 | |
| 24 | |
| 25 | # ----- ACL ----- |
| 26 | |
| 27 | begin acl |
| 28 | |
| 29 | a1: |
| 30 | warn senders = ^(?!notsubmit@) |
| 31 | control = submissionSUBMISSION_OPTIONS |
| 32 | accept |
| 33 | |
| 34 | |
| 35 | # ----- Authenticators ----- |
| 36 | |
| 37 | begin authenticators |
| 38 | |
| 39 | au1: |
| 40 | driver = plaintext |
| 41 | public_name = PLAIN |
| 42 | server_prompts = : |
| 43 | server_condition = \ |
| 44 | ${if and {{eq{$2}{username}}{eq{$3}{mysecret}}}{yes}{no}} |
| 45 | server_set_id = $2AUTH_ID_DOMAIN |
| 46 | |
| 47 | |
| 48 | # End |