1 # Exim test configuration 0021
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
13 gecos_name = CALLER_NAME
15 # ----- Main settings -----
17 addresslist ok_senders = ok@somewhere : ok@test1 : ok@test3
18 domainlist ok_sender_domains = somewhere : test1 : test3
20 acl_not_smtp = not_smtp_${if eq{$sender_address}{}\
21 {test1}{${domain:$sender_address}}}
23 acl_smtp_connect = connect
30 qualify_domain = test.ex
31 trusted_users = CALLER
39 accept senders = : ok@test1
41 deny message = don't like sender $sender_address
44 accept hosts = 1.2.3.4
47 accept verify = reverse_host_lookup
50 accept verify = certificate
53 deny hosts = : 10.9.8.7
54 drop log_message = forcibly dropped
56 accept logwrite = $sender_host_address accepted by connect ACL
59 warn message = xxx: can't add this header
60 log_message = This warning is from a HELO ACL (command $smtp_command)
61 accept condition = ${if eq{$smtp_command_argument}{a.b.c}{yes}{no}}
64 warn message = added header line
66 accept senders = ok@test1 : ok@test3
68 logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
71 accept senders = +ok_senders
72 sender_domains = +ok_sender_domains
73 logwrite = :panic: rcpt accepted
82 transport = appendfile
84 # ----- Transports -----
90 file = DIR/test-mail/$local_part