todayDecember 7, 2021

How To's + Postfix + SpamAssassin taylor

How To: Configure SpamAssassin on CWP Pro

SpamAssassin is an Open Source anti-spam platform that attempts to filter spam by examining incoming emails in the CentOS Web Panel integrated with the Postfix Mail Server. Although the SpamAssassin service is running we cannot see Spam filtering is working. Therefore this tutorial will walk you through how to configure SpamAssain on CentOS Web [...]

Web Design & Hosting

Give your customers the experience they deserve with a fresh, modern, and fast revitalized online experience.

Learn More

Postfix BCC All Incoming Mail For User or Domain

How To's + Postfix taylor todayOctober 8, 2021 500

share close

In this article we’re going to learn how to configure Postfix to BCC all incoming mail for a domain or specific user.

First, let’s create the following file in Postfix with the following command:

nano /etc/postfix/recipient_bcc_maps

To BCC all incoming mail for a single domain, use the following:

*@example-a.tld          [email protected]
*@examble-b.tld          [email protected]

If you would only like to BCC incoming mail for a specific user account, use the following:

[email protected]          [email protected]
[email protected]          [email protected]

You can use any combination of the above configurations in the /etc/postfix/recipient_bcc_maps file.

Save the file.

Next, we’re going to add the following snippet to our /etc/postfix/main.cf

# BCC Outgoing Mail
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps

Finally, to finish the configuration, we’ll run the following:

postfix reload

Written by: taylor

Tagged as: , , , , .

Rate it
Previous post

Similar posts

Post comments (0)

Leave a reply

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

  • Locally Owned and Operated
  • Independent, Honest, Intuitive, Knowledgeable


Follow us