1 # Exim test configuration 0021
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_name = CALLER_NAME
14 # ----- Main settings -----
16 addresslist ok_senders = ok@somewhere : ok@test1 : ok@test3
17 domainlist ok_sender_domains = somewhere : test1 : test3
19 acl_not_smtp = not_smtp_${if eq{$sender_address}{}\
20 {test1}{${domain:$sender_address}}}
22 acl_smtp_connect = connect
27 qualify_domain = test.ex
28 trusted_users = CALLER
36 accept senders = : ok@test1
38 deny message = don't like sender $sender_address
41 accept hosts = 1.2.3.4
44 accept verify = reverse_host_lookup
47 accept verify = certificate
50 deny hosts = : 10.9.8.7
51 drop log_message = forcibly dropped
53 accept logwrite = $sender_host_address accepted by connect ACL
56 warn message = xxx: can't add this header
57 log_message = This warning is from a HELO ACL (command $smtp_command)
58 accept condition = ${if eq{$smtp_command_argument}{a.b.c}{yes}{no}}
61 warn message = added header line
63 accept senders = ok@test1 : ok@test3
65 logwrite = :main,reject: mail accepted
68 accept senders = +ok_senders
69 sender_domains = +ok_sender_domains
70 logwrite = :panic: rcpt accepted
79 transport = appendfile
81 # ----- Transports -----
87 file = DIR/test-mail/$local_part