Event for auth fail: client side
[exim.git] / test / confs / 3419
1 # Exim test configuration 3419
2
3 .include DIR/aux-var/std_conf_prefix
4
5 log_selector = +smtp_mailauth
6 primary_hostname = myhost.test.ex
7
8 # ----- Main settings -----
9
10 acl_smtp_rcpt = accept
11
12
13 # ----- ACL -----
14
15 begin acl
16
17 .include DIR/aux-fixed/event-logger-acl
18
19 auth_event:
20   warn          acl =   logger
21   accept        condition =     ${if eq {$event_name}{auth:fail}}
22                 message = custom-message: $sender_host_authenticated authenticator failed H=$host [$host_address] $event_data
23
24 # ----- Authentication -----
25
26 begin authenticators
27
28 login:
29   driver = plaintext
30   public_name = LOGIN
31   client_send = : userx : secret
32   client_set_id = userx
33
34 # ----- Routers -----
35
36 begin routers
37
38 force:
39   driver =      manualroute
40   route_list =  domain.com 127.0.0.1 byname
41   self =        send
42   transport =   smtp_force
43   errors_to =   ""
44
45 # ----- Transports -----
46
47 begin transports
48
49 smtp_force:
50   driver =      smtp
51   port =        PORT_S
52   hosts_try_fastopen =  :
53   hosts_require_auth =  *
54   event_action =        ${acl {auth_event}}
55
56
57 # ----- Retry -----
58
59
60 begin retry
61
62 *  auth_failed
63 *  *  F,1h,10m
64
65 # End