procmail
[Top] [All Lists]

Re: Redirect Based on any header

1997-05-01 09:48:00
Does anyone know how to redirect mail to a folder based on who the mail
was sent to? 

I realize I can split this out header by header as follows, but I'm not
sure how this would cover mail sent to listservs and bcc's.  I am just
looking for a recipe that says any use of user(_at_)virtual(_dot_)com in the 
header
(except From field) should execute the said action. 

------------------- Sample Recipe -------------------------
:0:
*  ^To(_dot_)*user(_at_)virtual(_dot_)com
! user(_at_)real(_dot_)com

:0:
*  ^cc(_dot_)*user(_at_)virtual(_dot_)com
! user(_at_)real(_dot_)com

-----------------------------------------------------------

Thank You,
Liston

============================================================================
- Liston Bias                        When one door closes, another opens,
  Alumni of Oklahoma State Univ      but we often look so long and
  Alumni of Florida State Univ       regretfully upon the closed door, we
                                     do not see the ones which open for us.
  bias(_at_)pobox(_dot_)com                                        -A.G. Bell
  http://www.pobox.com/~bias
============================================================================



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