1 # Exim test configuration 0026
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 domainlist local_domains = test.ex
16 acl_smtp_rcpt = accept
17 acl_smtp_data = acl_data
19 trusted_users = CALLER
26 deny log_message = body contains trigger
27 condition = ${if match{$message_body}{trigger}{yes}{no}}
28 warn logwrite = \$h_from: '$h_from:'
29 require verify = header_syntax
30 warn message = X-warning: this is a test warning
32 accept verify = header_sender
35 # ------ Routers ------
41 domains = ! +local_domains
47 local_parts = userx : postmaster
48 transport = local_delivery
51 # ------ Transports ------
62 file = DIR/test-mail/$local_part