I want postfix to forward one of the emails on my domain to gmail. Virtual settings:
virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/virtual
virtual contains the following (actual values replaced):
firstname.lastname@example.org domain.com/user1/ email@example.com domain.com/user2/ firstname.lastname@example.org email@example.com
This works for the local maildirs. Emails to the 3rd user i want forwarding to a gmail account.
However when a message is sent to
firstname.lastname@example.org, instead of forwarding the mail on to gmail, postfix creates a
email@example.com file in
/home/vmail with the contents of the email (maybe in mbox format??)
Where am I going wrong?