Commit | Line | Data |
---|---|---|
4e88a19f PH |
1 | # Exim test configuration 0546 |
2 | ||
3 | HELO_MSG=One line | |
4 | RCPT_MSG=RCPT is OK | |
5 | ||
6 | exim_path = EXIM_PATH | |
7 | host_lookup_order = bydns | |
4e88a19f PH |
8 | spool_directory = DIR/spool |
9 | log_file_path = DIR/spool/log/%slog | |
10 | gecos_pattern = "" | |
11 | gecos_name = CALLER_NAME | |
12 | ||
13 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_helo = check_helo | |
16 | acl_smtp_mail = check_mail | |
17 | acl_smtp_rcpt = check_rcpt | |
18 | acl_smtp_data = check_data | |
19 | acl_smtp_predata = check_predata | |
20 | ||
21 | qualify_domain = test.ex | |
22 | queue_only | |
23 | ||
24 | ||
25 | # ----- ACLs ----- | |
26 | ||
27 | begin acl | |
28 | ||
29 | check_helo: | |
30 | accept message = HELO_MSG | |
31 | ||
32 | check_mail: | |
33 | accept message = 299 MAIL is\nOK | |
34 | ||
35 | check_rcpt: | |
36 | accept message = RCPT_MSG | |
37 | ||
38 | check_data: | |
39 | accept message = 288 I like the data | |
40 | ||
41 | check_predata: | |
42 | accept message = 300 Funny, but OK code | |
43 | ||
44 | ||
45 | # End |