Author Topic: I don't receive a single message from root..??  (Read 513 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
Re: I don't receive a single message from root..??
« Reply #15 on: June 26, 2025, 08:46:45 PM »
If you system has a problem with localhost, you force it with 127.0.0.1
It's says, "If you are having problem with Step 4, change the ending to:"

I'll update that to say REPLACE the 4 lines in Step4 with.

milter_protocol = 6, is the default. So where it's there or not doesn't matter, it's just to make sure.

non_smtpd_milters = $smtpd_milters, just redirects it to look at $smtpd_milters, or to be safe you can specify that line again. Just like milter_protocol.

--

I looked at Postfix.

CWP put the line in main.cf under #network settings, when it builds/re-builds the mail server.
Checked all of our servers, and it says "mydestination = $myhostname = name.hostname.com'

Not sure why CWP does that, as it's redundant, and just replaces $myhostname on that line.

While the line smtp_helo_name = $myhostname, I had entered manually.

@overseer, what does your servers look like for that line?

Offline
*****
Re: I don't receive a single message from root..??
« Reply #16 on: June 26, 2025, 11:38:21 PM »
CWP systems are as you described, mydestination = $myhostname = name.hostname.com

On a dedicated server I maintain (non-CWP), it is more clasically set:
Code: [Select]
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, host.domain.com, mail.domain.com

Offline
***
Re: I don't receive a single message from root..??
« Reply #17 on: June 27, 2025, 07:18:29 AM »
Hi,

for me :

mydestination = $myhostname = name.hostname.com
where name.hostname.com is replaced with my ...

and no record smtp_helo_name = $myhostname

and as far as I can tell and test, DKIM works with localhost...

BR
Venty
« Last Edit: June 27, 2025, 07:22:42 AM by venty »

Offline
***
Re: I don't receive a single message from root..??
« Reply #18 on: June 27, 2025, 10:19:53 AM »
Hi,

for me :

mydestination = $myhostname = name.hostname.com
where name.hostname.com is replaced with my ...

and no record smtp_helo_name = $myhostname

and as far as I can tell and test, DKIM works with localhost...

BR
Venty

and in fail main.cf no record: "smtp_helo_name"
« Last Edit: June 27, 2025, 10:31:42 AM by venty »

Offline
***
Re: I don't receive a single message from root..??
« Reply #19 on: June 29, 2025, 12:48:38 PM »
Hi,

for me :

mydestination = $myhostname = name.hostname.com
where name.hostname.com is replaced with my ...

and no record smtp_helo_name = $myhostname

and as far as I can tell and test, DKIM works with localhost...

BR
Venty

and in fail main.cf no record: "smtp_helo_name"

Offline
*****
Re: I don't receive a single message from root..??
« Reply #20 on: June 29, 2025, 02:18:36 PM »
I don't have the directive on my CWP servers, nor on a dedicated server I maintain. These are the closest I have:
Code: [Select]
# smtpd_helo_restrictions
smtpd_helo_restrictions =
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname
smtpd_helo_required = yes

Offline
***
Re: I don't receive a single message from root..??
« Reply #21 on: July 03, 2025, 04:11:17 PM »
Hi,

Is it necessary to add a record to the file main.cf and what is it for:

smtp_helo_name = $myhostname

Thanks in advance!

BR
Venty

Offline
*****
Re: I don't receive a single message from root..??
« Reply #22 on: July 03, 2025, 05:30:42 PM »
You are specifying your server's hostname to announce it in the HELO exchange when it is talking to other mail servers. As you could see by my code block above, I (and many other mail admins) reject mail from servers that don't have their HELO hostname set (as many spammers don't use proper protocol and give proper HELO greetings. So for best mail delivery results and to avoid bounced mails, you should set your helo hostname as Starburst recommended.

Offline
***
Re: I don't receive a single message from root..??
« Reply #23 on: Today at 10:29:45 AM »

Hi,

Thank you very much, I understood everything, just one last thing to clarify :)

When going through CWP,  I go to the Postfix Mail Server Manager, and check the box where it is shown in the picture:

https://prnt.sc/TXLDNMUAot9p

In this case, when building the mail server, what exactly add or change in the entries in the main.cf file ?

Many thanks in advance!

BR
Venty