procmail
[Top] [All Lists]

Re: set a different exitcode for each mailbox

2007-09-23 11:08:13
On Fri, Sep 21, 2007 16:50:14 PM +0200, Michelle Konzack
(linux4michelle(_at_)freenet(_dot_)de) wrote:

Am 2007-09-20 01:07:46, schrieb M. Fioretti:
:0A:

    {
    EXITCODE=N
    folder_n
    }

    :0A
    * (condition)
    {
      EXITCODE=N
      
      :0:
      folder_n
    }

Thanks, but, if I actually don't need _this_ procmail invocation to
actually _put_ messages in folders, just return a different return
code according to which recipe matched as I mentioned in the other
message, I need to just replace these two lines:

-----------------------------------------------
:0:
folder_n
-----------------------------------------------

with an HOST statement, right? so procmail exits without generating
extra copies of the message which I wouldn't need.

Ciao,
        Marco

-- 
Help *everybody* love Free Standards and Free Software
http://digifreedom.net/
____________________________________________________________
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