e44645991f490976bcf9e894ecb835a82ad0becf
[users/heiko/exim.git] / test / confs / 5204
1 # Exim test configuration 5204
2
3 COMMAND_USER=EXIMUSER
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = accept verify = recipient
18 domainlist local_domains = test.ex
19
20 # ----- Routers -----
21
22 begin routers
23
24 b:
25   driver = accept
26   senders = :
27   transport = local_delivery
28
29 q:
30   driver = queryprogram
31   caseful_local_part
32   command = /bin/echo \
33     "${if match{$local_part}{^\"([^\"]*)\"(.*)\\$}{$1$2}{$local_part}}"
34   command_user = COMMAND_USER
35   domains = ! +local_domains
36   no_more
37   transport = smtp
38
39 s:
40   driver = manualroute
41   domains = ! +local_domains
42   route_list = * 127.0.0.1 byname
43   self = send
44   transport = smtp
45   no_more
46
47 pm:
48   driver = accept
49   local_parts = postmaster
50   retry_use_local_part
51   transport = null
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 smtp:
59   driver = smtp
60
61 other_smtp:
62   driver = smtp
63
64 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   user = CALLER
73
74
75 # ----- Retry -----
76
77 begin retry
78
79 * * F,2h,15m
80
81
82 # End