Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

MS outlook is a premier email client that enable you to send and receive the e-mails with various file formats of attachments such as document files, media file, and many others formats. There is some scenario occurs when a receiver of an e-mail mes…
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Familiarize people with the process of utilizing SQL Server functions 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 Microsoft Ac…
In this video we show how to create a Contact 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 >> Contact ta…

839 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