Difference between revisions of "Archiving Emails from a Postfix Based Email Server"

[unchecked revision][unchecked revision]
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Please note:''' This tutorial only covers the specifics of archiving an email server based on the mail transfer agent Postfix. It is assumed that you already have a MailStore Server installation or [http://www.mailstore.com/en/lp/sendlicense.aspx test installation] and are familiar with the fundamentals of MailStore Server. Please refer to the [[Manual]] or [http://www.mailstore.com/en/doc/server4-quickstart-en.pdf Quick-Start-Guide].
+
#REDIRECT [[Archiving Emails from Linux-based Email Servers]]
 
 
MailStore Server offers several ways to archive emails from an email server, which are described below. If you are not sure which archiving method best suits your company, please refer to chapter [[Choosing the right archiving strategy]].
 
 
 
= Archiving Individual Mailboxes =
 
 
 
Mail transfer agents such as Postfix are only responsible for transporting emails and, when acting as mail delivery agent, for the delivery to local mailboxes. For  accessing the emails in the mailboxes with MailStore, an IMAP- or POP3 service (called mail retrieval agent) is installed and started on the email server. If access to the email server via the IMAP and/or POP3 protocol is possible, please refer to the corresponding chapter ''Archiving Server Mailboxes'' in the MailStore Server manual to set up the archiving process.
 
 
 
= Archiving Multiple Mailboxes in One Step =
 
 
 
Mail transfer agents such as Postfix are only responsible for transporting emails and, when acting as mail delivery agent, for the delivery to local mailboxes. For  accessing the emails in the mailboxes with MailStore, an IMAP- or POP3 service (called mail retrieval agent) has to be installed and started on the email server. If access to the email server via the IMAP  protocol is possible, please refer to the corresponding chapter ''Batch Archiving of IMAP Mailboxes'' in the MailStore Server manual to set up the archiving process.
 
 
 
 
 
= Archiving Incoming and Outgoing Emails Directly =
 
 
 
When archiving emails during sending and receiving, it is recommended to have Postfix, in addition to delivering the messages to their respective user mailboxes, send a copy of all emails to an archiving mailbox. This requires the following changes to be made to the Postfix configuration:
 
 
 
 
 
== Step 1: Set up an Archiving Mailbox ==
 
 
 
Create a new user for the mailbox. Depending on the environment, this can be a Unix system user or a user in a directory service. Assign an email address to this user, e.g. ''[email protected]''. To have Postfix send a copy of all emails to this mailbox, you need to add the following line to the file ''main.cf'':
 
 
 
  always_bcc = [email protected]
 
 
 
== Step 2: Configuration of MailStore Server ==
 
 
 
To be able to put all emails into the corresponding user archives, MailStore needs to be configured to archive emails from that mailbox via the "IMAP multidrop" profile.
 
 
 
'''Important notice:''' The email address <tt>[email protected]</tt> '''must not''' be assigned to any MailStore user.
 
 
 
= Weblinks =
 
 
 
* [http://www.postfix.org Postfix Homepage]
 
* [[Wikipedia:en:Postfix_(software)|Wikipedia: Postfix (software)]]
 
 
 
 
 
[[de:E-Mail-Archivierung von einem auf Postfix basierenden E-Mail-Server]]
 

Latest revision as of 18:07, 25 June 2014