On Tue, Jan 09, 2001 at 01:44:51PM -0600, root wrote:
> control/badmailpatterns (note spelling), is not part of the stock qmail build.
> This patch can be found ftp://ftp.mira.net/unix/mail/qmail/wildmat-0.2.patch
This patch is only for qmail-1.02. Numerous people have asked whether
there is a 1.03 version. Nope. Anyone is of course welcome to take
this code and make it work for 1.03. I don't plan to.
> I use it... works great! But please use w/ care (extra CPU load w/ pattern
> matching)
The extra CPU probably comes from reading the control file, not the
pattern matching. By default the control file is read in blocks of 64
bytes which can mean a lot of reads on a large badmailpatterns
file. Just change the 64 in control.c to something like 2048 redo the
installation and you'll most likely see a significant drop in CPU.
Final note. I have no access to that server anymore so I have no idea
how long that patch will remain there.
Regards.
>
> --Larry M. Smith
> mailto:[EMAIL PROTECTED]
> cat BOFH | sed s/Operator/Postmaster/g > BPFH
>
>
> Marc-Adrian Napoli wrote:
>
> > no,
> >
> > i dont mean the badmailfrom file, i use that successfully already.
> >
> > i want to block all mails with a particular pattern inside them. i see there
> > is a "badmailpattern" control file on the qmail webpage but no one can
> > verify if it works or not. (it doesnt work for me, ive already tried. i was
> > wondering if it worked for anyone else).
> >
> > Regards,
> >
> > Marc-Adrian Napoli
> > Network Admin
> > Connect Infobahn Australia
> > +61 2 9212 0387
> >
> > > On Mon, 8 Jan 2001, [EMAIL PROTECTED] wrote:
> > >
> > > > has anyone used this file with success?
> > > >
> > > > and if not why is it still in the docs?
> > >
> > > Do you mean badmailfrom? Yes I have used it with success, very easy to
> > use.
> > > --
> > > B r e t t R a n d a l l
> > > http://xbox.ipsware.com/
> > > brett _ @ _ ipsware.com
> > >
>