Remove word "rejected" from ACL-discard log lines. Bug 1632
[users/jgh/exim.git] / test / confs / 0485
1 # Exim test configuration 0485
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
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 hostlist  ahosts = net-lsearch;DIR/aux-fixed/TESTNUM.data
14 hostlist  bhosts = net-lsearch;DIR/aux-fixed/TESTNUM.data2
15
16 acl_smtp_helo = acl_check_helo
17 acl_smtp_mail = acl_check_mail
18 acl_smtp_rcpt = acl_check_rcpt
19 trusted_users = CALLER
20
21
22 # ----- ACLs -----
23
24 begin acl
25
26 acl_check_helo:
27   warn   hosts    = +ahosts
28          logwrite = at HELO: >$host_data<
29   accept
30
31 acl_check_mail:
32   warn   logwrite = at MAIL: >$host_data<
33   warn   senders  = third@non-null
34          logwrite = other lookup at MAIL: ${lookup{xyz}lsearch{DIR/aux-fixed/TESTNUM.data3}}
35   warn  !senders  = :
36          hosts    = +bhosts
37          logwrite = at MAIL (non-null): >$host_data<
38   accept
39
40 acl_check_rcpt:
41   warn   logwrite = at RCPT: >$host_data<
42   warn   logwrite = Expansions: $qualify_domain, $local_part@$domain
43   accept
44
45
46 # ----- Routers -----
47
48 begin routers
49
50 r1:
51   driver = accept
52   transport = t1
53
54
55 # ----- Transports -----
56
57 begin transports
58
59 t1:
60   driver = appendfile
61   file = DIR/test-mail/$local_part
62   user = CALLER
63
64 # End