Solved

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

Posted on 2010-11-10
3
948 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
  • 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When it comes to providing great business solutions, IBM and Microsoft are the two top companies excelling in the art. Both launch similar products aimed at a wide audience set and have a good customer satisfaction rate. Since their products are qui…
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
In this video we show how to create a mailbox database 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 >> Data…

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now