[Mimedefang] Error in filter_begin
Dianne Skoll
dfs at roaringpenguin.com
Mon May 14 17:10:10 EDT 2018
On Mon, 14 May 2018 11:32:13 +0000
Thomas Kristensen <TK at multimed.dk> wrote:
> What happens with the email, if there is a error in filter_begin? Ex.
> A database server offline and there is a query in filter_begin ?
It's up to you to catch the error and call action_tempfail (or whatever
you deem appropriate for handling the error.)
You also need to remember that it happened and make filter and filter_end
do nothing. Since filter_begin/filter/filter_end are all called in the
same process, it's safe to remember that an error happened in a global
variable.
Regards,
Dianne.
More information about the MIMEDefang
mailing list