procmail
[Top] [All Lists]

Re: misunderstood regexp

2005-07-13 09:25:53
LEYNE Vincent schreef:
I'm using this recipe to sort mails from yahoo groups.

 :0
 * ^Subject:.*\[flashfr\]
 .mlists/Flashfr/

procmail: No match on ""^Subject:.*\[flashfr\]""
procmail: Skipped ".mlists/Flashfr/ "

Your recipe doesn't match with the log. See the double-dquotes,
and the end-space after the delivery-line.

The end-] does not need to be escaped. The start-[ can also be written
as [[].

Maybe you edited it on a Windows-box? Use textmode-ftp to let ftp
convert the CRLFs into LFs.

-- 
Grtz, Ruud


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