summaryrefslogtreecommitdiff
path: root/test/confs/0546
blob: 736c126a8d40ff3a56b6776435daa419e1edba80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Exim test configuration 0546

HELO_MSG=One line
RCPT_MSG=RCPT is OK

exim_path = EXIM_PATH
host_lookup_order = bydns
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME

# ----- Main settings -----

acl_smtp_helo = check_helo
acl_smtp_mail = check_mail
acl_smtp_rcpt = check_rcpt
acl_smtp_data = check_data
acl_smtp_predata = check_predata

qualify_domain = test.ex
queue_only


# ----- ACLs -----

begin acl

check_helo:
  accept     message = HELO_MSG

check_mail:
  accept     message = 299 MAIL is\nOK

check_rcpt:
  accept     message = RCPT_MSG

check_data:
  accept     message = 288 I like the data

check_predata:
  accept     message = 300 Funny, but OK code


# End