Hi, I have a problem with the mail server.
I have an email server on zimbra (zimbra.example.com ) and there is Proxmox mail gateway in front of it (pmg.example.com ).
My mailboxes have the form user@example.com
When sending a message, the receiving party checks the domain example.com to match the ip address.
But in this case, because the emails are sent from the server pmg.example.com then the server is being checked pmg.example.com which is not there.
if I specify "myhostname=example.com " in the /etc/pmg/templates/main.cf.in file
Then the checks are successful, but when receiving mail, proxmox mail gateway begins to search for users in itself and respond to all emails that the user is not in the local table
How can I change the server name only for outgoing emails?
I have an email server on zimbra (zimbra.example.com ) and there is Proxmox mail gateway in front of it (pmg.example.com ).
My mailboxes have the form user@example.com
When sending a message, the receiving party checks the domain example.com to match the ip address.
But in this case, because the emails are sent from the server pmg.example.com then the server is being checked pmg.example.com which is not there.
if I specify "myhostname=example.com " in the /etc/pmg/templates/main.cf.in file
Then the checks are successful, but when receiving mail, proxmox mail gateway begins to search for users in itself and respond to all emails that the user is not in the local table
How can I change the server name only for outgoing emails?