Configure Exchange 2019 with PMG

Tika74

New Member
Sep 24, 2024
4
0
1
Hello All,
I'm new to PMG, i have installed and configured PMG, also I created a send connector on my Exchange server, but now when I try to send emails outside my organization I got the below error, any idea what's wrong,

2024-09-24T15:15:31.710961+03:00 pmg postfix/smtpd[861]: connect from unknown[172.16.10.25]
2024-09-24T15:15:31.904990+03:00 pmg postfix/smtpd[861]: NOQUEUE: reject: RCPT from unknown[172.16.10.25]: 554 5.7.1 <email@gmail.com>: Relay access denied; from=<test01@domain.com> to=<email@gmail.com> proto=ESMTP helo=<mail.domain.com>
2024-09-24T15:15:31.905578+03:00 pmg postfix/smtpd[861]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "email@gmail.com" from client "unknown[172.16.1.104]"
2024-09-24T15:15:31.909672+03:00 pmg postfix/smtpd[861]: disconnect from unknown[172.16.1.104] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
 
Did you change the send port of the new send connector? The default internal SMTP port of Pmg is 26.
1727227261262.png
1727227442886.png
 
Last edited:
Hello,
Thanks for the reply, yes and it was not working, it only worked when I enabled TLS on the PMG.
 
Also i need to configure PMg to receive emails from outside, it's behind a firewall and I configured the firewall to NAT the traffic for port 25 to PMG server IP, but it's not working, is there any configuration from the PMG side to accept the traffic from the firewall.
 
as an update, all is working fine now, there was something wrong with the firewall rule.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!