Wietse Venema:
> David Touzeau:
> > Dear
> >
> > For some reasons :
> > - mistakes
> > - bug inside a sender robot
> > - emailing application that going to be crazy,
> > - Internal infected network with an SMTP worm,
> > ...
> >
> > i would like send a "freeze" command to postfix that stopping the
> > routing process for a period or wat other command to release/continue
> > processing.
>
> # postconf -e master_service_disable=qmgr.fifo
> # postfix reload
This works but adds a one-second delay to each mail delivery (there
is a built-in safety mechanism that kicks in when mail arrivers
faster than mail deliveries go out).
The more complete solution to disable the scheduler while allowing
mail to arrive as usual:
# postconf -e master_service_disable=qmgr.fifo in_flow_delay=0
# postfix reload
To re-enable the scheduler and queue flooding safety:
# postconf -e master_service_disable= in_flow_delay=1
# postfix reload
Wietse