Update to protocol used by avast 2.2.0 (Multiline responses) (Bug 2112)
[users/heiko/exim.git] / test / confs / 4560
1 # Exim test configuration 4560
2
3 SERVER=
4 VALUE=
5 INSERT=
6
7 .include DIR/aux-var/std_conf_prefix
8
9 primary_hostname = test.ex
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = accept
14 acl_smtp_data = check_data
15
16 log_selector = +received_recipients +dkim_verbose
17 queue_only
18
19 # ----- ACL -----
20 begin acl
21
22 check_data:
23   warn  !verify =       arc VALUE
24         INSERT
25
26 .ifdef OPTION
27   accept
28 .else
29   accept add_header =   :at_start:${authresults {$primary_hostname}}
30 .endif
31   
32 # ----- Routers -----
33
34 begin routers
35
36 d1:
37   driver = accept
38   local_parts = ^a
39   transport = tfile
40
41 r2:
42   driver =      redirect
43   local_parts = ^m
44   data =        ${substr_1:$local_part}@$domain
45   redirect_router = mlist
46
47 redir:
48   driver =      redirect
49   data =        ${substr_1:$local_part}@$domain
50   redirect_router = fwd
51
52 fwd:
53   driver =      accept
54   transport =   tsmtp
55
56 mlist:
57   driver =      accept
58   transport =   tmlist
59
60 # ----- Transports -----
61
62 begin transports
63
64 tfile:
65   driver =      appendfile
66   file =        DIR/test-mail/$local_part
67   user =        CALLER
68
69 tsmtp:
70   driver =      smtp
71   hosts =       127.0.0.1
72   port =        PORT_D
73   allow_localhost
74 .ifndef OPTION
75   arc_sign =    $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
76 .endif
77
78 tmlist:
79   driver =      smtp
80   hosts =       127.0.0.1
81   port =        PORT_D
82   allow_localhost
83   transport_filter =    /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter
84 .ifndef OPTION
85   arc_sign =    $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
86 .endif
87
88 # End