procmail
[Top] [All Lists]

Re: newbie

2004-07-15 20:17:50
Hi Paul.

Have you read the procmailrc man page?

Look for "TO_".  Look at how conditions are structured.  Remember that
multiple conditions are always ANDed.  If you want to OR them, either
build a regular expression for it, or use scoring.  (This is explained
in some detail in various procmail FAQs.)

Should be enough to get you started.

- Paul

On Thu, Jul 15, 2004 at 09:07:39PM -0400, Paul C. Easton wrote:

Hi, I'm a Procmail newbie.  I simply trying to set up a receipe that will
search for multiple address in multiple feilds and send them to an IMAP
folder.  Looking at various tutorials and samples, I thought that the
following would work:


:0:
* ^(From|Cc|To).*technolawyer|\
  ^(From|Cc|To).*abajournalereport|\
  ^(From|Cc|To).*foolcs|\
  ^(From|Cc|To).*foolsubs|\
  ^(From|Cc|To)(_dot_)*brsends(_at_)0cgi|\
  ^(From|Cc|To).*ABANET|\
  ^(From|Cc|To).*RWTH-Aachen|\
  ^(From|Cc|To).*eletters|\
  ^(From|Cc|To).*Equifax|\
  ^(From|Cc|To).*Mozdev|\
  ^(From|Cc|To).*lexisnexismail\
@Read


But it doesn't.  I would greatly appreciate it if someone could push me in
the right direction.

Thank you,

Paul C. Easton

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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