procmail
[Top] [All Lists]

Re: Newbie From Question (Regex)

2003-02-28 12:46:25
On Fri, Feb 28, 2003 at 08:11:46AM -0600, David W. Tamkin wrote:

Thanks for all your replies.
In fact, procmail simply doesn't ignore the recipe.
The leading dot is for a Maildir delivery with courier-imap,
and the words network control are separated. so what I want is
a recipe that puts all mail from daemon(_at_)system to the imap directory
network control and subdirectory daemon.

Should I place the dot inside the quotation marks or outside? The
regex \s should be the place holder for the whitespace. Doesn't
procmail use regular expressions?

Thanks in advance Tom

 : Dallman asked Tom,
 : 
 : | What's with the "\s"?
 : 
 : I think it's some other program's regexp engine's way of matching a space, 
and
 : Tom expected it to carry over into procmail.  Other than perhaps the leading
 : period, which made no sense to me either, I think Tom wanted the action line
 : to read
 : 
 :  "network control/daemon/"
 : 
 : or
 : 
 :  network\ control/daemon
 : 
 : Jeff answered Tom,
 : 
 : > Put a second colon on the recipe flag line, ie :0: so that
 : > simultaneously arriving messages do not overwrite each
 : > other.
 : 
 : No, that's not necessary, because the delivery is to a maildir, not an mbox.
 : 
 : 
 : _______________________________________________
 : procmail mailing list
 : procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
 : http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
 : 

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail