[Rt-devel] [PATCH] Action/Sendmail handle and log almost all possible errors in interaction with 'sendmailpipe'

Jesse Vincent jesse at bestpractical.com
Wed Jan 18 09:30:42 EST 2006




On Wed, Jan 18, 2006 at 07:22:15AM +0300, Ruslan Zakirov wrote:
> subj, changes inlined
> 
> --
> Best regards, Ruslan.

> changes:
> * handle SIGPIPE, could happen if sendmail closes pipe before
>   we output all message
> * handle SIGCHLD with default handler to get exit status from sendmail
> * handle errors in 'close', system errors or sendmail exit with error
> * only send warn on the error exit status

Ruslan, 

Please apply to 3.4.

Jesse


More information about the Rt-devel mailing list