| 1 | # Exim test configuration 2126 |
| 2 | |
| 3 | SERVER= |
| 4 | |
| 5 | .include DIR/aux-var/tls_conf_prefix |
| 6 | |
| 7 | primary_hostname = myhost.test.ex |
| 8 | |
| 9 | # ----- Main settings ----- |
| 10 | |
| 11 | acl_smtp_rcpt = check_rcpt |
| 12 | log_selector = +tls_peerdn |
| 13 | |
| 14 | tls_advertise_hosts = HOSTIPV4 |
| 15 | tls_certificate = DIR/aux-fixed/cert1 |
| 16 | tls_privatekey = DIR/aux-fixed/cert1 |
| 17 | |
| 18 | |
| 19 | # ----- ACLs ----- |
| 20 | |
| 21 | begin acl |
| 22 | |
| 23 | check_rcpt: |
| 24 | accept local_parts = userx |
| 25 | |
| 26 | defer local_parts = usery |
| 27 | hosts = 127.0.0.1 |
| 28 | |
| 29 | accept delay = 1s |
| 30 | |
| 31 | |
| 32 | # ----- Routers ----- |
| 33 | |
| 34 | begin routers |
| 35 | |
| 36 | r0: |
| 37 | driver = accept |
| 38 | condition = ${if !eq {$sender_host_address}{}} |
| 39 | transport = t2 |
| 40 | |
| 41 | r1: |
| 42 | driver = accept |
| 43 | transport = t1 |
| 44 | |
| 45 | |
| 46 | # ----- Transports ----- |
| 47 | |
| 48 | begin transports |
| 49 | |
| 50 | t1: |
| 51 | driver = smtp |
| 52 | hosts = 127.0.0.1 : HOSTIPV4 |
| 53 | port = PORT_D |
| 54 | allow_localhost |
| 55 | tls_try_verify_hosts = : |
| 56 | |
| 57 | t2: |
| 58 | driver = appendfile |
| 59 | file = /dev/null |
| 60 | user = CALLER |
| 61 | |
| 62 | # End |