Hostname issue causing invalid helo .... help!

Sep 17, 2020
310
19
23
Hello All,

Not sure what changed because this has been running well for over a year.

We got blacklisted because:
helo: mgw.localdomain

Which is not the domain name.

I checked in /etc/pmg/templates/main.cf.in
While I do ave other custom settings, I never set anything manual for hostname, so those lines look like this (default):
mydomain = [% dns.domain %]
myhostname = [% dns.hostname %].[% dns.domain %]

Not sure what happened but when I look at /etc/postfix/main.cf it does have the localdomain reference.
I double checked server config and it looks correct in GUI.

Any ideas???
Not good being blacklisted...

Running: Mail Gateway 7.1-1
 
Last edited:
Side note:
After I did a config override for the hostname until we figure out how to fix it, when I was done editing the template and ran the sync tool I got this error:

pmgconfig sync --restart 1
Use of uninitialized value $domain in concatenation (.) or string at /usr/share/perl5/PMG/Utils.pm line 642.
 
I do have nameservers defined, does search really make a difference if everything is public DNS?
as written in the docs at the link i pasted - the search setting is used to get the domain-name of the system, which in turn is used in the postfix configuration.
 

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!