[Dovecot] Migrate from Maildir to mdbox
Thomas Leuxner
tlx at leuxner.net
Mon Dec 27 17:55:48 EET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 27.12.2010 um 15:04 schrieb Ralf Hildebrandt:
>> 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
Aren't the smtp restrictions enforced before accepting the mail? How would one hold something he hasn't got yet? :)
Regards
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
iEYEARECAAYFAk0YtwkACgkQ+meF/S97aXgriQCeLY3NCh/rnCE6/oz4ft8N+/5D
aWsAoLIcP+DLbdmiypyeFBogWxZ6JLPS
=QdLM
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list