Nerijus Baliunas wrote:

> On Tue, 16 Sep 2003 13:39:12 -0700 Nick Twaddell
> <[EMAIL PROTECTED]> wrote:
> 
>> How do you block certain email addresses with qmail-scanner.
> 
> [please use question marks for questions in the future;-)]
> 
> You don't, but you can with just qmail:
> 
> # cat /var/qmail/control/badmailfrom
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]

I have written (and currently use in production) a python script
designed to block email addresses and/or domains using a flat file/auto
generated CDB file.

It differs from the badmailfrom file in that it:

1.) Uses a CDB database for bad from address lookups
2.) Checks the envelope sender address of the incoming email (like
    traditional badmailfrom), AND blocks based on the email header's
    from address.

The script is very efficient (for an interpretted script) and fast.
It's also well tested at this point, and relatively bug-free. It
runs under qmail-qfilter (a C wrapper for QMAILQUEUE scripts).

Let me know if you're interested.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to