1 # Exim test configuration 0416
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 primary_hostname = mail.test.ex
15 qualify_domain = test.ex
17 no_queue_only_override
21 acl_smtp_rcpt = ${if eq{$local_part}{nested_discard}{nested_rcpt}{rcpt}}
23 acl_not_smtp = notsmtp
25 log_selector = +received_recipients
36 discard senders = discard@x.y
37 log_message = discard message 2
41 discard local_parts = discard
42 log_message = discard message 1
49 discard condition = ${if match{$recipients}{data_message_discard}}
50 log_message = discard message 3
51 discard condition = $h_discard:
55 discard condition = ${if match{$recipients}{data_message_discard}}
56 log_message = discard message 4
57 discard condition = $h_discard: