procmail
[Top] [All Lists]

Re: force forward

1997-11-28 23:11:00
Hermann Wecke wrote:

How can I force the forward of mail-list messages if I'm using
a procmail recipe?

All messages sent to another user are not being forwarded as
they came from a list.

  Check that the match condition is being met; if not, set up a
separate recipie ahead of the usual recipie.  I use an aggressive
spam filter and I have to pass mailing list messages... to myself.
You have to find a line (or a part thereof) in the headers that's...
  1) unique to the mailing list, and...
  2) is always present in messages from that list
  It's going to be a different header for different mailing lists.
In the case of this list, the "Resent-Sender:" header meets those
conditions.  I would use something like...

:0
* ^Resent\-Sender: 
procmail\-request(_at_)Informatik\(_dot_)RWTH\-Aachen\(_dot_)DE
  ! somebody(_dot_)else(_at_)another(_dot_)account(_dot_)com

  Yes, I know hyphens aren't *ALWAYS* procmail-controls, but I
find it easier to escape them unless I know I want a range.

-- 
Walter Dnes
waltdnes(_at_)interlog(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>
  • force forward, Hermann Wecke
    • Re: force forward, Walter Dnes <=