| 1 | # Exim test configuration 9350 |
| 2 | |
| 3 | SERVER= |
| 4 | |
| 5 | .include DIR/aux-var/std_conf_prefix |
| 6 | |
| 7 | primary_hostname = myhost.test.ex |
| 8 | |
| 9 | # ----- Main settings ----- |
| 10 | |
| 11 | acl_smtp_rcpt = check_recipient |
| 12 | |
| 13 | tls_advertise_hosts = * |
| 14 | tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} |
| 15 | tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} |
| 16 | |
| 17 | tls_verify_hosts = HOSTIPV4 |
| 18 | tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail} |
| 19 | |
| 20 | |
| 21 | # ----- ACL ----- |
| 22 | |
| 23 | begin acl |
| 24 | |
| 25 | check_recipient: |
| 26 | deny message = authentication required |
| 27 | !authenticated = * |
| 28 | accept |
| 29 | |
| 30 | |
| 31 | # ----- Authentication ----- |
| 32 | |
| 33 | begin authenticators |
| 34 | |
| 35 | dovecot: |
| 36 | driver = dovecot |
| 37 | public_name = PLAIN |
| 38 | server_socket = /var/run/dovecot/auth-client |
| 39 | server_set_id = $auth1 |
| 40 | |
| 41 | # End |