Spfbehavior

From Ye Ole Stash
Jump to: navigation, search

It is configured using the /var/qmail/control/spfbehavior file, as well as a SPFBEHAVIOR environment variable. The environment variable, if present, will override the file. The value contained in the file or variable should be a number, as follows:

0: do not do any SPF checking
1: check and create Received-SPF headers, but never reject mail
2: use temporary errors in case of DNS lookup problems
3: Reject messages where the SPF check returns FAIL
4: Reject messages where the SPF check returns FAIL or SOFTFAIL
5: Reject messages where the SPF check returns FAIL, SOFTFAIL, or NEUTRAL
6: Reject messages where the SPF check returns anything other than PASS
Personal tools