| 1 | # Exim test configuration 3406 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | acl_smtp_rcpt = accept |
| 10 | trusted_users = CALLER |
| 11 | |
| 12 | |
| 13 | # ----- Authentication ----- |
| 14 | |
| 15 | begin authenticators |
| 16 | |
| 17 | a1: |
| 18 | driver = plaintext |
| 19 | public_name = FIRST |
| 20 | server_advertise_condition = \ |
| 21 | ${if eq{$sender_host_address}{10.0.0.2}{yes}{no}} |
| 22 | server_condition = yes |
| 23 | |
| 24 | a2: |
| 25 | driver = plaintext |
| 26 | public_name = SECOND |
| 27 | server_advertise_condition = \ |
| 28 | ${if eq{$sender_host_address}{10.0.0.3}{yes}{no}} |
| 29 | server_condition = yes |
| 30 | |
| 31 | # End |