1 # Exim test configuration 0021
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
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
29 qualify_domain = test.ex
30 trusted_users = CALLER
38 accept senders = : ok@test1
40 deny message = don't like sender $sender_address
43 accept hosts = 1.2.3.4
46 accept verify = reverse_host_lookup
49 accept verify = certificate
52 deny hosts = : 10.9.8.7
53 drop log_message = forcibly dropped
55 accept logwrite = $sender_host_address accepted by connect ACL
58 warn message = xxx: can't add this header
59 log_message = This warning is from a HELO ACL (command $smtp_command)
60 accept condition = ${if eq{$smtp_command_argument}{a.b.c}{yes}{no}}
63 warn message = added header line
65 accept senders = ok@test1 : ok@test3
67 logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
70 accept senders = +ok_senders
71 sender_domains = +ok_sender_domains
72 logwrite = :panic: rcpt accepted
81 transport = appendfile
83 # ----- Transports -----
89 file = DIR/test-mail/$local_part