Hi All,

I have to accept e-mail from users in blacklisted IPs, so attached are
the simple patches for qmail-smtpd and rblsmptd to delay RBL rejection
until smtp DATA command is issued.

    * rblsmtpd with option -e, if IP is blacklisted, sets environment
      variable BLACKLISTMSG to rejection code and message and, in all
      cases, starts qmail-smtpd.
    * qmail-smptpd checks for BLACKLISTMSG at DATA command stage, and,
      if set, and not authenticated, outputs the message, aborting DATA
      command.

Fairly trivial but I believe useful patch, I wonder if it could be
included into distribution.

I tested it on and still use it on my site, using rpmbuild against

    * ucspi-tcp-toaster-0.88-1.3.2.src.rpm
    * qmail-toaster-1.03-1.3.7.src.rpm

Thank you!

Best regards,
Sergey Menshikov

Attachment: qmail-smtpd-env-rbl.patch.bz2
Description: Binary data

Attachment: rblsmtpd-env.patch.bz2
Description: Binary data

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to