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:
parent
43de26e9c0
commit
2ef465e7aa
@ -121,7 +121,6 @@ sub hook_rcpt {
|
|||||||
|
|
||||||
if ($code eq "softfail") {
|
if ($code eq "softfail") {
|
||||||
return (DENY, "SPF probable forgery: $why") if $deny > 1;
|
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");
|
$self->log(LOGDEBUG, "result for $rcpt->address was $code: $why");
|
||||||
|
Loading…
Reference in New Issue
Block a user