Fix my earlier "fix" for intermittently deliverable recipients.
[users/jgh/exim.git] / test / confs / 0486
1 # Exim test configuration 0486
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_smtp_mail = acl_check_mail
15 acl_smtp_rcpt = acl_check_rcpt
16 acl_smtp_data = acl_check_data
17 queue_only
18 trusted_users = CALLER
19
20
21 # ----- ACLs -----
22
23 begin acl
24
25 acl_check_mail:
26   warn     logwrite = at MAIL (1): >$sender_address<
27   require  verify   = sender
28   warn     logwrite = at MAIL (2): >$sender_address<
29   accept
30
31 acl_check_rcpt:
32   warn     logwrite = at RCPT (1): >$sender_address<
33   warn     logwrite = at RCPT (2): >$local_part<
34   require  verify   = recipient
35   warn     logwrite = at RCPT (3): >$local_part<
36   accept
37
38 acl_check_data:
39   warn     logwrite = at DATA (1): >$sender_address<
40   warn     logwrite = at DATA (2): >$recipients<
41   warn     logwrite = at DATA (3): >From: $h_from:<
42   warn     logwrite = at DATA (3): >To: $h_to:<
43   accept
44
45
46 #----- Rewrite -----
47
48 begin rewrite
49 ^<(smtp.*)   <SW-$1                         S
50 *@*          RW-$local_part@domain
51
52
53 # ----- Routers -----
54
55 begin routers
56
57 r1:
58   driver = accept
59   transport = t1
60
61
62 # ----- Transports -----
63
64 begin transports
65
66 t1:
67   driver = appendfile
68   file = /dev/null
69   user = CALLER
70
71
72 # End