On Fri, Apr 28, 2023 at 08:32:29AM +0800, Tom Reed via Postfix-users wrote:
> I have a local real mailbox: u...@foo.com. When I setup this alias > map in virtual_alias_maps file: > > u...@foo.com u...@gmail.com > > (then postmap this file). The message sent to u...@foo.com won't > reach into mailbox, but just forwarded to gmail. > > How can I setup it to both reach local mailbox and forwarding? This is a bad idea. Don't do this. Forwarding spam to gmail, or mail from external senders with SPF policies, ... will fail to be delivered, and will tarnish your server's "reputation". It can of course be made to "work" (in the sense of queueing the mail for delivery), but really, don't. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org