more pdkim wip
[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 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 hostlist  ahosts = net-lsearch;DIR/aux-fixed/TESTNUM.data
15 hostlist  bhosts = net-lsearch;DIR/aux-fixed/TESTNUM.data2
16
17 acl_smtp_helo = acl_check_helo
18 acl_smtp_mail = acl_check_mail
19 acl_smtp_rcpt = acl_check_rcpt
20 trusted_users = CALLER
21
22
23 # ----- ACLs -----
24
25 begin acl
26
27 acl_check_helo:
28   warn   hosts    = +ahosts
29          logwrite = at HELO: >$host_data<
30   accept
31
32 acl_check_mail:
33   warn   logwrite = at MAIL: >$host_data<
34   warn   senders  = third@non-null
35          logwrite = other lookup at MAIL: ${lookup{xyz}lsearch{DIR/aux-fixed/TESTNUM.data3}}
36   warn  !senders  = :
37          hosts    = +bhosts
38          logwrite = at MAIL (non-null): >$host_data<
39   accept
40
41 acl_check_rcpt:
42   warn   logwrite = at RCPT: >$host_data<
43   warn   logwrite = Expansions: $qualify_domain, $local_part@$domain
44   accept
45
46
47 # ----- Routers -----
48
49 begin routers
50
51 r1:
52   driver = accept
53   transport = t1
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 t1:
61   driver = appendfile
62   file = DIR/test-mail/$local_part
63   user = CALLER
64
65 # End