How Can I Copy (Bcc) All Incoming and Outgoing Email to an Email Address on OS X Server 5?

In previous OS X Server versions there was a GUI setting which allowed you to “Copy all mail to…” an email address of your choice. It does not exist anymore, but you can still set this parameter by using the command line:

sudo serveradmin settings mail:imap:postmaster_address = "[email protected]"

sudo serveradmin settings mail:postfix:always_bcc_enabled = yes 

Make sure you change [email protected] to the actual email address you’d like to bcc.

If for some reason the always_bcc_enabled setting does not change, it means that most likely serveradmin got stuck and you need to do some manual editing of:

/Library/Server/Mail/Config/postfix/main.cf

and change the line that starts with:

always_bcc =

to:

always_bcc = [email protected]

After that, try the serveradmin commands again.

Besides above commands, there are many more parameters that can be set via the command line. For an overview, issue:

sudo serveradmin settings mail

Be careful when unsure about changing a parameter and always make sure you have a working backup.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *