Discussion:
archive and normal partition mixing question
Marco
2018-07-23 14:10:36 UTC
Permalink
Hello,

I would like to create a quota root mailbox with a normal partition
which is the same of the archive partition. Does Cyrus allow this?

For instance, I would know if this configuration is valid:

partition-maildata1: /maildata/maildata1
partition-maildata2: /maildata/maildata2
partition-arcmaildata1: /archivio/maildata1
partition-arcmaildata2: /archivio/maildata2
archivepartition-maildata1: /archivio/maildata1
archivepartition-maildata2: /archivio/maildata2

metapartition-maildata1: /metamaildata/maildata1
metapartition-maildata2: /metamaildata/maildata2
metapartition-arcmaildata1: /metarchivio/maildata1
metapartition-arcmaildata2: /metarchivio/maildata2

archive_enabled: 1
archive_days: 30



In this way Cyrus could archive old mails in /archivio/maildata*
But these partitions are used for other mailboxes too. For instance I can

createmailbox user/***@example.com maildata1
createmailbox user/john.doe/***@example.com arcmaildata1

In this way all messages moved or sent to "Archive" folder will stay
under arcmaildata1.
All mailboxes archived by "cyr_expire -A" will go to the same path of
arcmaildata1 too.

Thank you very much
Regards
Marco
Bron Gondwana
2018-07-24 00:37:03 UTC
Permalink
No, don't do that. You can put them on the same filesystem, but don't
put different-named partitions on the same disk path. That will confuse
Cyrus no end.
Bron.
Post by Marco
Hello,
I would like to create a quota root mailbox with a normal partition> which is the same of the archive partition. Does Cyrus allow this?
partition-maildata1: /maildata/maildata1
partition-maildata2: /maildata/maildata2
partition-arcmaildata1: /archivio/maildata1
partition-arcmaildata2: /archivio/maildata2
archivepartition-maildata1: /archivio/maildata1
archivepartition-maildata2: /archivio/maildata2
metapartition-maildata1: /metamaildata/maildata1
metapartition-maildata2: /metamaildata/maildata2
metapartition-arcmaildata1: /metarchivio/maildata1
metapartition-arcmaildata2: /metarchivio/maildata2
archive_enabled: 1
archive_days: 30
In this way Cyrus could archive old mails in /archivio/maildata*
But these partitions are used for other mailboxes too. For
instance I can>
In this way all messages moved or sent to "Archive" folder will stay
under arcmaildata1.
All mailboxes archived by "cyr_expire -A" will go to the same path of> arcmaildata1 too.
Thank you very much
Regards
Marco
----
Cyrus Home Page: http://www.cyrusimap.org/
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
--
Bron Gondwana, CEO, FastMail Pty Ltd
***@fastmailteam.com

Loading...