[EXIM] Validating pipe return codes

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: David M Walker
Fecha:  
A: Exim Users Mailing List
Asunto: [EXIM] Validating pipe return codes
I am successfully running a filter with the following line:

unseen pipe "/monza/clients/datamgmt.com/users/filemgr/fextract.pl"
logwrite "$tod_log User $reply_address ..."

Unless there is an unusual error this command nearly always
succeeds, and writes a log message into the log file,
when it doesn't the user gets bounced a message saying its
been rejected, but the log file does not know that its been
bounced and still logs a message.

I therefore would like to test the return code of the pipe
command - how can I do this ?

rgds

davidw

--
*** Exim information can be found at http://www.exim.org/ ***