Testcase 0601: move udpsend action from connect to rcpt ACL
[users/jgh/exim.git] / test / confs / 0544
1 # Exim test configuration 0544
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
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 domainlist dlist = $domain
14
15 acl_smtp_helo = check_helo
16 acl_smtp_mail = check_mail
17 acl_smtp_rcpt = check_rcpt
18 queue_smtp_domains = $domain
19 qualify_domain = test.ex
20
21
22 # ----- ACLs -----
23
24 begin acl
25
26 check_helo:
27   warn
28   condition = ${if match_domain {$sender_helo_name}{+dlist}}
29   accept
30
31
32 check_mail:
33   warn  hosts = domain=$domain/sender_domain=$sender_address_domain
34   accept
35
36 check_rcpt:
37   warn  domains = domain=$domain/sender_domain=$sender_address_domain
38   warn  sender_domains = domain=$domain/sender_domain=$sender_address_domain
39   accept
40
41
42 # ----- Routers -----
43
44 begin routers
45
46 smarthost:
47   driver = accept
48   transport = smtp
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 smtp:
56   driver = smtp
57   hosts = 127.0.0.1
58   allow_localhost
59   port = PORT_S
60
61
62 # ----- Retry -----
63
64
65 begin retry
66
67 * * F,5d,15m
68
69
70 # End