I should have included more information. OS is FreeBSD 13.2. smtpd is 7.3.0
which is the latest in the pkg collection.
Originally, the only change I made to the filter, was add
#!/usr/local/bin/python3.9 and made afilter.py executable.
All other filters terminate correctly when smtpd exits.
Hi,
Find below the first stab at a final patch making generated bounce
mails follow more closely the RFCs 3461, 3464 and 6522. The patch
includes the patch from my previous mail in this thread.
The patch is based on opensmtp 7.5.0rc1 (w/ the additional patch in
the rc1 announcement thread
April 2, 2024 6:00 PM, "Tassilo Philipp" wrote:
> Hi,
>
> Find attached the first stab at a final patch making generated bounce mails
> follow more closely the
> RFCs 3461, 3464 and 6522. The attached file includes the patch from my
> previous mail in this
> thread.
>
> The patch is based on
Hi,
Find attached the first stab at a final patch making generated bounce
mails follow more closely the RFCs 3461, 3464 and 6522. The attached
file includes the patch from my previous mail in this thread.
The patch is based on opensmtp 7.5.0rc1 (w/ the additional patch in the
rc1
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/
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