fbpx

Spotlight

todayOctober 8, 2021

How To's + Postfix taylor

Postfix BCC All Incoming Mail For User or Domain

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] [...]






Web Design & Hosting

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

Learn More
Background

Postfix BCC All Incoming Mail For User or Domain

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

Background
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          bcc-recipient[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


Verticals

Follow us