Relay access denied (inbound from outside) PMG v. 8.1

Marvianus

New Member
Apr 9, 2024
2
0
1
Just installed a PMG in a DMZ. Sitting between an internal Exchange Server on the internal network and the internet.

Went through the configuration and outbound emails work but inbound emails do not ! (and most of the posts about relay access denied that I have been able to find are all about outbound access).

The message tracker throws up this message:
"
2024-04-09T18:13:27.062633+02:00 proxymoxy postfix/smtpd[1546]: connect from mail-ua1-f51.google.com[209.85.222.51]
2024-04-09T18:13:27.295152+02:00 proxymoxy postfix/smtpd[1546]: NOQUEUE: reject: RCPT from mail-ua1-f51.google.com[209.85.222.51]: 554 5.7.1 <anotherrandomuser@stuffdomain.com>: Relay access denied; from=<somerandomuser@gmail.com> to=<anotherrandomuser@stuffdomain.com> proto=ESMTP helo=<mail-ua1-f51.google.com>
2024-04-09T18:13:27.295237+02:00 proxymoxy postfix/smtpd[1546]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "anotherrandomuser@stuffdomain.com" from client "mail-ua1-f51.google.com[209.85.222.51]"
2024-04-09T18:13:27.407960+02:00 proxymoxy postfix/smtpd[1546]: disconnect from mail-ua1-f51.google.com[209.85.222.51] ehlo=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=3/5
"

I have been trying to figure out the problem. But do not seem to be able to figure out what the exact issue is.

When looking at the mail.log we see something like this:

2024-04-09T18:47:13.824847+02:00 proxymoxy pmg-smtp-filter[858]: WARNING: config: registryboundaries: no tlds defined, need to run sa-update
2024-04-09T18:47:14.190234+02:00 proxymoxy pmg-smtp-filter[858]: Beginning prefork (2 processes)
2024-04-09T18:47:14.190328+02:00 proxymoxy pmg-smtp-filter[858]: Starting "2" children
2024-04-09T18:47:44.231961+02:00 proxymoxy pmg-smtp-filter[858]: ERROR: RRD error: rrdcached@unix:/var/run/rrdcached.sock: illegal attempt to update using time 1712681264.000000 when last update time is 1712684606.000000 (minimum one second step)
2024-04-09T18:47:44.232157+02:00 proxymoxy pmg-smtp-filter[858]: starting database maintenance
2024-04-09T18:47:44.246591+02:00 proxymoxy pmg-smtp-filter[858]: end database maintenance (14 ms)
2024-04-09T18:48:14.279252+02:00 proxymoxy pmg-smtp-filter[858]: ERROR: RRD error: rrdcached@unix:/var/run/rrdcached.sock: illegal attempt to update using time 1712681294.000000 when last update time is 1712684606.000000 (minimum one second step)
2024-04-09T18:48:28.639996+02:00 proxymoxy postfix/postscreen[964]: CONNECT from [209.85.221.170]:59788 to [172.16.1.2]:25
2024-04-09T18:48:28.640161+02:00 proxymoxy postfix/postscreen[964]: PASS OLD [209.85.221.170]:59788
2024-04-09T18:48:28.699336+02:00 proxymoxy postfix/smtpd[965]: connect from mail-vk1-f170.google.com[209.85.221.170]
2024-04-09T18:48:28.931708+02:00 proxymoxy postfix/smtpd[965]: NOQUEUE: reject: RCPT from mail-vk1-f170.google.com[209.85.221.170]: 554 5.7.1 <anotherrandomuser@stuffdomain.com>: Relay access denied; from=<somerandomuser@gmail.com> to=<anotherrandomuser@stuffdomain.com> proto=ESMTP helo=<mail-vk1-f170.google.com>
2024-04-09T18:48:28.931776+02:00 proxymoxy postfix/smtpd[965]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "anotherrandomuser@stuffdomain.com" from client "mail-vk1-f170.google.com[209.85.221.170]"
2024-04-09T18:48:29.046162+02:00 proxymoxy postfix/smtpd[965]: disconnect from mail-vk1-f170.google.com[209.85.221.170] ehlo=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=3/5
2024-04-09T18:48:44.305753+02:00 proxymoxy pmg-smtp-filter[858]: ERROR: RRD error: rrdcached@unix:/var/run/rrdcached.sock: illegal attempt to update using time 1712681324.000000 when last update time is 1712684606.000000 (minimum one second step)
2024-04-09T18:49:14.338320+02:00 proxymoxy pmg-smtp-filter[858]: ERROR: RRD error: rrdcached@unix:/var/run/rrdcached.sock: illegal attempt to update using time 1712681354.000000 when last update time is 1712684606.000000 (minimum one second step)
2024-04-09T18:49:23.648602+02:00 proxymoxy pmgpolicy[859]: starting policy database maintenance (greylist, rbl)
2024-04-09T18:49:23.678388+02:00 proxymoxy pmgpolicy[859]: end policy database maintenance (16 ms, 2 ms)
2024-04-09T18:49:44.370728+02:00 proxymoxy pmg-smtp-filter[858]: ERROR: RRD error: rrdcached@unix:/var/run/rrdcached.sock: illegal attempt to update using time 1712681384.000000 when last update time is 1712684606.000000 (minimum one second step)


Do anyone have any ideas as to what the problem could be ?
 
Last edited:
did you put 'stuffdomain.com' into your relay domains? only mails will be accepted for domains that are entered there
 
Yeah we did, but we removed the entire config and recreated it which then worked. And I have not been able to figure out the difference. So we're good.
 

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!