[SOLVED] IP 1.2.3.4/30 in Networks = Relay access denied 5.7.1

Mar 26, 2023
67
10
8
Hi there,

I have added a client single IP like 1.2.3.4/30 in Configuration > Mail Proxy > Netowks, and I can see it in file /etc/pmg/mynetworks on any node in the cluster.

The client has set his mail server to relay to my PMG on port 26.

However, the client receives 'Relay access denied 5.7.1' when trying to smart host to me.

Example log:

Code:
Oct 12 09:02:29 node2 postfix/smtpd[3336182]: NOQUEUE: reject: RCPT from mail.example.com[1.2.3.4]: 554 5.7.1 <user@gmail.com>: Relay access denied; from=<info@example.com> to=<user@gmail.com> proto=ESMTP helo=<mail.example.com>

Any ideas on what I can check to fix this?

Mail Gateway 7.3-8

Thanks,
C.
 
Last edited:
please restart postfix for good measure - and if this does not help - share the logs
 
  • Like
Reactions: kez
Glad to hear - was the postfix restart what's missing?
 

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!