lifeinxsau
asked on
postfix config - forking delivery to a local virtual mailbox and a gmail account
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:
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?
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
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent answer - worked immediately and as advertised ;) Many thanks.
ASKER