| 1 | # Exim test configuration 3404 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | trusted_users = CALLER |
| 10 | |
| 11 | |
| 12 | # ----- Authentication ----- |
| 13 | |
| 14 | begin authenticators |
| 15 | |
| 16 | plain: |
| 17 | driver = plaintext |
| 18 | public_name = PLAIN |
| 19 | client_send = ^userx^secret |
| 20 | |
| 21 | login: |
| 22 | driver = plaintext |
| 23 | public_name = LOGIN |
| 24 | client_send = :userx:secret |
| 25 | client_ignore_invalid_base64 |
| 26 | |
| 27 | |
| 28 | # ----- Routers ----- |
| 29 | |
| 30 | begin routers |
| 31 | |
| 32 | all: |
| 33 | driver = manualroute |
| 34 | domains = domain.com : myhost.test.ex |
| 35 | headers_add = X-AID: >$authenticated_id< |
| 36 | route_list = * 127.0.0.1 byname |
| 37 | self = send |
| 38 | transport = smtp |
| 39 | |
| 40 | # ----- Transports ----- |
| 41 | |
| 42 | begin transports |
| 43 | |
| 44 | smtp: |
| 45 | driver = smtp |
| 46 | port = PORT_S |
| 47 | hosts_try_fastopen = : |
| 48 | hosts_try_auth = * |
| 49 | |
| 50 | |
| 51 | # ----- Retry ----- |
| 52 | |
| 53 | begin retry |
| 54 | |
| 55 | * * F,1h,10m |
| 56 | |
| 57 | |
| 58 | # End |