[oclug] Mail filtering with Procmail
Dan Cardamore
wombat at hld.ca
Thu Jan 4 00:01:48 EST 2001
I liked the idea of being able to forward your mail based on a subject
regex so I updated my mail filter to include that feature. If you're
interested, go to http://www.hld.ca/opensource/hldfilter
It also has webpage statistics with graphs, and several advanced
anti-spam features. My favorite one is that it emails the spammers ISP
(abuse at isp.com) to report the spam incident.
If you try it I hope you like it,
Dan
On Wed, Jan 03, 2001 at 12:37:55PM -0500, Dean Staff wrote:
> Hi All,
>
> I was hoping someone on the list would have a quick answer to this
> problem.
>
> Is there a easy way to have qmail (sendmail ...whatever) filter mail
> as it is received based on a key word in the subject line?
>
> I need to take mail for one user, look for a keyword in the subject
> line, and if found redirect it to another user instead of the
> original recipient, all other mail then goes to the original
> recipient.
>
> I'm pouring through the procmail FAQ's but getting very lost in the
> syntax. I'm not a programmer, and know nothing about regular
> expressions.
>
> I am infact using qmail not sendmail, but that just means I make the
> call to procmail from the .qmail file not the .forward file. It's the
> procmail recipe I'm having trouble with.
>
> Can anyone help?
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dean Staff
> Protus IP Solutions
> 210 - 2435 Holly Lane
> Ottawa, ON K1V 7P2 Canada
> 613-733-0000 ex 546 Fax 613-248-4553
> e-mail: dean at protus.com Web: http://www.protus.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
________________________________________________________________
Dan Cardamore wombat at hld.ca http://www.hld.ca
GnuPGP Key: mailto:wombat at hld.ca?subject=sendpgpkey
Email Stats: http://www.hld.ca/~wombat/emailStats
Opensource projects: http://opensource.hld.ca
My Groupware project: http://www.collaboffice.com
________________________________________________________________
More information about the OCLUG
mailing list