Renumber testcase, again
[users/jgh/exim.git] / test / confs / 3408
1 # Exim test configuration 3408
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 qualify_domain = exim.test.ex
15 acl_smtp_rcpt = check_recipient
16 domainlist local_domains = exim.test.ex
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_recipient:
24   accept  hosts = :
25   accept  recipients = postmaster@exim.test.ex
26   deny    message = host is listed in $dnslist_domain
27          !authenticated = *
28           dnslists = rbl.test.ex
29   require verify = sender
30   deny    message = unrouteable address
31          !verify = recipient
32   accept  domains = +local_domains
33   deny    message = relay not permitted
34
35
36 # ----- Authentication -----
37
38 begin authenticators
39
40 plain:
41   driver = plaintext
42   public_name = PLAIN
43   server_condition = "\
44     ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
45   server_set_id = $2
46
47
48 # ----- Routers -----
49
50 begin routers
51
52 system_aliases:
53   driver = redirect
54   allow_defer
55   data = ${lookup{$local_part}lsearch{DIR/aux-var/TESTNUM.aliases}}
56   retry_use_local_part
57
58 localuser:
59   driver = accept
60   check_local_user
61   transport = local_delivery
62
63 list:
64   driver = accept
65   local_parts = userx
66   transport = local_delivery
67
68
69 # ----- Transports -----
70
71 begin transports
72
73 local_delivery:
74   driver = appendfile
75   delivery_date_add
76   envelope_to_add
77   file = DIR/test-mail/$local_part
78   return_path_add
79
80 # End