Avoid sending DSN when message was accepted under fakereject or fakedefer. Bug 3016
[exim.git] / test / confs / 3418
1 # Exim test configuration 3418
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex : *.test.ex
10
11 auth_advertise_hosts = 10.0.0.5
12 trusted_users = CALLER
13
14 event_action = ${acl {auth_event}}
15
16 # ----- ACL -----
17
18 begin acl
19
20 .include DIR/aux-fixed/event-logger-acl
21
22 auth_event:
23   warn          acl =           logger
24   accept        condition =     ${if eq {$event_name}{auth:fail}}
25                 message =       custom-message: $sender_host_authenticated authenticator failed \
26                                 H=$sender_fullhost [$sender_host_address] $event_data $authenticated_fail_id
27
28
29
30 # ----- Authentication -----
31
32 begin authenticators
33
34 testname:
35   driver = plaintext
36   public_name = mylogin
37   server_debug_print = +++MYLOGIN \$1="$1" \$2=\"$2" \$3="$3"
38   server_condition = "\
39     ${if match{$1}{^(\\\\S+)\\\\s+(\\\\S+)\\$}\
40     {${if and {{eq{$1}{userx}}{eq{$2}{secret}}}{yes}{no}}}{no}}"
41   server_set_id = $auth1
42
43
44 # End