spf: remove DENYSOFT on SPF softfail

With a DENYSOFT (450) the sender will keep trying to deliver the e-mail.
It makes no sense.

This commit also makes it compatible again with the plugin from before commit:
02912 [rewrote sender_permitted_from]
This commit is contained in:
Pim van den Berg 2011-02-01 16:58:08 +01:00 committed by Robert
parent 43de26e9c0
commit 2ef465e7aa

View File

@ -121,7 +121,6 @@ sub hook_rcpt {
if ($code eq "softfail") {
return (DENY, "SPF probable forgery: $why") if $deny > 1;
return (DENYSOFT, "SPF probable forgery: $why");
}
$self->log(LOGDEBUG, "result for $rcpt->address was $code: $why");