Archiving with Postfix

The following manual describes the configuration of a postfix server.
All E-Mails that are processed by Postfix (incoming, outgoing and internal) will be sent as blind copy via smtp to the REDDOXX Appliance.
The REDDOXX Appliance recieves E-Mails via smtp connector and archives the E-Mails accordingly.

Generate copies of emails (main.cf)
Add the always_bcc option in the Postfix configuration file main.cf as follows:

always_bcc = maildepot@reddoxxarchive.local

With this option activated, a blind copy will be generated for all incoming and outgoing mails, as well as all internal mail traffic which is sent to the specified address.
Please note that the domain of the address may not actually exist, the domain needs to be a fictitious domain.
Check, if the option transport_maps in the file main.cf already exists.
If not, add it:

transport_maps = hash:/etc/postfix/transport

If the option already exists, it is allowed to specify multiple transport maps in one single transport option.
Add your transport rule behind the existing one and separate it with a comma.
Example:

... = hash:/etc/postfix/some-special-rules, hash:/etc/postfix/transport

Configure a transport rule
Create a rule which forwards all copies to the REDDOXX MailDepot.
Use the hostname or the IP address of the REDDOXX appliance as the target of the transport rule.
Enter the port of the SMTP connector at the end of the IP address separated by a colon.
The default port of the SMTP Connector for the MailDepot of the REDDOXX is: 1025.
Reconfigure the transport map - /etc/postfix/transport according to the following transport rule.
Be sure to enter the correct IP address and port:

reddoxxarchive.local smtp:[192.168.1.30]:1025

To enable the new configuration, the file must be converted into a so-called hash table:

postmap /etc/postfix/transport

Reload the new Postfix configuration and test
Reload the Postfix configuration:

postfix reload

Send a test mail and check the logfile with:

tail -f /var/log/mail.log

The following steps are required to configure the smtp connector:

  1. Connect via web interface to the appliance (http://Appliance-IP/rws/desktop)
  2. Select the area MailDepot
  3. Select "SMTP Connector" in the left menu
  4. Click "Settings"
  5. Select "Additional static E-Mail Addresses for ACL" and choose "Mail Header only"
  6. Confirm the Settings with "Save"
  7. Activate the smtp connector with "Enable Service"

More Information to the configuration of the smtp connector can be found in the manual