procmail
[Top] [All Lists]

Re: recipe

2009-08-13 16:02:38
Nick:

The second colon is to lock the messge while it's being parsed, the problem was that it should have been ":OB:" instead of ":O:B"

Regards,
Alex Rodriguez

--------------------------------------------
Spectrecom Corporation

10773 Sherman Way
Sun Valley, CA 91352 U.S.A.

Tel: (818) 764-9500
Cel: (818) 679-5937
Fax: (818) 764-9501
Email: alex(_at_)spectrecom(_dot_)com

www.spectrecom.com
--------------------------------------------
1a2b3c4d5e

On Aug 13, 2009, at 12:57 PM, "N.J. Mann" <njm(_at_)njm(_dot_)me(_dot_)uk> 
wrote:

In message <000b01ca1c57$cc490370$8202a8c0(_at_)alexnew>,
   Alex Rodriguez (alex(_at_)spectrecom(_dot_)com) wrote:
Hello:

Yes! I forgot to add the "B" flag to parse the Body of the message, but I am still having problems. The purpose of the rule is to deliver the message to
the user right away if the string of characters "1a2b3c4d5e" is found
anywhere in the body of the message. But I'm still having problems with it,
procmail won't catch it, please help.

# Messages sent from my iPhone
:0:B
* ^.*1a2b3c4d5e
User_mail_file

From man procmailrc(5):

[begin-quote]

A line starting with ':' marks the beginning of a recipe.  It has the
      following format:

             :0 [flags] [ : [locallockfile] ]

[end-quote]

So, why have you got the second colon?


Cheers,
      Nick.
--

____________________________________________________________
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>