On 25.12.2017 11:14, Black Sheep wrote:

> Is there a simple way to temporarily stop postfix delivering mail into
> the /var/vmail mail boxes [...]

The following method works (I'm not certain if reloading is even
required):

#!/bin/bash
# Temporarily disable local delivery
postconf -e defer_transports=local && postfix reload
[... Your backup operations here ...]
# Re-enable local delivery
postconf -e defer_transports='' && postfix reload

-Ralph

Reply via email to