procmail
[Top] [All Lists]

Re: EXITCODE depening on invoked script (or: fetch return/output of pipe)

2002-04-13 10:45:49
On Sat, 13 Apr 2002 the voices made pilsl(_at_)goldfisch(_dot_)at write:

my procmailscript calls a perl-script that returns an errorcode
(according to /usr/include/sysexits.h ) and now I want my
procmailscript have returned this very errorcode back to the invoking
mailer (=sendmail)

 You'll find the exitcode in $?

        /Tony
-- 
 +--------------------------------------------------------------------+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 | Genom kunskap mot frihet! =*= (c) 1999-2002 tony(_at_)svanstrom(_dot_)org 
=*= |
 +--------------------------------------------------------------------+

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