procmail
[Top] [All Lists]

Add a header, then forward?

1999-11-17 17:47:03


Here's what I'm using, but perhaps it's not optimal. 


:0 fwh
* ^TO_procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
| formail -I "X-From-Procmail-list: yes"

:0 c
* ^TO_procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
! some-other-address



The "some-other-address" filters it based on the addition of the X-From...
header which it can find.

It doesn't have the sexy TO_ macro, nor a powerful regex language, hence
the desire to use procmail first.


Should I nest these rules?

Or is this OK.

<Prev in Thread] Current Thread [Next in Thread>