Re: Content Filter problem
- Paul Enlund:
> HiPostfix makes the safe assumption that sending the same input
> I have a problem with a custom C coded post queue content filter
> which on rare occasions dies with signal 6 due to corrupted free() pointers.
into the same program will produce the same result.
> This always results in an immediate bounce of the message.Wrap it with a script that returns EX_TEMPFAIL (status 75)
> I would like the offending message to stop in the deferred queue so I can
> the message and debug the content filter problem. How can I achieve this?
when the buggy program dies with a signal.
if [ $status -ge 128 ]
then exit 75
else exit $status
> I have tried -o soft_bounce=yes in the smtpd options but this does notSetting soft_bounce on the SMTP DAEMON has only effect on the SMTP DAEMON.
> defer the message