299603537c128bbb1aa78f7c6443457976355c40
[exim.git] / test / confs / 3402
1 # Exim test configuration 3402
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
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 acl_smtp_rcpt = accept
14
15
16 # ----- Authentication -----
17
18 begin authenticators
19
20 plain1:
21   driver = plaintext
22   public_name = PLAIN
23   server_condition = \
24     ${if or {\
25       {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\
26       {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\
27     }\
28     {yes}{no}}
29   server_set_id = $2
30   server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
31
32 # End