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 = email@example.com
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.
... = 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:
To enable the new configuration, the file must be converted into a so-called hash table:
Reload the new Postfix configuration and test
Reload the Postfix configuration:
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:
More Information to the configuration of the smtp connector can be found in the manual