[Dovecot] Migrate from Maildir to mdbox
Ralf Hildebrandt
Ralf.Hildebrandt at charite.de
Mon Dec 27 16:04:43 EET 2010
* Thomas Leuxner <tlx at leuxner.net>:
> Am 24.12.2010 um 18:11 schrieb Henrique Fernandes:
>
> > Gona firt migrate User1 at 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:.*user at 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.hildebrandt at charite.de | http://www.charite.de
More information about the dovecot
mailing list