Testsuite: disallow :: as a usable ipv6 address
[users/heiko/exim.git] / test / confs / 0618
1 # Exim test configuration 0618
2
3 SERVER =
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 .ifdef OPT
12 dsn_advertise_hosts = *
13 .endif
14 delay_warning = 3s : 24h
15
16 accept_8bitmime = false
17 pipelining_advertise_hosts = :
18
19 trusted_users = CALLER
20 acl_smtp_rcpt = rcpt
21
22 log_selector = +received_recipients
23 queue_only
24 queue_run_in_order
25
26
27 event_action = ${acl {ev_log}}
28
29 #
30
31 begin acl
32
33 ev_log:
34   accept logwrite = event $event_name
35
36 rcpt:
37   accept hosts =        HOSTIPV4
38
39   deny  local_parts =   rmt_reject
40   defer local_parts =   rmt_defer
41   accept
42
43 # ----- Routers -----
44
45 begin routers
46
47 r_dump:
48   driver =      redirect
49   domains =     dump.ex
50   data =        :blackhole:
51
52 r1:
53   driver =      accept
54   condition =   ${if eq {127.0.0.1}{$sender_host_address}}
55   transport =   tofile
56
57 r2:
58   driver =      manualroute
59   local_parts = ^rmt_.*
60   route_list =  * 127.0.0.1::PORT_D
61   self =        send
62   transport =   smtp
63
64 r3:
65   driver =      manualroute
66   local_parts = deferred
67   route_list =  * 127.0.0.1::PORT_S
68   self =        send
69   transport =   bad_tpt
70
71 # ----- Transports -----
72
73 begin transports
74
75 smtp:
76   driver =      smtp
77   event_action = ${acl {ev_log}}
78
79 bad_tpt:
80   driver =      smtp
81   connect_timeout = 1s
82   event_action = ${acl {ev_log}}
83
84 tofile:
85   driver = appendfile
86   file = DIR/test-mail/$local_part
87   user = CALLER
88   event_action = ${acl {ev_log}}
89
90 begin retry
91
92 *       *       F,1m,3s
93 # End