| 1 | # Exim test configuration 3414 |
| 2 | |
| 3 | ACL= |
| 4 | OPT= |
| 5 | |
| 6 | exim_path = EXIM_PATH |
| 7 | keep_environment = |
| 8 | host_lookup_order = bydns |
| 9 | primary_hostname = myhost.test.ex |
| 10 | spool_directory = DIR/spool |
| 11 | log_file_path = DIR/spool/log/%slog |
| 12 | gecos_pattern = "" |
| 13 | gecos_name = CALLER_NAME |
| 14 | chunking_advertise_hosts = |
| 15 | tls_advertise_hosts = |
| 16 | |
| 17 | # ----- Main settings ----- |
| 18 | |
| 19 | acl_smtp_mail = mail |
| 20 | OPT acl_smtp_mailauth=ACL |
| 21 | |
| 22 | |
| 23 | # ----- ACLs ----- |
| 24 | |
| 25 | begin acl |
| 26 | |
| 27 | acl1: |
| 28 | accept condition = ${if eq{$authenticated_sender}{ok@ok}{1}{0}} |
| 29 | |
| 30 | mail: |
| 31 | warn log_message = \$authenticated_sender=$authenticated_sender |
| 32 | accept |
| 33 | |
| 34 | |
| 35 | # ----- Authenticators ----- |
| 36 | |
| 37 | begin authenticators |
| 38 | |
| 39 | ok: |
| 40 | driver = plaintext |
| 41 | public_name = PLAIN |
| 42 | server_prompts = : |
| 43 | server_condition = true |
| 44 | |
| 45 | |
| 46 | # End |