NethServer Version: NethServer release 7.9.2009 (final)
Module: Mailserver
Where can i find the “Custom HELO” field that´s mentioned in the documentation?
I´ve been searching up an down in this installation and i can´t find it.
NethServer Version: NethServer release 7.9.2009 (final)
Module: Mailserver
Where can i find the “Custom HELO” field that´s mentioned in the documentation?
I´ve been searching up an down in this installation and i can´t find it.
Hi @X86 and welcome back to the community…
Have a look here: Custom HELO Setting
I think it should give your answer…
Hi
I had to use this last week and noticed there’s a small bug in here…
The document listed above implements the following (correctly):
HeloHost=
This actually finds it’s way into the postfix config.
However: The correct value postfix needs is actually as follows:
myhostname = example.com
So the add on in postfix as per above documentation will not work.
From my notes, confirmed as working:
Custom Template addition for Postfix:
mkdir -d /etc/e-smith/templates-custom/etc/postfix/main.cf
cp /etc/e-smith/templates/etc/postfix/main.cf/40host /etc/e-smith/templates-custom/etc/postfix/main.cf/40host
nano /etc/e-smith/templates-custom/etc/postfix/main.cf/40host
Add in:
myhostname = example.com
Save with CTRL-x y ENTER
expand-template /etc/postfix/main.cf
signal-event nethserver-mail-server-update
systemctl restart postfix
systemctl status postfix
Maybe the bug in the Cockpit should be corrected / confirmed…
My 2 cents
Andy
The custom helo setting just changes smtp_helo_name in main.cf which may not be enough like in your case.
There’s an additional smtpd_banner setting explained here. This way it’s not necessary to change myhostname
.
Isn’t is possible to implement a small input field within the e-mail configuration to set a custom HELO?
Sincerely, Marko
ps.: without to have to install relay server
adjusted:
cp /etc/e-smith/templates/etc/postfix/main.cf/40helo /etc/e-smith/templates-custom/etc/postfix/main.cf/40helo