A mini patch to accept mails to postmaster even if they come from a
domain in a RHSBL. This is probably not a very good idea and should be
solved in a more general manner.

        hp

-- 
   _  | Peter J. Holzer    | We have failed our own creation and given
|_|_) | Sysadmin WSR       | birth something truly awful. We're just too
| |   | [EMAIL PROTECTED]         | busy cooing over the pram to notice.
__/   | http://www.hjp.at/ |       -- http://www.internetisshit.org
Index: plugins/rhsbl
===================================================================
--- plugins/rhsbl       (revision 22)
+++ plugins/rhsbl       (working copy)
@@ -27,6 +27,7 @@
 sub rcpt_handler {
   my ($self, $transaction, $rcpt) = @_;
   my $note = $transaction->notes('rhsbl');
+  return DECLINED if (lc($rcpt->user) eq 'postmaster');
   return (DENY, $note) if $note;
   return DECLINED;
 }

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to