Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-11-10
3
Medium Priority
?
967 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 2000 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

670 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