On 16.08.11 18:29, Geert Haustraete wrote:
I'm running 2 mail servers where one is a backup server in case the primary is unreachable. Both are set to include the SPF result in the mail header. I have put these rules into my local.cf file.

#Check for SPF headers
header LOCAL_SPF_PASS Received-SPF =~ /^pass/
header LOCAL_SPF_NEUTRAL Received-SPF =~ /^neutral/
header LOCAL_SPF_SOFTFAIL Received-SPF =~ /^softfail/
header LOCAL_SPF_FAIL Received-SPF =~ /^fail/

score LOCAL_SPF_PASS     -0.001
score LOCAL_SPF_NEUTRAL  2.500
score LOCAL_SPF_SOFTFAIL 5.000
score LOCAL_SPF_FAIL     8.000

I wonder why do you want to use it this way. I think that proper setting of internal_network should just make spamassassion do the SPF checks properly.

If not, maybe the SA is confused by Received-SPF: headers provided by those servers, which should be easily fixed by setting ignore_received_spf_header to 1.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I just got lost in thought. It was unfamiliar territory.

Reply via email to