procmail
[Top] [All Lists]

Re: Again on setting a different exitcode for each mailbox

2007-11-19 07:25:31
Am 2007-11-10 18:03:41, schrieb M. Fioretti:
example of recipe in special.rc

SHELL=/bin/sh
PATH=/bin:/usr/bin:/usr/bin
MAILDIR=/var/mail/archives/base
LOGFILE=/var/log/procmail_logs/PROCMAIL.`/bin/date +%Y.%m`.log
LOGABSTRACT = "all"
VERBOSE     = "on"
DEFAULT     = "/dev/null"

:0hc:relevant.cache$LOCKEXT
* ^CC:.(mfioretti(_at_)nexaima(_dot_)net|marco(_at_)rule-project(_dot_)org)
| formail -D 32768 relevant.cache

:0A:
{
EXITCODE=52

Replace it with:

  EXITCODE=$?

HOST
}
------------------------- END OF REPLIED MESSAGE -------------------------


Thanks, Greetings and nice Day
    Michelle Konzack
    Tamay Dogan Network
    Open Hardware Developer
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
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>