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:

     bugzi...@matrixscience.co.uk       bugzi...@server2.matrixscience.co.uk

or like thisL

     bugzi...@matrixscience.com         bugzi...@server2.matrixscience.co.uk

or maybe both.

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

        Wietse

<bugzi...@mylandomain.com>: 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 -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to