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