On 25/12/2017 10:14, Black Sheep wrote:
Is there a simple way to temporarily stop postfix delivering mail into
the /var/vmail mail boxes, instead queueing them up? The purpose being
to get a clean backup of /var/vmail without stopping receipt of mail
from the internet. Then restart mail delivery so the queue is emptied
into the appropriate local mail boxes?
Backing up each file via postlock works well with mbox-style mail boxes,
I don't know if it is practical with maildir. No need to modify postfix
configuration files or to reload postfix.