Re: Create a separated mailbox for archived mails

2021-10-22 Thread Claudio Corvino
Hi Sami, I just configured on my test environment (with two Dovecot in replica in geographical different branches) this namespace and it seems to works: /namespace archive {// //  disabled = no// //  hidden = no// //  inbox = no// //  list = yes// //  location = maildir:/mnt/mail-storage-archi

Re: Create a separated mailbox for archived mails

2021-10-22 Thread Claudio Corvino
Thanks Marc! I just configured a namespace for archive on a different storage, now I have to decide if e-mail archiving will be accomplished manually by Thunderbird users or by a cronjob like you suggested me. On 20/10/21 18:49, Marc wrote: thanks for replying, I would like to archive e-m

Re: Create a separated mailbox for archived mails

2021-10-20 Thread Claudio Corvino
Hi Sami, thanks for your answer! Why should I use sdbox? If I configure the archive location on a NFS mountpoint and I move mails older than 5 years to the "archive", how can I tell client like Thunderbird where to find archived e-mails? Thanks! On 20/10/21 15:37, Sami Ketola wrote: Hi,

RE: Create a separated mailbox for archived mails

2021-10-20 Thread Marc
> > thanks for replying, I would like to archive e-mail older than 5 years > on a second storage, it seems like the namespace with a new > mail_location that you suggested could be good for me, but then I will > need the auto-archiving script that move mails older than 5 years to the > archive

RE: Create a separated mailbox for archived mails

2021-10-20 Thread Marc
> > Considering dovecot uses indexes, is there a performance benefit to the > inbox in moving older emails to an "archive" folder? What about not having to sync old email when you add a new device? Or accidentally deleting messages from the inbox.

Re: Create a separated mailbox for archived mails

2021-10-20 Thread dovecot
I would like to archive e-mail older than 5 years on a second storage Considering dovecot uses indexes, is there a performance benefit to the inbox in moving older emails to an "archive" folder?

Re: Create a separated mailbox for archived mails

2021-10-20 Thread Sami Ketola
Hi, You can choose what ever storage driver you want. Sdbox was there just as an example that you can have separate storage driver from your mail_location storage driver. Also this way ARCHIVE shows as normal folder structure under Thunderbird as long as your users subscribe to the folders.

Re: Create a separated mailbox for archived mails

2021-10-20 Thread Sami Ketola
Hi, You should be able to configure something like this: namespace archive { disabled = no hidden = no list = yes prefix = ARCHIVE/ location = sdbox:/archive/location/%u } Sami > On 20. Oct 2021, at 16.16, Claudio Corvino

Re: Create a separated mailbox for archived mails

2021-10-20 Thread Claudio Corvino
Hi Marc, thanks for replying, I would like to archive e-mail older than 5 years on a second storage, it seems like the /namespace/ with a new /mail_location/ that you suggested could be good for me, but then I will need the auto-archiving script that move mails older than 5 years to the /arch

RE: Create a separated mailbox for archived mails

2021-10-17 Thread Marc
I am not really sure what you are trying to realize with this ldap modification. But afaik you have just one mail_location= configuration per user and that is it. If you want to archive email on 2nd storage you can either use this ALT= storage location or create a namespace, and configure this n

Create a separated mailbox for archived mails

2021-10-15 Thread Claudio Corvino
Hi, I have an MTA configured with Postfix that deliver email to an IMAP/LMTP Dovecot server version 2.3.4.1 configured to bind LDAP/AD for users. I would like to configure Dovecot to create another mailbox to archive mails of users to a separated NFS mount. Here is my /dovecot-ldap.conf/: