1 # Exim test configuration 0416
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
8 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 primary_hostname = mail.test.ex
14 qualify_domain = test.ex
16 no_queue_only_override
20 acl_smtp_rcpt = ${if eq{$local_part}{nested_discard}{nested_rcpt}{rcpt}}
22 acl_not_smtp = notsmtp
24 log_selector = +received_recipients
35 discard senders = discard@x.y
36 log_message = discard message 2
40 discard local_parts = discard
41 log_message = discard message 1
48 discard condition = ${if match{$recipients}{data_message_discard}}
49 log_message = discard message 3
50 discard condition = $h_discard:
54 discard condition = ${if match{$recipients}{data_message_discard}}
55 log_message = discard message 4
56 discard condition = $h_discard: