1 # Exim test configuration 0571
5 .include DIR/aux-var/std_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
13 addresslist ok_senders = ok@ok.ok
15 domainlist local_domains = test.ex : *.test.ex
17 qualify_domain = test.ex
18 trusted_users = CALLER
20 # Use first three components of from_domain to select ACL
21 acl_not_smtp = ${if def:sender_address \
22 {acl_${sg{${tr{$sender_address_domain}{.}{_}}}{^(.*)_.*\$}{\$1}}} \
23 {accept control=queue_only}}
30 deny dnslists = test.ex/$sender_address_domain
31 accept logwrite = authresults: ${authresults {$primary_hostname}}
34 deny dnslists = test.ex
37 # ----- Transports -----
43 file = DIR/test-mail/$local_part
48 file = DIR/test-mail/okbatch
64 local_parts = ^userx : ^cond-
71 data = :fail: here is a fail message