> I have a local real mailbox: [email protected] > When I setup this alias map in virtual_alias_maps file: > > [email protected] [email protected] > > (then postmap this file). > The message sent to [email protected] won't reach into mailbox, but just forwarded > to gmail. > > How can I setup it to both reach local mailbox and forwarding?
[email protected] [email protected],[email protected] Gmail is now enforcing spf, that means you need to - add a dns/txt/spf record for your server/domain - rewrite sender for forwarded mails (e.g. postsrsd) - stop forwarding spam As others have said this is a bad idea. There is a much better way: deliver mails to your local [email protected] mailbox and tell Gmail to fetch it from there via pop3: https://support.google.com/mail/answer/21289?hl=en Best regards, Gerald
_______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
