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
10 # ----- Main settings -----
12 primary_hostname = mail.test.ex
13 qualify_domain = test.ex
15 no_queue_only_override
19 acl_smtp_rcpt = ${if eq{$local_part}{nested_discard}{nested_rcpt}{rcpt}}
21 acl_not_smtp = notsmtp
23 log_selector = +received_recipients
34 discard senders = discard@x.y
35 log_message = discard message 2
39 discard local_parts = discard
40 log_message = discard message 1
47 discard condition = ${if match{$recipients}{data_message_discard}}
48 log_message = discard message 3
49 discard condition = $h_discard:
53 discard condition = ${if match{$recipients}{data_message_discard}}
54 log_message = discard message 4
55 discard condition = $h_discard: