Testsuite: Explicit disabling of identd no longer needed
[exim.git] / test / confs / 3408
1 # Exim test configuration 3408
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 qualify_domain = exim.test.ex
13 acl_smtp_rcpt = check_recipient
14 domainlist local_domains = exim.test.ex
15
16
17 # ----- ACL -----
18
19 begin acl
20
21 check_recipient:
22   accept  hosts = :
23   accept  recipients = postmaster@exim.test.ex
24   deny    message = host is listed in $dnslist_domain
25          !authenticated = *
26           dnslists = rbl.test.ex
27   require verify = sender
28   deny    message = unrouteable address
29          !verify = recipient
30   accept  domains = +local_domains
31   deny    message = relay not permitted
32
33
34 # ----- Authentication -----
35
36 begin authenticators
37
38 plain:
39   driver = plaintext
40   public_name = PLAIN
41   server_condition = "\
42     ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
43   server_set_id = $2
44
45
46 # ----- Routers -----
47
48 begin routers
49
50 system_aliases:
51   driver = redirect
52   allow_defer
53   data = ${lookup{$local_part}lsearch{DIR/aux-var/TESTNUM.aliases}}
54   retry_use_local_part
55
56 localuser:
57   driver = accept
58   check_local_user
59   transport = local_delivery
60
61 list:
62   driver = accept
63   local_parts = userx
64   transport = local_delivery
65
66
67 # ----- Transports -----
68
69 begin transports
70
71 local_delivery:
72   driver = appendfile
73   delivery_date_add
74   envelope_to_add
75   file = DIR/test-mail/$local_part
76   return_path_add
77
78 # End