Use compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
[exim.git] / test / confs / 0281
1 # Exim test configuration 0281
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = acl_rcpt_$local_part
10 allow_domain_literals
11 hosts_treat_as_local = other1.test.ex
12
13
14 # ------ ACLs ------
15
16 begin acl
17
18 acl_rcpt_1:
19   require message = domain doesn't match @ or @[]
20           domains = @ : @[]
21   accept
22
23 acl_rcpt_2:
24   require message = domain doesn't match @mx_any
25           domains = @mx_any
26   accept
27
28 acl_rcpt_3:
29   require message = domain doesn't match @mx_primary
30           domains = @mx_primary
31   accept
32
33 acl_rcpt_4:
34   require message = domain doesn't match @mx_secondary
35           domains = @mx_secondary
36   accept
37
38 acl_rcpt_5:
39   require message = host doesn't match @ or @[]
40           hosts   = @ : @[]
41   accept
42
43
44 # ------ Routers ------
45
46 begin routers
47
48 r1:
49   driver = dnslookup
50   domains = ! +local_domains
51   transport = dev_null
52   no_more
53
54 r2:
55   driver = accept
56   local_parts = CALLER : postmaster
57   transport = local_delivery
58
59
60 # ------ Transports ------
61
62 begin transports
63
64 dev_null:
65   driver = appendfile
66   file = /dev/null
67   user = CALLER
68
69 local_delivery:
70   driver = appendfile
71   file = DIR/test-mail/$local_part
72   create_file = DIR/test-mail
73   user = CALLER
74
75 # End