Hi,
I'm currently running a small home-server with Dovecot. A long time ago I configured it with SIS enabled. I would like to stop using SIS.
If I remove sis from mail_attachment_fs will the old mails that are stored in SIS-storage still be accessible? How can I convert all mailboxes to stop using SIS and store attachments back in the mails?
Rgds, N.
On 14 Mar 2018, 20:42 +0100, Aki Tuomi aki.tuomi@dovecot.fi, wrote:
On 14 March 2018 at 21:17 Nick Rosier < nick+dovecot@bunbun.be> wrote:
Hi,
I'm currently running a small home-server with Dovecot. A long time ago I configured it with SIS enabled. I would like to stop using SIS.
If I remove sis from mail_attachment_fs will the old mails that are stored in SIS-storage still be accessible? How can I convert all mailboxes to stop using SIS and store attachments back in the mails?
Rgds, N.
doveadm backup -u username maildir:/tmp/Maildir
and then you can convert it back to sdbox after disabling sis by clearing the existing dbox files and running
doveadm -omail_location=maildir:/tmp/Maildir backup -u username sdbox:~/something
remember to take backups
Thanks for the quick response. I’ve tried a backup on 1 mailbox and indeed it stores the mails with attachments. I had tried it as an sdbox backup with the option to disable SIS but that didn’t seem to work.
Does anybody know if disabling SIS in the current setup will stop saving attachments to SIS but keep reading those that are already stored there?
N.
On 15.03.2018 10:40, Nick Rosier wrote:
On 14 Mar 2018, 20:42 +0100, Aki Tuomi aki.tuomi@dovecot.fi, wrote:
On 14 March 2018 at 21:17 Nick Rosier < nick+dovecot@bunbun.be mailto:nick+dovecot@bunbun.be> wrote:
Hi,
I'm currently running a small home-server with Dovecot. A long time ago I configured it with SIS enabled. I would like to stop using SIS.
If I remove sis from mail_attachment_fs will the old mails that are stored in SIS-storage still be accessible? How can I convert all mailboxes to stop using SIS and store attachments back in the mails?
Rgds, N.
doveadm backup -u username maildir:/tmp/Maildir
and then you can convert it back to sdbox after disabling sis by clearing the existing dbox files and running
doveadm -omail_location=maildir:/tmp/Maildir backup -u username sdbox:~/something
remember to take backups
Thanks for the quick response. I’ve tried a backup on 1 mailbox and indeed it stores the mails with attachments. I had tried it as an sdbox backup with the option to disable SIS but that didn’t seem to work.
Does anybody know if disabling SIS in the current setup will stop saving attachments to SIS but keep reading those that are already stored there?
N. It will prevent you from reading the mails completely.
Aki
On 15 Mar 2018, 09:43 +0100, Aki Tuomi aki.tuomi@dovecot.fi, wrote:
On 15.03.2018 10:40, Nick Rosier wrote:
On 14 Mar 2018, 20:42 +0100, Aki Tuomi aki.tuomi@dovecot.fi, wrote:
On 14 March 2018 at 21:17 Nick Rosier < nick+dovecot@bunbun.be> wrote:
Hi,
I'm currently running a small home-server with Dovecot. A long time ago I configured it with SIS enabled. I would like to stop using SIS.
If I remove sis from mail_attachment_fs will the old mails that are stored in SIS-storage still be accessible? How can I convert all mailboxes to stop using SIS and store attachments back in the mails?
Rgds, N.
doveadm backup -u username maildir:/tmp/Maildir
and then you can convert it back to sdbox after disabling sis by clearing the existing dbox files and running
doveadm -omail_location=maildir:/tmp/Maildir backup -u username sdbox:~/something
remember to take backups
Thanks for the quick response. I’ve tried a backup on 1 mailbox and indeed it stores the mails with attachments. I had tried it as an sdbox backup with the option to disable SIS but that didn’t seem to work.
Does anybody know if disabling SIS in the current setup will stop saving attachments to SIS but keep reading those that are already stored there?
N. It will prevent you from reading the mails completely.
That’s what I was afraid of. That means I need to convert all mailboxes all at once. I had hoped I could disable SIS and migrate 1 mailbox at a time.
N.
On Wed Mar 14 2018 15:17:58 GMT-0400 (Eastern Standard Time), Nick Rosier nick+dovecot@bunbun.be wrote:
I'm currently running a small home-server with Dovecot. A long time ago I configured it with SIS enabled. I would like to stop using SIS.
If I remove sis from mail_attachment_fs will the old mails that are stored in SIS-storage still be accessible? How can I convert all mailboxes to stop using SIS and store attachments back in the mails?
As one who used Dovecot years ago without SIS (it still wasn't well baked) but was very interested in it, I'm curious why you want to stop using it?
On 14 Mar 2018, 21:06 +0100, Tanstaafl tanstaafl@libertytrek.org, wrote:
On Wed Mar 14 2018 15:17:58 GMT-0400 (Eastern Standard Time), Nick Rosier nick+dovecot@bunbun.be wrote:
I'm currently running a small home-server with Dovecot. A long time ago I configured it with SIS enabled. I would like to stop using SIS.
If I remove sis from mail_attachment_fs will the old mails that are stored in SIS-storage still be accessible? How can I convert all mailboxes to stop using SIS and store attachments back in the mails?
As one who used Dovecot years ago without SIS (it still wasn't well baked) but was very interested in it, I'm curious why you want to stop using it?
I like experimenting with new technology and I liked the idea of SIS. I still think it is but I really don’t need it for the small mail-server I’m running and it adds a lot of complexity to the setup. There’s also AFAIK no tools to verify integrity or clean-up the SIS. So I’d like to go back to a simple storage solution.
participants (3)
-
Aki Tuomi
-
Nick Rosier
-
Tanstaafl