1 # Exim test configuration 0021
6 .include DIR/aux-var/std_conf_prefix
8 primary_hostname = myhost.test.ex
10 # ----- Main settings -----
12 addresslist ok_senders = ok@somewhere : ok@test1 : ok@test3
13 domainlist ok_sender_domains = somewhere : test1 : test3
15 acl_not_smtp = not_smtp_${if eq{$sender_address}{}\
16 {test1}{${domain:$sender_address}}}
18 acl_smtp_connect = connect
25 qualify_domain = test.ex
26 trusted_users = CALLER
34 accept senders = : ok@test1
36 deny message = don't like sender $sender_address
39 accept hosts = 1.2.3.4
42 accept verify = reverse_host_lookup
45 accept verify = certificate
48 deny hosts = : 10.9.8.7
49 drop log_message = forcibly dropped
51 accept logwrite = $sender_host_address accepted by connect ACL
54 warn message = xxx: can't add this header
55 log_message = This warning is from a HELO ACL (command $smtp_command)
56 accept condition = ${if eq{$smtp_command_argument}{a.b.c}{yes}{no}}
59 warn message = added header line
61 accept senders = ok@test1 : ok@test3
63 logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
66 accept senders = +ok_senders
67 sender_domains = +ok_sender_domains
68 logwrite = :panic: rcpt accepted
77 transport = appendfile
79 # ----- Transports -----
85 file = DIR/test-mail/$local_part