procmail
[Top] [All Lists]

Newbie From Question (Regex)

2003-02-28 05:42:44
Tom Beer <mailings(_at_)analogon(_dot_)com> writes:

Ok, that's for now. I want to sort
all mails coming From daemon(_at_)system into
the folder network control/daemon
My (not) matching expression is

:0
* ^(From)(_dot_)*daemon(_at_)system
.network\scontrol/daemon/

Put a second colon on the recipe flag line, ie :0: so that simultaneously 
arriving messages do not overwrite each other.
The parens on the condition line are unnecessary.
What is the leading period on the action line for?  Perhaps try quoting the 
folder, ie 'network control/daemon/' which assumes you have already created a 
directory of that name under your mail directory.  If you want it somewhere 
else, then you should specify a full path eg $HOME/networkControlDaemon/

Qapla

Jeff

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

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