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