Hi all,
I'm on the latest mailman installation in a HestiaCP server. The past few days I have been investigating some spam issues and by using dkimvalidator.com I found the following:
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager* 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1)*
Note the last line on the above debug information which raises the spam score of the email. Some research showed me that I needed a rDNS entry in my server. I'm on a Hetzner cloud VM so I used the Hetzner console to change the rDNS entry from:
static.XXX.XXX.XXX.XXX.clients.your-server.de
to my initial server hostname for example:
*hestia.myserver.com <http://hestia.myserver.com>*
However, after some propagation, I found today that even though I can send email to any normal address created in the server's control panel, mailing list emails do not get sent.
I see the following in the logs: Mailman SMTP log:
Oct 24 14:17:47 2023 (3759611) <169814622178.3759638.4589434779084932533@localhost> *response exception: (550, b'Helo name contains an IP address (HELO was [127.0.0.1]) and not is valid'*, 'testlist-bounces+myusername=myproject.eu@myproject.eu')
Oct 24 14:17:47 2023 (3759611) <169814622178.3759638.4589434779084932533@localhost> smtp to testlist@myproject.eu for 1 recips, completed in 45.07745146751404 seconds
Oct 24 14:17:47 2023 (3759611) <169814622178.3759638.4589434779084932533@localhost> post to testlist@myproject.eu from testlist-confirm+07d3315fa11a75588857fc93d1832ba74fb09fdd@myproject.eu, 1633 bytes, 1 failures
Oct 24 14:17:47 2023 (3759611) <169814622178.3759638.4589434779084932533@localhost> delivery to myusername@myproject.eu failed with code 550, b*'Helo name contains an IP address (HELO was [127.0.0.1]) and not is valid'*
Exim4 log:
2023-10-24 14:17:47 H=([127.0.0.1]) [XXX.XXX.XXX.XXX] rejected MAIL <testlist-bounces+myusername=myproject.eu@myproject.eu>: *Helo name contains an IP address (HELO was [127.0.0.1]) and not is valid*
The weird thing is that when I do a mailman-web sendtestemail this email is sent successfully.
Also please note that before the rDNS change I did not have an issue with mail sending.
Last but not least, after some search I set in Exim4 the following: PRIMARY_HOST_NAME = *hestia.myserver.com <http://hestia.myserver.com>*
Any help would be greatly appreciated.
*Kyriakos Terzopoulos *Web developer / e-learning expert
*Tel:*+30 211 213 9858
*Mobile:* +30 694 526 4512
- E-mail: *kyriakos.terzopoulos@gmail.com
- Skype:* kyriakos.terzopoulos Find me on Facebook <http://www.facebook.com/cirrus3d> Follow me on Twitter <http://twitter.com/#%21/cirrus3d>