Proxmox rejected all incoming mails

Know_new

New Member
May 24, 2023
18
4
3
Hello
Proxmox is rejecting all incoming emails for domains described in relay domains options

Logs are

ul 5 18:11:15 bak-mailgateway postfix/smtpd[308897]: connect from da.terahoster.com[107.189.11.190]
Jul 5 18:12:56 bak-mailgateway postfix/smtpd[308897]: warning: problem talking to server 127.0.0.1:10022: Connection timed out
Jul 5 18:14:37 bak-mailgateway postfix/smtpd[308897]: warning: problem talking to server 127.0.0.1:10022: Connection timed out
Jul 5 18:14:37 bak-mailgateway postfix/smtpd[308897]: NOQUEUE: reject: RCPT from da.terahoster.com[107.189.11.190]: 451 4.3.5 <irina_p@domain.com>: Recipient address rejected: Server configuration problem; from=<personalbases2023vcfinfo@outlook.com> to=<irina_p@domain.com> proto=ESMTP helo=<da.terahoster.com>
Jul 5 18:14:37 bak-mailgateway postfix/smtpd[308897]: disconnect from da.terahoster.com[107.189.11.190] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=5/7

Data from syslog console:

Jul 05 18:55:41 bak-mailgateway pmgpolicy[712739]: getaddrinfo: Temporary failure in name resolution at /usr/share/perl5/PVE/Tools.pm line 1473.
Jul 05 18:55:41 bak-mailgateway pmgpolicy[938]: Starting "3" children
Jul 05 18:55:41 bak-mailgateway pmgpolicy[712743]: getaddrinfo: Temporary failure in name resolution at /usr/share/perl5/PVE/Tools.pm line 1473.


Outgoing mail working well

Any help will be appreciated.

regards
 
warning: problem talking to server 127.0.0.1:10022: Connection timed out
This warning says that pmgpolicy seems not to be running, which is confirmed by:
Jul 05 18:55:41 bak-mailgateway pmgpolicy[712739]: getaddrinfo: Temporary failure in name resolution at /usr/share/perl5/PVE/Tools.pm line 1473.

On a hunch:
* make sure you have a correct entry for your PMG's IP in /etc/hosts
* make sure you have configured a correct domain-name as search domain in /etc/resolv.conf
* make sure you have a working DNS-resolver configured in /etc/resolv.conf

see also:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_configuration_files_overview

If this does not help - please post `pmgconfig dump`
 
On a hunch:
* make sure you have a correct entry for your PMG's IP in /etc/hosts
* make sure you have configured a correct domain-name as search domain in /etc/resolv.conf
* make sure you have a working DNS-resolver configured in /etc/resolv.conf
Hello , it helps!

Many thanks Stoiko!
 
  • Like
Reactions: Stoiko Ivanov