Solved

postfix config - forking delivery to a local virtual mailbox and a gmail account

Posted on 2010-11-10
3
957 Views
Last Modified: 2012-05-10
I'm transferring from sendmail to postfix, and I've come up with this little puzzle

I currently have a person who wants to have all emails go to a local mailbox to pop, but a "backup copy" also goes to his gmail account.

In sendmail, this is an easy entry in the mailertable:

person@domain.com   localbox,person@gmail.com

Open in new window


But in postfix the local virtual mailboxes go into /etc/postfix/vmailbox, while delivery to external email addresses go into /etc/postfix/virtual.

So.  Where do I split this delivery?  Is postfix smart enough that if I have an entry for person@dmain.com in both virtual and vmailbox that it will send a copy of an incoming email to both? Or what else must I do then?


0
Comment
Question by:lifeinxsau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
arzka earned 500 total points
ID: 34105800
You could use the recipient bcc maps, URL at the end. You just need to create the required file, add the wanted information there (the recipient's email address and the other address he wants to get a copy to) and activate the feature (postmap /etc/postfix/recipient-bcc or whatever you wanted to call it). Take a look for more detailed information:

http://www.postfix.org/postconf.5.html#recipient_bcc_maps
0
 

Author Comment

by:lifeinxsau
ID: 34107476
Amazing.  I never even considered a bcc map on the server end.  That looks useful for this particular problem.  I'll go test it out and when I get it to work I'll come back and close the question.  Thank you in advance.
0
 

Author Closing Comment

by:lifeinxsau
ID: 34108254
Excellent answer - worked immediately and as advertised ;)  Many thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Easy CSR creation in Exchange 2007,2010 and 2013
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question