| 1 | # test config 4056 |
| 2 | # Early-pipe, AUTH (no TLS!) |
| 3 | |
| 4 | AA = yes |
| 5 | |
| 6 | keep_environment = PATH |
| 7 | exim_path = EXIM_PATH |
| 8 | host_lookup_order = bydns |
| 9 | spool_directory = DIR/spool |
| 10 | |
| 11 | .ifdef SERVER |
| 12 | log_file_path = DIR/spool/log/SERVER%slog |
| 13 | .else |
| 14 | log_file_path = DIR/spool/log/%slog |
| 15 | .endif |
| 16 | |
| 17 | gecos_pattern = "" |
| 18 | gecos_name = CALLER_NAME |
| 19 | dns_cname_loops = 9 |
| 20 | chunking_advertise_hosts = |
| 21 | tls_advertise_hosts = |
| 22 | |
| 23 | .ifdef _HAVE_DMARC |
| 24 | dmarc_tld_file = |
| 25 | .endif |
| 26 | |
| 27 | pipelining_connect_advertise_hosts = * |
| 28 | auth_advertise_hosts = * |
| 29 | log_selector = +pipelining |
| 30 | queue_only |
| 31 | |
| 32 | acl_smtp_rcpt = accept |
| 33 | |
| 34 | # |
| 35 | begin routers |
| 36 | |
| 37 | server: |
| 38 | driver = redirect |
| 39 | condition = ${if eq {SERVER}{server}} |
| 40 | data = :blackhole: |
| 41 | |
| 42 | client: |
| 43 | driver = manualroute |
| 44 | route_data = 127.0.0.1::PORT_D |
| 45 | self = send |
| 46 | transport = smtp |
| 47 | |
| 48 | # |
| 49 | begin transports |
| 50 | |
| 51 | smtp: |
| 52 | driver = smtp |
| 53 | hosts_try_fastopen = : |
| 54 | hosts_pipe_connect = * |
| 55 | hosts_require_auth = * |
| 56 | |
| 57 | # |
| 58 | begin authenticators |
| 59 | |
| 60 | plain: |
| 61 | driver = plaintext |
| 62 | public_name = PLAIN |
| 63 | |
| 64 | server_advertise_condition = AA |
| 65 | server_condition = "\ |
| 66 | ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}" |
| 67 | server_set_id = $auth2 |
| 68 | |
| 69 | client_send = ^userx^secret |
| 70 | |
| 71 | # ----- Retry ----- |
| 72 | |
| 73 | |
| 74 | begin retry |
| 75 | |
| 76 | * * F,5d,10s |
| 77 | |