1 # Exim test configuration 0021
7 .include DIR/aux-var/std_conf_prefix
9 primary_hostname = myhost.test.ex
11 # ----- Main settings -----
13 addresslist ok_senders = ok@somewhere : ok@test1 : ok@test3
14 domainlist ok_sender_domains = somewhere : test1 : test3
16 acl_not_smtp = not_smtp_${if eq{$sender_address}{}\
17 {test1}{${domain:$sender_address}}}
19 acl_smtp_connect = connect
25 log_selector = LOG_SELECTOR
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 "$smtp_command" "$smtp_command_argument"
68 accept senders = +ok_senders
69 sender_domains = +ok_sender_domains
70 logwrite = :panic: rcpt accepted C=$smtp_command_history
79 transport = appendfile
81 # ----- Transports -----
87 file = DIR/test-mail/$local_part