1 # Exim test configuration 0571
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
11 gecos_name = CALLER_NAME
14 # ----- Main settings -----
18 addresslist ok_senders = ok@ok.ok
20 domainlist local_domains = test.ex : *.test.ex
22 qualify_domain = test.ex
23 trusted_users = CALLER
25 # Use first three components of from_domain to select ACL
26 acl_not_smtp = ${if def:sender_address \
27 {acl_${sg{${tr{$sender_address_domain}{.}{_}}}{^(.*)_.*\$}{\$1}}} \
28 {accept control=queue_only}}
35 deny dnslists = test.ex/$sender_address_domain
39 deny dnslists = test.ex
42 # ----- Transports -----
48 file = DIR/test-mail/$local_part
53 file = DIR/test-mail/okbatch
69 local_parts = ^userx : ^cond-
76 data = :fail: here is a fail message