After adding both lines and running postmap on /etc/postfix/virtual, both the base address and the alias reach the destination machine (server2).
Thank you sir!

On 28/05/2024 19:27, Wietse Venema via Postfix-users wrote:
Wietse Venema via Postfix-users:
Adam Weremczuk via Postfix-users:
I've tried your suggestion.

SERVER1 is still trying to deliver test email locally rather than
forward to SERVER2:

According to your postfinger output, you did not confihgure
virtual_alias_maps on server1 to send bugzilla mail to server2.
Therefore, Postfix on server1 will deliver it locally.

There needs to be a virtual_alias_maps rule like this:

     [email protected]       [email protected]

or like thisL

     [email protected]         [email protected]

or maybe both.

See my previous email for how to configure and manage Postfix virtual
alias maps.

        Wietse

<[email protected]>: host
      mx0.myLANdomain.com[/var/run/cyrus/socket/lmtp] said: 550-Mailbox
      unknown.  Either there is no mailbox associated with this 550-name
or you
      do not have authorization to see it. 550 5.1.1 User unknown (in
reply to
      RCPT TO command)

The NEW virtual_alias_maps configuration takes effect ONLY for new messages.

For more support, follow https://www.postfix.org/DEBUG_README.html#mail

        Wiuetse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to