procmail
[Top] [All Lists]

RE: misunderstood regexp

2005-07-13 11:43:16
I'm editing everithing with the java applet of webmin file manager.
Here, I've followed your advice, but it doesn't seams to work


With:

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



"Procmail: No match on "^Subject:.*[[]flashfr]
procmail: Assigning
"LASTFOLDER=/home/vincent/.maildir/new/1121278403.5597_0.GentooBox"
procmail: Notified comsat:
"vincent(_at_)0:/home/vincent/.maildir/new/1121278403.5597_0.GentooBox"
From vincent(_at_)gar3nz(_dot_)net  Wed Jul 13 20:13:02 2005
 Subject: essai [flashfr]
  Folder: /home/vincent/.maildir/new/1121278403.5597_0.GentooBox
2830

And with:

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



"Procmail: No match on "^Subject:.*\[flashfr]
procmail: Assigning
"LASTFOLDER=/home/vincent/.maildir/new/1121278550.5655_0.GentooBox"
procmail: Notified comsat:
"vincent(_at_)0:/home/vincent/.maildir/new/1121278550.5655_0.GentooBox"
From vincent(_at_)gar3nz(_dot_)net  Wed Jul 13 20:15:15 2005
 Subject: RE: essai [flashfr]
  Folder: /home/vincent/.maildir/new/1121278550.5655_0.GentooBox        






-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE] On Behalf Of 
Ruud H.G. van
Tol
Sent: mercredi 13 juillet 2005 18:23
To: [procmail]
Subject: Re: misunderstood regexp

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



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