* Skip SPF checks for local (127.) connections

* TODO skip localhost for IPv6.
This commit is contained in:
Scott Kitterman 2007-02-07 12:59:17 +00:00
commit 0d8075552e
4 changed files with 30 additions and 16 deletions

5
README
View file

@ -24,7 +24,10 @@ If the message is not rejected or deferred, the policy server will PREPEND the
appropriate SPF Received header. In the case of multi-recipient mail, multiple
headers will get appended. If Mail From is anything other than completely empty
(i.e. <>) then the Mail From result will be used for SPF Received (e.g. Mail
From None even if HELO is Pass).
From None even if HELO is Pass).
The policy server skips SPF checks for connections from the localhost (127.) and
instead prepends and logs 'SPF skipped - localhost is always allowed.'
Error conditions within the policy server (that don't result in a crash) or from
Mail::SPF will return DUNNO.