Wietse Venema via Postfix-users:
> Ankit Kulkarni via Postfix-users:
> > breaks, Postfix does not re-establish it mid-session. We recently 
> > discussed this on the mailing list, and one possible mitigation is using 
> > 451 responses, as described here: 
> > https://www.mail-archive.com/[email protected]/msg106876.html
> 
> This is fixed in Postfix 3.11 with "milter_default_action=shutdown".
> I can make that available for Postfix 3.7-10.

You mention that the Postfix queue makes this a stateful service,
but you can minimiza that amount of state by using smtp_fallback_relay
and lmtp_fallback_relay for messages that cannot be delivered
immediately.

The process for graceful turndown is then

1) Turn off inbound TCP

    postconf master_service_disable = inet

2) Wait until the mail queue is empty ("postqueue -p" says "Mail
queue is empty", or "postqueue -j" produces no output). If the wait
exceeds some time limit, request human intervention.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to