[milters] Archive

Lists Index Date Thread Search

Article: 1473
From: Jeroen Hendriks
Date: 2007-03-03 09:09:15 -0500
Subject: Milter-cli and hanging proces PIPE

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Hi,
It looks like the PIPE used to connect to the external process isn't closed 
after that process exits. This causes milter-cli hitting the open file limit 
(1024) after about 512 e-mails. (using both the envelope and content 
filters).
I am using milter-cli 0.14.38 (using libsnert 1.63.892) and sendmail 8.14.0

It looks like it that in the function cmdStop a (void) 
close(data->childOut[0]); is missing.
I have attached a patch that solves the problem.

ps Anthony: libSnert 1.63 fixed the random message_id corruptions when using 
the envelope filter in milter-cli.

Best regards,

Jeroen Hendriks

Web2All B.V.
Email:     jeroen@web2all.nl
Website: http://www.web2all.nl

Tel: +31 (0)475 - 775511
Fax: +31 (0)475 - 338290 




Lists Index Date Thread Search