summaryrefslogtreecommitdiff
path: root/test/confs/4600
blob: 2934bf160386330c703974e87842ca9f961a785e (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
# Exim test configuration 4600

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

acl_smtp_rcpt = check_rcpt

begin acl

check_rcpt:
  accept	hosts = 	HOSTIPV4
		spf_guess =	pass
		logwrite =	spf_result         $spf_result
		logwrite =	spf_header_comment $spf_header_comment
		logwrite =	spf_smtp_comment   $spf_smtp_comment
		logwrite =	spf_received       $spf_received
		logwrite =	${authresults {$primary_hostname}}

  accept	hosts =		127.0.0.1
		spf =		pass : softfail : neutral
		logwrite =	spf_result         $spf_result
		logwrite =	spf_header_comment $spf_header_comment
		logwrite =	spf_smtp_comment   $spf_smtp_comment
		logwrite =	spf_received       $spf_received
		logwrite =	${authresults {$primary_hostname}}

  deny
		logwrite =	spf_result         $spf_result
		logwrite =	spf_header_comment $spf_header_comment
		logwrite =	spf_smtp_comment   $spf_smtp_comment
		logwrite =	spf_received       $spf_received
		logwrite =	${authresults {$primary_hostname}}

# End