Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@ipaqmaster
Copy link

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.

/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.

@ipaqmaster
Copy link
Author

Will this just never be addressed? There's a common theme with these plugins just being released and forgotten.

@ipaqmaster
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant