* Thomas Leuxner <t...@leuxner.net>: > Am 24.12.2010 um 18:11 schrieb Henrique Fernandes: > > > Gona firt migrate us...@domain1.com > > > > # chmod a-w /path/to/thatuserhome/ > > > > Now, dovecot can not write any emails there. Will will result in temporary > > failure, at least in my conf it does. > > That seems a bit brute and will throw a good amount of log entries for sure. > > How about this. Implement a header check in Postfix and put the mail for the > account to be maintained on HOLD: > > [ master.cf ] > cleanup unix n - - - 0 cleanup > -o header_checks=pcre:/etc/postfix/header_checks_maintenance
Usually you do this in main.cf > $ cat /etc/postfix/header_checks_maintenance > /^To:.*u...@domain.tld.*/ HOLD Planned maintenance for account > […] And usually one uses "check_recipient_access" for this, not header_checks -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de