[Dovecot] Linking mdbox directories

Alex Crow acrow at integrafin.co.uk
Mon May 20 14:28:00 EEST 2013


Just realised you can't hardlink directories. Given that (and forgetting 
the "delete later" thing) would it work with a symlink?

Thanks

Alex
----Original Message----
*Subject:* [Dovecot] Linking mdbox directories
*From:* Alex Crow <acrow at integrafin.co.uk>
*To:* dovecot at dovecot.org{
*CC:*
}*Date:* Mon, 20 May 2013 12:00:49 +0100

> Hi Timo/list,
>
> We have a scenario in which some email accounts on dovecot (stored in 
> mdbox, separate paths for indexes, email, ALT storage and also using 
> SIS for attachments, LDAP directory) need their names changed. I know 
> we could just change the mail LDAP attribute (and leave 
> mailMessageStore alone) so they keep the same directories on disk, but 
> this would throw a spanner in the works for our backups.
>
> Would it be possible to create a hard link of the user's directories 
> under the new name, and change the LDAP mailMessageStore attribute to 
> point to these without stopping and starting dovecot? And after a 
> while unlink the original locations? Or would this mess up dovecot's 
> internal state?
>
> Thanks
>
> Alex
>


-- 
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc. 29
Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608
5300. (Registered office: as above; Registered in England and Wales
under number: 3727592). Authorised and regulated by the Financial
Conduct Authority (entered on the Financial Services Register; no. 190856).



More information about the dovecot mailing list