1 # Exim test configuration 0021
8 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
13 gecos_name = CALLER_NAME
16 # ----- Main settings -----
18 addresslist ok_senders = ok@somewhere : ok@test1 : ok@test3
19 domainlist ok_sender_domains = somewhere : test1 : test3
21 acl_not_smtp = not_smtp_${if eq{$sender_address}{}\
22 {test1}{${domain:$sender_address}}}
24 acl_smtp_connect = connect
31 qualify_domain = test.ex
32 trusted_users = CALLER
40 accept senders = : ok@test1
42 deny message = don't like sender $sender_address
45 accept hosts = 1.2.3.4
48 accept verify = reverse_host_lookup
51 accept verify = certificate
54 deny hosts = : 10.9.8.7
55 drop log_message = forcibly dropped
57 accept logwrite = $sender_host_address accepted by connect ACL
60 warn message = xxx: can't add this header
61 log_message = This warning is from a HELO ACL (command $smtp_command)
62 accept condition = ${if eq{$smtp_command_argument}{a.b.c}{yes}{no}}
65 warn message = added header line
67 accept senders = ok@test1 : ok@test3
69 logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
72 accept senders = +ok_senders
73 sender_domains = +ok_sender_domains
74 logwrite = :panic: rcpt accepted
83 transport = appendfile
85 # ----- Transports -----
91 file = DIR/test-mail/$local_part