Permalink
Browse files

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]
  • Loading branch information...
1 parent 43de26e commit 2ef465e7aa4f5d83e1785c4b328730b04d1b6e3f Pim van den Berg committed with Feb 1, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 plugins/sender_permitted_from
@@ -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");

0 comments on commit 2ef465e

Please sign in to comment.