Merge branch 'master'
[users/jgh/exim.git] / test / confs / 0177
1 # Exim test configuration 0177
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16 acl_smtp_rcpt = check_recipient
17
18 qualify_domain = test.ex
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   accept  hosts = :
27   accept  domains = +local_domains
28   deny    message = relay not permitted
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 all_R:
36   driver = manualroute
37   domains = ! +local_domains
38   route_list = * 127.0.0.1 byname
39   self = send
40   transport = smtp
41   no_more
42
43 filter:
44   driver = redirect
45   allow_filter
46   allow_freeze
47   allow_fail
48   no_check_local_user
49   file = DIR/aux-var/TESTNUM.filter
50   owners =
51   reply_transport = autoreply
52   retry_use_local_part
53   user = CALLER
54
55 alias:
56   driver = redirect
57   allow_defer
58   allow_fail
59   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
60   retry_use_local_part
61
62 all_L:
63   driver = accept
64   retry_use_local_part
65   transport = appendfile
66
67
68 # ----- Transports -----
69
70 begin transports
71
72 appendfile:
73   driver = appendfile
74   file = DIR/test-mail/$local_part
75   user = CALLER
76
77 autoreply:
78   driver = autoreply
79   user = CALLER
80
81 smtp:
82   driver = smtp
83   port = PORT_S
84
85
86 # ----- Retry -----
87
88
89 begin retry
90
91 * * F,5d,1d
92
93
94 # End