1 # Exim test configuration 0532
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
12 gecos_name = CALLER_NAME
15 # ----- Main settings -----
17 acl_smtp_connect = connect
20 acl_smtp_predata = predata
22 acl_not_smtp = notsmtp
24 qualify_domain = test.ex
25 trusted_users = CALLER
36 accept add_header = MAIL: one
37 senders = mailok@test.ex
38 add_header = MAIL: two\nMAIL: three
42 accept add_header = RCPT: one
43 add_header = DUP: duplicate
45 add_header = RCPT: two\n continued\n
46 deny add_header = RCPT: denied $local_part
50 warn add_header = PREDATA-WARN: added with add_header
51 message = PREDATA-WARN: added with message
52 accept add_header = PREDATA: recipients are $recipients
55 accept add_header = DATA: one
56 add_header = DUP: duplicate
57 condition = ${if eq{$h_cond:}{accept}}
60 accept add_header = NOTSMTP: $recipients
72 # ----- Transports -----
78 file = DIR/test-mail/$local_part