Relocate subfolders to different mount point

Joel Chornik joel.chornik at elserver.com
Sun Dec 2 15:46:42 EET 2018


I think sdbox or mdbox format is what you are looking for

> On 2 Dec 2018, at 09:47, Marc Roos <M.Roos at f1-outsourcing.eu> wrote:
> 
> 
> No one an idea? I like to put some "archive" folders on a less iops 
> storage.
> 
> 
> -----Original Message-----
> From: Marc Roos 
> Sent: donderdag 29 november 2018 18:09
> To: dovecot
> Subject: Relocate subfolders to different mount point
> 
> 
> I would like to relocate the subfolders of the Sent folder to a 
> different location. Now send messages mail is stored in mbox format at 
> the location /home/users/testuser/mail/.Sent. 
> I would like to store the subfolders Sent/2017 and Sent/2018 at the 
> location /home/archive/users/testuser/.Sent.2017 and
> /home/archive/users/testuser/.Sent.2018
> 
> Is this even possible?
> 
> I am using currently using this mail_location:
> mail_location =
> mbox:~/mail:INBOX=/var/spool/mail/%u:CONTROL=~/mail/control:INDEX=/var/d
> ovecot/%u/index:LAYOUT=maildir++
> 
> /var/dovecot is on a ssd
> /var/spool/mail is on sda
> ~/mail is on sdb with these folders
> 
> [@mail]# ls -ac1
> .folderc
> .Drafts
> .foldera
> control
> .Trash.folderc
> .folderb
> .Sent
> .Sent.2018
> .Trash
> 
> 
> 
> 
> 


More information about the dovecot mailing list