Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3402 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b | 5 | primary_hostname = myhost.test.ex |
afda344b PH |
6 | |
7 | # ----- Main settings ----- | |
8 | ||
9 | acl_smtp_rcpt = accept | |
10 | ||
11 | ||
12 | # ----- Authentication ----- | |
13 | ||
14 | begin authenticators | |
15 | ||
16 | plain1: | |
17 | driver = plaintext | |
18 | public_name = PLAIN | |
19 | server_condition = \ | |
20 | ${if or {\ | |
21 | {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\ | |
22 | {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\ | |
23 | }\ | |
24 | {yes}{no}} | |
25 | server_set_id = $2 | |
26 | server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}} | |
27 | ||
28 | # End |