Utilites: fix exim_lock
[exim.git] / test / confs / 3403
CommitLineData
afda344b
PH
1# Exim test configuration 3403
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = accept
16
17
18# ----- Authentication -----
19
20begin authenticators
21
22plain1:
23 driver = plaintext
24 public_name = PLAIN
25 server_condition = \
26 ${if or {\
27 {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\
28 {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\
29 }\
30 {yes}{no}}
31 server_set_id = $2
32 server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
33
34
35# ----- Routers -----
36
37begin routers
38
39d1:
40 driver = accept
41 headers_add = aid: $authenticated_id
42 retry_use_local_part
43 transport = t1
44
45
46# ----- Transports -----
47
48begin transports
49
50t1:
51 driver = appendfile
52 file = DIR/test-mail/$local_part
53 user = CALLER
54
55# End