BCCing Relayed Email

Posted 2009-05-17 20:58 by andreychek

This legacy document is here only to insure incoming links continue to work. You likely want to start with the new documentation index or search for what you want to know about. This document is unmaintained!

BCCing Relayed Email

Virtualmin allows you to configure the automatic BCCing of email sent by mailbox users in some virtual servers to a separate address. This can be useful for logging email sent by members of some domain. However, this is only possible when using the Postfix mail server.

Configuring Virtualmin for BCCing Email

Before you can enable BCCing for any domains, the following steps must be performed :

  1. Login to Virtualmin as root, and go to WebminServersPostfix Mail Server.
  2. Click on the BCC Mapping icon, and make sure the Sender BCC mapping lookup tables field is set. If it is not, you should enter a map specification like hash:/etc/postfix/bcc . Then click the Save and Apply button.
  3. Go to System SettingsModule Config, and change the Allow automatic BCCing of outgoing email? field to Yes, then click Save. If Virtualmin prompts you to re-check the configuration, do so.

Enabling BCCing for a Domain

Once the system has been configured for BCC support, you can enable it for a domain as follows :

  1. Login to Virtualmin as root, select the domain from the left menu, then click on Email Settings under Server Settings.
  2. In the BCC outgoing email to field, select Additional email address and enter the address to which a copy of all email should be sent in to the adjacent text box.
  3. Click the Save button.

If you want to enable BCCing for all existing domains, the fastest way is to SSH into the system as root and run the command :

virtualmin modify-mail --all-domains --bcc user@domain.com