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