| 1 | # Exim test configuration 2151 |
| 2 | |
| 3 | .include DIR/aux-var/tls_conf_prefix |
| 4 | |
| 5 | |
| 6 | # ----- Main settings ----- |
| 7 | |
| 8 | acl_smtp_rcpt = acl_rcpt |
| 9 | callout_random_local_part = $primary_hostname--testing |
| 10 | trusted_users = CALLER |
| 11 | |
| 12 | tls_advertise_hosts = 127.0.0.1 : HOSTIPV4 |
| 13 | |
| 14 | tls_certificate = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem |
| 15 | tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key |
| 16 | |
| 17 | # ----- ACL ----- |
| 18 | |
| 19 | begin acl |
| 20 | |
| 21 | acl_rcpt: |
| 22 | accept verify = recipient/callout=1s,use_sender |
| 23 | |
| 24 | # ----- Routers ----- |
| 25 | |
| 26 | begin routers |
| 27 | |
| 28 | callout: |
| 29 | driver = manualroute |
| 30 | transport = smtp |
| 31 | route_data = 127.0.0.1 |
| 32 | self = send |
| 33 | |
| 34 | |
| 35 | # ----- Transports ----- |
| 36 | |
| 37 | begin transports |
| 38 | |
| 39 | smtp: |
| 40 | driver = smtp |
| 41 | port = PORT_S |
| 42 | |
| 43 | # End |