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