RE: How to terminate smtpd filters?

2024-04-02 Thread andrew
Thank you for your assistance. -Andrew -Original Message- From: Tassilo Philipp Sent: Tuesday, April 2, 2024 1:22 AM To: gil...@poolp.org Cc: and...@tekrealm.net; misc@opensmtpd.org Subject: Re: How to terminate smtpd filters? I agree with Gilles, your filter should react on stdin closing,

Re: How to terminate smtpd filters?

2024-04-02 Thread Tassilo Philipp
I agree with Gilles, your filter should react on stdin closing, but not sure how your filter is set up. Also, just a guess... are you running smtpd on Linux? Linux doesn't kill children when the parent process dies, maybe that's related? (To make it do that prctl(2) would need to be used w/ PR_

Re: How to terminate smtpd filters?

2024-04-01 Thread gilles
April 2, 2024 4:47 AM, and...@tekrealm.net wrote: > What signals a termination for smtpd filters? > > I'm using the code at > https://github.com/Beutlin/howto-opensmtpd-filters-and-reports, > Which works great, except for when smtpd gets shutdown. The script continues > to run and > consumes up