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
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
I think sdbox or mdbox format is what you are looking for
On 2 Dec 2018, at 09:47, Marc Roos <M.Roos@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
Maybe, but I do not want to do a convert of the mbox files right now. First I would like try and put some large archive files on a different storage location. I would already be pleased with a config sample of one mbox file on a different path. Otherwise I will have to result to some nasty symlinking or so. Or maybe this can be scripted via dovecot?
-----Original Message----- From: Joel Chornik [mailto:joel.chornik@elserver.com] Sent: 02 December 2018 14:47 To: Marc Roos Cc: dovecot Subject: Re: Relocate subfolders to different mount point
I think sdbox or mdbox format is what you are looking for
On 2 Dec 2018, at 09:47, Marc Roos <M.Roos@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
participants (2)
-
Joel Chornik
-
Marc Roos