| 1 | # Exim test configuration 2152 |
| 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 = chk_r |
| 12 | |
| 13 | #log_selector = +tls_peerdn |
| 14 | |
| 15 | queue_only |
| 16 | queue_run_in_order |
| 17 | |
| 18 | tls_advertise_hosts = * |
| 19 | |
| 20 | tls_certificate = DIR/aux-fixed/cert1 |
| 21 | tls_privatekey = DIR/aux-fixed/cert1 |
| 22 | |
| 23 | |
| 24 | # ----- ACL ----- |
| 25 | |
| 26 | begin acl |
| 27 | |
| 28 | chk_r: |
| 29 | accept condition = ${if = {$received_port}{PORT_D2}} |
| 30 | accept verify = recipient/callout |
| 31 | |
| 32 | # ----- Routers ----- |
| 33 | |
| 34 | begin routers |
| 35 | |
| 36 | client: |
| 37 | driver = accept |
| 38 | condition = ${if !eq {SERVER}{server}} |
| 39 | transport = send_to_server |
| 40 | |
| 41 | srvr_v: |
| 42 | driver = accept |
| 43 | verify_only |
| 44 | transport = send_to_server_v |
| 45 | |
| 46 | |
| 47 | # ----- Transports ----- |
| 48 | |
| 49 | begin transports |
| 50 | |
| 51 | send_to_server: |
| 52 | driver = smtp |
| 53 | allow_localhost |
| 54 | hosts = 127.0.0.1 |
| 55 | port = PORT_D |
| 56 | hosts_try_fastopen = : |
| 57 | tls_verify_certificates = DIR/aux-fixed/cert1 |
| 58 | tls_verify_cert_hostnames = : |
| 59 | |
| 60 | send_to_server_v: |
| 61 | driver = smtp |
| 62 | allow_localhost |
| 63 | hosts = 127.0.0.1 |
| 64 | port = PORT_D2 |
| 65 | hosts_try_fastopen = : |
| 66 | tls_verify_certificates = DIR/aux-fixed/cert1 |
| 67 | tls_verify_cert_hostnames = : |
| 68 | |
| 69 | |
| 70 | # ----- Retry ----- |
| 71 | |
| 72 | |
| 73 | begin retry |
| 74 | |
| 75 | * * F,5d,10s |
| 76 | |
| 77 | |
| 78 | # End |