Hmmm... This is close, but it appears that qmail-smtpd controls how much of
the message is sent to this routing.... IE... qmail-smtpd only sends the
envelope and this patch cannot do anything else.
I am not sure if modifying the qmail-smptd to send the entire message will
help as this may break something else. I would not even know where to look
in order to modify this behavior.
Duane.
-----Original Message-----
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 4:58 PM
To: Duane Schaub
Cc: Qmail Discussion List
Subject: Re: Anti-Spam Filter
Duane Schaub <[EMAIL PROTECTED]> wrote:
>
> Unfortunately, grepping won't work as the words are actually multi-word
> phrases each and there must be a copy in EVERY users directory....
[...]
> Any patching suggestions would be helpful as I am not comfortable coding
> this myself.
You might look at
ftp://ftp.mira.net/unix/mail/qmail/wildmat-0.2.patch
as a start -- it allows you to reject mail at the time of SMTP injection
by matching the envelope sender against patterns. Of course, you'd have
to change it to scan the body, issue the reject after the <CR><LF>.<CR><LF>
instead of after the RCPT TO:, etc.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------