Re: [SLUG] Mail filtering with .forward, procmail and perl.

2005-09-22 Thread l cheung
> Use formail as a filter. Akarumba! What do you know? procmail and formail is all I need. I ended up having something like this: # .procmailrc :0 h REPLYTO=|formail -x"Reply-To" :0 fw * ^From.*that_address | formail -i"From:$REPLYTO" -IReply-To. Thanks John. -- SLUG - Sydney Linux User's Gro

Re: [SLUG] Mail filtering with .forward, procmail and perl.

2005-09-22 Thread John Clarke
On Fri, Sep 23, 2005 at 11:23:32 +1000, l cheung wrote: > Is there a way to pipe my mail through a filter before/after procmail There's no need to do it before or after procmail, you can pipe a message through and filter at any point in your .procmailrc, like this: :0 fW | filter_program

[SLUG] Mail filtering with .forward, procmail and perl.

2005-09-22 Thread l cheung
Dear list, I've been using procmail to filter my mail. However I'm getting more and more emails with a "Reply-To" header (a web-based support program that I have no control on). It's pointless to reply to a program and I can't sort my mail by Sender. So my question is: Is there a way to pipe my