1 # Exim test configuration 0026
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 domainlist local_domains = test.ex
15 acl_smtp_rcpt = accept
16 acl_smtp_data = acl_data
18 trusted_users = CALLER
25 deny log_message = body contains trigger
26 condition = ${if match{$message_body}{trigger}{yes}{no}}
27 warn logwrite = \$h_from: '$h_from:'
28 require verify = header_syntax
29 warn message = X-warning: this is a test warning
31 accept verify = header_sender
34 # ------ Routers ------
40 domains = ! +local_domains
46 local_parts = userx : postmaster
47 transport = local_delivery
50 # ------ Transports ------
61 file = DIR/test-mail/$local_part