procmail
[Top] [All Lists]

Re: Skipped :0 ?

2007-09-27 09:32:35
* Frank Bonnet <f(_dot_)bonnet(_at_)esiee(_dot_)fr> [09-27-07 12:21]:
hello

I have a simple .procmailrc that contains the following

VERBOSE=on
LOGFILE=/tmp/procmail.log
MAILDIR=$HOME
0:
* ^Subject.*PRIVE
PRIVE



It is supposed to redirect any email containing the PRIVE string
in the PRIVE folder right ? but is doesn't ...

what did I do wrong ?

You do not have a recipe in your rc-file.

<quote from man procmailrc>

   Recipes
          A line starting with ':' marks the beginning of a recipe.
          It has the following format:
          
                :0 [flags] [ : [locallockfile] ]
                <zero or more conditions (one per line)>
                <exactly one action line>

</quote>

You have "0:"

-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org
____________________________________________________________
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>