procmail
[Top] [All Lists]

Re: What's wrong with this multipart recipie?

1998-03-25 12:31:00
Telephone Game! _Clint_ said (on 01:24 PM 3/25/98 -0500):
->Greetings,
->
->Why wont this:

[snip]

->              :0:
->              ! my_pop_account(_at_)my_pop_account(_dot_)provider(_dot_)com
->      
->              :0:
->              $HOME/incoming/folder_i_want_this_filed_to

->forward the mail to my pop account AND file it in the folder i want it
->filed to?  
->
->Am I messing up with the two occurrences of
->":0:"?  Is there a manual/doc file on the options for :0, because I have
->yet to see these explained well.

It's because they are both DELIVERing rules.  Once a message is
DELIVERed, that's it.  To make the first :0: be non-DELIVERing, use the
the "c" flag, example:

:0: c
first delivery command

:0:
Last delivery command

An excellent FAQ for any problems with PROCMAIL (after reading the man
pages, natch) is:
ftp://cs.uta.fi/pub/ssjaaa/pm-tips.html

The section that specifically describes your problem is at (the
following URL should be one line with no spaces):
ftp://cs.uta.fi/pub/ssjaaa/pm-tips.html#remember_what_term_quotdelivered
quot_means

Hope this helps!
            -=Doc
--
"Clothes make the man.  Naked people have little or no influence on
society."
                -- Mark Twain
The Doctor What: A Holtje Production        http://www.gerf.org/~docwhat/
docwhat(_at_)gerf(_dot_)org                    (finger 
docwhat(_at_)gerf(_dot_)org for PGP key)
PGP-RSA Fingerprint: EA 4C 8C FC 5C F0 14 78  9C 02 B9 A1 83 54 7C 8D
PGP-DSS Fingerprint: 6269 E1BE 95BC F503 B2E6  B87D B9E5 6E8F E2FB 9CBB

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