Additional tests - didn't show any problems.
[exim.git] / test / confs / 0532
CommitLineData
71fafd95
PH
1# Exim test configuration 0532
2
3CONNECTCOND=
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
8rfc1413_query_timeout = 0s
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14# ----- Main settings -----
15
16acl_smtp_connect = connect
17acl_smtp_mail = mail
18acl_smtp_rcpt = rcpt
19acl_smtp_predata = predata
20acl_smtp_data = data
21acl_not_smtp = notsmtp
22
23qualify_domain = test.ex
24trusted_users = CALLER
25
26
27# ----- ACL -----
28
29begin acl
30
31connect:
32 accept CONNECTCOND
33
34mail:
35 accept add_header = MAIL: one
36 senders = mailok@test.ex
37 add_header = MAIL: two\nMAIL: three
38 accept
39
40rcpt:
41 accept add_header = RCPT: one
42 add_header = DUP: duplicate
43 local_parts = rcptok
44 add_header = RCPT: two\n continued\n
45 deny add_header = RCPT: denied $local_part
46
47
48predata:
49 warn add_header = PREDATA-WARN: added with add_header
50 message = PREDATA-WARN: added with message
51 accept add_header = PREDATA: recipients are $recipients
52
53data:
54 accept add_header = DATA: one
55 add_header = DUP: duplicate
56 condition = ${if eq{$h_cond:}{accept}}
57
58notsmtp:
59 accept add_header = NOTSMTP: $recipients
60
61
62# ----- Routers -----
63
64begin routers
65
66r1:
67 driver = accept
68 transport = t1
69
70
71# ----- Transports -----
72
73begin transports
74
75t1:
76 driver = appendfile
77 file = DIR/test-mail/$local_part
78 user = CALLER
79
80# End