Merge branch 'master'
[exim.git] / test / confs / 3401
1 # Exim test configuration 3401
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12 log_selector = +smtp_mailauth
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = accept
17
18
19 # ----- Authentication -----
20
21 begin authenticators
22
23 login:
24 driver = plaintext
25 public_name = LOGIN
26 client_send = : userx : secret
27 client_set_id = userx
28
29 plain:
30 driver = plaintext
31 public_name = PLAIN
32 client_send = ^userx^secret
33
34 xlogin:
35 driver = plaintext
36 public_name = XLOGIN
37 client_send = : $auth1 : $auth1+$auth2
38 client_set_id = $auth1
39
40
41 # ----- Routers -----
42
43 begin routers
44
45 try:
46 driver = manualroute
47 route_list = domain.com 127.0.0.1 byname
48 self = send
49 transport = smtp_try
50
51 force:
52 driver = manualroute
53 route_list = authdomain.com 127.0.0.1 byname
54 self = send
55 transport = smtp_force
56
57
58 # ----- Transports -----
59
60 begin transports
61
62 smtp_try:
63 driver = smtp
64 hosts_try_auth = *
65 port = PORT_S
66 authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail}
67
68 smtp_force:
69 driver = smtp
70 hosts_require_auth = *
71 port = PORT_S
72
73
74 # ----- Retry -----
75
76
77 begin retry
78
79 * auth_failed
80 * * F,1h,10m
81
82 # End