1 # Exim test configuration 0571
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
12 gecos_name = CALLER_NAME
15 # ----- Main settings -----
19 addresslist ok_senders = ok@ok.ok
21 domainlist local_domains = test.ex : *.test.ex
23 qualify_domain = test.ex
24 trusted_users = CALLER
26 # Use first three components of from_domain to select ACL
27 acl_not_smtp = ${if def:sender_address \
28 {acl_${sg{${tr{$sender_address_domain}{.}{_}}}{^(.*)_.*\$}{\$1}}} \
29 {accept control=queue_only}}
36 deny dnslists = test.ex/$sender_address_domain
40 deny dnslists = test.ex
43 # ----- Transports -----
49 file = DIR/test-mail/$local_part
54 file = DIR/test-mail/okbatch
70 local_parts = ^userx : ^cond-
77 data = :fail: here is a fail message