Use compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
[exim.git] / test / confs / 0532
1 # Exim test configuration 0532
2
3 CONNECTCOND=
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_connect = connect
12 acl_smtp_mail = mail
13 acl_smtp_rcpt = rcpt
14 acl_smtp_predata = predata
15 acl_smtp_data = data
16 acl_not_smtp = notsmtp
17
18 qualify_domain = test.ex
19 trusted_users = CALLER
20
21
22 # ----- ACL -----
23
24 begin acl
25
26 connect:
27   accept CONNECTCOND
28
29 mail:
30   accept add_header = MAIL: one
31          senders    = mailok@test.ex
32          add_header = MAIL: two\nMAIL: three
33   accept
34
35 rcpt:
36   accept add_header  = RCPT: one
37          add_header  = DUP: duplicate
38          local_parts = rcptok
39          add_header  = RCPT: two\n  continued\n
40   deny   add_header  = RCPT: denied $local_part
41
42
43 predata:
44   warn   add_header = PREDATA-WARN: added with add_header
45          message    = PREDATA-WARN: added with message
46   accept add_header = PREDATA: recipients are $recipients
47
48 data:
49   accept add_header = DATA: one
50          add_header = DUP: duplicate
51          condition  = ${if eq{$h_cond:}{accept}}
52
53 notsmtp:
54   accept add_header = NOTSMTP: $recipients
55
56
57 # ----- Routers -----
58
59 begin routers
60
61 r1:
62   driver = accept
63   transport = t1
64
65
66 # ----- Transports -----
67
68 begin transports
69
70 t1:
71   driver = appendfile
72   file = DIR/test-mail/$local_part
73   create_file = DIR/test-mail
74   user = CALLER
75
76 # End