You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin always opens with EHLO localhost and the email headers contain Received: from localhost at the smtp server it hits. This causes SpamAssassin to mark message from Sensu as spam.
#77
Open
ipaqmaster opened this issue
Apr 10, 2023
· 2 comments
Despite server hostname being set correctly and with a valid /etc/hosts, sensu-email-handler sends EHLO localhost and the email header has Received: from localhost which trips up SpamAssassin's HELO_LOCALHOST anti-spam rule, occasionally marking messages from sensu as spam combined with other minor flags.
This is still a problem and frequently gets hit by mail filters trying to reach me with email notifications of my own infrastructure.
My overall experience with Sensu-Go feels like it were abandoned along with its plugins shortly after release. It's been a frustrating experience having to modify the supplied asset definitions for official plugins to work on more (compatible) hosts due to unnecessarily strict entity.system.platform_family lines and it has been annoying working with these seemingly abandoned official plugins with issues left unacknowledged for years in an official project repo also untouched for years.
Despite server hostname being set correctly and with a valid /etc/hosts, sensu-email-handler sends
EHLO localhost
and the email header hasReceived: from localhost
which trips up SpamAssassin'sHELO_LOCALHOST
anti-spam rule, occasionally marking messages from sensu as spam combined with other minor flags./etc/hosts looks like:
127.0.0.1 sensu.domain.com sensu-go localhost localhost.localdomain
/etc/hostname looks like:
sensu.domain.com
Yet sensu-email-handler still uses
localhost
as its Extended HELO.The text was updated successfully, but these errors were encountered: