On Fri, Apr 28, 2023 at 08:32:29AM +0800, Tom Reed via Postfix-users wrote:

> 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?

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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to