Specifications
202 Chapter 12 Managing Mail Service
Backing Up Mail Files
When talking about mail-related backup, IMAP mailboxes are the first thing that come
to mind. In addition, you might want to back up configuration files for Cyrus and
Postfix. The value of backing up the configuration files is clear: it saves you time when
reconfiguring your server if it powers down unexpectedly.
The Server Admin tearoff sheets include configuration information and can be backed
up instead of the separate configuration files, unless you manually modified
configuration files to include additional configuration not available through Server
Admin.
Postfix spool files act as temporary storage and are constantly changing. Backing up
and restoring these files can lead to double delivery of mail to users.
To back up the mail database, stop Mail service first. Then copy the following files and
folders to a backup destination:
 Cyrus database (/var/imap)
 IMAP folders (/var/spool/imap)
 Cyrus configuration file (/etc/imapd.conf)
<amavis-log> The location of the mail filtering log.
Default =
"/var/log/amavis.log"
<freshclam-log>
The location of the virus definition updates log.
Default =
"/var/log/freshclam.log"
<subscriptions-log>
The location of the Mailing Lists Subscriptions log.
Default =
"/var/mailman/logs/subscribe"
<failures-log>
The location of the Mailing Lists Delivery Failures log.
Default =
"/var/mailman/logs/smtp-failure"
<postings-log>
The location of the Mailing Lists Postings log.
Default =
"/var/mailman/logs/post"
<listerrors-log>
The location of the Mailing Lists Error log.
Default =
"/var/mailman/logs/error"
<pop-log>
The location of the POP log.
Default =
"/var/log/mailaccess.log"
<smtp-log>
The location of the server log.
Default =
"/var/log/mail.log"
<lists-log>
The location of the Mailing Lists log.
Default =
"/var/mailman/logs/qrunner"
<clamav-log>
The location of the virus scanning log.
Default =
"/var/log/clamav.log"
<imap-log>
The location of the IMAP log.
Default =
"/var/log/mailaccess.log"
Value Description