Thanks!
> -----Original Message-----
> From: owner-postfix-us...@postfix.org [mailto:owner-postfix-
> us...@postfix.org] On Behalf Of Viktor Dukhovni
> Sent: Thursday, September 14, 2017 8:22 PM
> To: postfix-users@postfix.org
> Subject: Re: stop receiving mail but keep processing mail in queue
>
> On Thu, Sep 14, 2017 at 06:02:55PM +0200, Benny Pedersen wrote:
>
> > Rosenbaum, Larry M. skrev den 2017-09-14 17:40:
> > > How would we set Postfix to stop accepting incoming mail yet keep
> > > processing any queued mail?
> >
> > google postfix loopback only
> >
> > main.cf:
> >
> > inet_interfaces = loopback-only
> >
> > postfix reload
>
> The inet_interfaces parameter is one of the few that requires
> a restart rather than a reload when it is changed in order to
> change the listener sockets associated with master.cf inet
> services.
>
> http://www.postfix.org/postconf.5.html#inet_interfaces
>
> So that would be:
>
> # postfix stop
> # postfix start
>
> A less invasive change is:
>
> # postconf -e "master_service_disable = inet"
> # postfix reload
>
> Because this disables the inet services, rather than attempts to
> change the underlying sockets, it does not require a restart, and
> the queue manager and outbound deliveries continue without
> interruption.
>
> --
> Viktor.