| 1 |
.. _imap-features-archive-partitions: |
| 2 |
|
| 3 |
================== |
| 4 |
Archive Partitions |
| 5 |
================== |
| 6 |
|
| 7 |
Archive partitions are defined by the ``archivepartition-name`` option |
| 8 |
in :cyrusman:`imapd.conf(5)`: |
| 9 |
|
| 10 |
.. include:: /imap/reference/manpages/configs/imapd.conf.rst |
| 11 |
:start-after: startblob archivepartition-name |
| 12 |
:end-before: endblob archivepartition-name |
| 13 |
|
| 14 |
As is the case with :ref:`metadata <imap-features-metadata-partitions>` |
| 15 |
partitions, however, archive partitions do not stand alone. They are |
| 16 |
closely bound to :ref:`imap-admin-locations-spool` as defined by the |
| 17 |
accompanying ``partition-name`` directive. |
| 18 |
|
| 19 |
.. include:: /assets/mailspool-parts-explain.rst |
| 20 |
|
| 21 |
So, to add archiving to the system described above, we would need |
| 22 |
something like this (again, building on our previous examples): |
| 23 |
|
| 24 |
* Sample:: |
| 25 |
|
| 26 |
defaultpartition: main |
| 27 |
partition-main: /var/spool/cyrus |
| 28 |
partition-am: /var/spool/cyrus-am |
| 29 |
partition-nz: /var/spool/cyrus-nz |
| 30 |
partition-shared: /var/spool/cyrus-shared |
| 31 |
archive_enabled: yes |
| 32 |
archivepartition-main: /var/spool/cyrusarchive/main |
| 33 |
archivepartition-am: /var/spool/cyrusarchive/am |
| 34 |
archivepartition-nz: /var/spool/cyrusarchive/nz |
| 35 |
archivepartition-shared: /var/spool/cyrusarchive/shared |