[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Perl regex patch for badmailfrom envelope -- Re: Poordocumentation of anti-spam options?checks
- To: qmail@xxxxxxxxxxxxx
- Subject: Re: Perl regex patch for badmailfrom envelope -- Re: Poordocumentation of anti-spam options?checks
- From: Will Harris <harris@xxxxxxxxxxxx>
- Date: Tue, 04 Apr 2000 10:47:38 +0100
- Delivered-to: mailing list qmail@list.cr.yp.to
- Mailing-List: contact qmail-help@list.cr.yp.to; run by ezmlm
On 20:38 3.04.2000, Barbara Koch-Hoffmann could be heard musing
>Hi,
>
>it seems that we continously revent the wheel......
>
>1. This patch does already exist (see below).
>2. All the SPAM discussion is a ricochet of the old stuff - why doesn't
>qmail have a good documentation.....
>
>Pls. have a look at my WEB page:
>
>http://ourworld.compuserve.com/homepages/Erwin_Hoffmann/spam.htm.
>
>It give some information about what has been talked around.
Well, it would be nice if your patch were listed on the qmail
homepage. Poor documentation as you say.
But your patch doesn't do what mine does - you use the INN wildmat pattern
matching system, which is not very powerful. I have embedded a Perl engine
into qmail-smtpd which allows you to use Perl's excellent pattern matching
system. If you can show me how to block the range of IP addresses
172.16.0.0 - 172.31.0.0 with one filter with your patch, I'll agree that I
have rather foolishly reinvented the wheel. Here's my regex to do the job:
/172.(?:1[6-9]|2[0-9]|31).[0-9]+.[0-9]+$/
One line, nice and simple.
regards,
Will
__________________________________________________________________________
"I was going to be a Neo-Deconstructivist, but Mom wouldn't let me..."
multimedia laboratorium harris@ifi.unizh.ch
institut fuer informatik (pgp id) F703D035
der universitaet zuerich (office) +41 1 635 4346
winterthurerstr. 190 (fax) +41 1 635 6809
ch-8057 zuerich (mobile) +41 76 372 0913
switzerland www.ifi.unizh.ch/~harris
__________________________________________________________________________