On Mon, Jan 30, 2012 at 09:26:42PM +0000, Mark Alan wrote:

> > > Is there any other way to make the postscreen/postfix combination
> > > temporarily defer all incoming emails with '450 4.3.2 Service
> > > currently unavailable' (in order to give us some time to migrate
> > > the postfix server to some other IP) ?

Just turn off the SMTP listener. This functionally identical to a
4.X.X reject and saves resources on both client and server.

> > The documentation for the "postscreen_access_list" parameter.
> 
> Would the following be an acceptable way to do it?
>   postconf -e 'postscreen_access_list = reject'
>   postconf -e 'soft_bounce = yes'

Only if this is documented. The soft_bounce parameter is listed on
the postscreen(8) manpage, this is perhaps a sufficient promise to
match user expectations and so I would expect it to work.

This said, it is far simpler to turn off SMTP service.

        # postconf -e 'master_service_disable = inet'
        # postfix reload

with appropriate adjustments if the target is a non-default instance.

-- 
        Viktor.

Reply via email to