make SPF level 2 a little more lenient

This commit is contained in:
Matt Simerson 2012-05-20 21:46:47 -04:00
parent 2910702a4d
commit 5a8a9be26c

View File

@ -167,7 +167,7 @@ sub hook_rcpt {
} }
elsif ( $code eq 'permerror' ) { elsif ( $code eq 'permerror' ) {
return (DENY, "SPF - $code: $why") if $reject >= 6; return (DENY, "SPF - $code: $why") if $reject >= 6;
return (DENYSOFT, "SPF - $code: $why") if $reject >= 2; return (DENYSOFT, "SPF - $code: $why") if $reject >= 3;
} }
elsif ( $code eq 'temperror' ) { elsif ( $code eq 'temperror' ) {
return (DENYSOFT, "SPF - $code: $why") if $reject >= 2; return (DENYSOFT, "SPF - $code: $why") if $reject >= 2;