Use compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
[exim.git] / test / confs / 3465
1 # Exim test configuration 3465
2
3 HOSTS_AVOID_TLS=
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12
13 domainlist local_domains = test.ex
14
15 log_selector = +smtp_no_mail
16
17 queue_only = true
18
19 tls_advertise_hosts = *
20 tls_certificate = DIR/aux-fixed/cert1
21
22 # ----- Authenticators -----
23
24 begin authenticators
25
26 plain:
27   driver = plaintext
28   public_name = PLAIN
29   server_condition = "\
30     ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
31   server_set_id = $2
32   client_condition = ${if !eq {$tls_out_cipher}{}}
33   client_send = ^userx^secret1
34
35 login:
36   driver = plaintext
37   public_name = LOGIN
38   server_prompts = User Name : Password
39   server_condition = "\
40     ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}"
41   server_set_id = $auth1
42   client_send = : usery : secret2
43
44
45 # ----- Routers -----
46
47 begin routers
48
49 r1:
50   driver = accept
51   transport = t1
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 t1:
59   driver = smtp
60   hosts = 127.0.0.1
61   port = PORT_D
62   allow_localhost
63   hosts_try_fastopen =  :
64   hosts_avoid_tls       = HOSTS_AVOID_TLS
65   tls_verify_certificates =     DIR/aux-fixed/cert1
66   tls_verify_cert_hostnames =   :
67   hosts_require_auth = *
68
69   # These can be made visible by adding "-d-all+deliver+transport+tls" to the script 1st queuerun
70   headers_add = X-tls-cipher: <$tls_cipher>
71   headers_add = X-tls-out-cipher: <$tls_out_cipher>
72
73
74 # End