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
[Feature] Do not add spam headers or rewrite subject in outgoing emails #4025
Comments
Well, setting threshold to |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Summary
For outgoing emails from authenticated users anything that appears spammy enough to flag the email (header rewrite or subject), should be rejected.
Motivation
Originally posted by @moisseev in #3773 (comment)
This feels like a really bad idea. If a user writes an email that's bad enough to be classified as spam, they should be informed about this (by rejecting their email) - adding a header or even subject rewrite but still sending the email to the intended recipient is a bad idea. After all, it will look incredibly bad if you send an email and it arrives with a "Spam" subject.
If the email is sent by some scripts, webapp, etc, then it might be compromised or abused for spam - another case where you really do NOT want to send the actual email, but rather reject it during the SMTP session (which will most likely be logged as an error in the client application, and thus allow follow-up).
Describe alternatives you've considered
Adding this to
local.d/settings.conf
While this kind of works, it's a bad idea because just like the documentation mentions, actions can be forced regardless of score thresholds (easy to test with the gtube-like strings).
The text was updated successfully, but these errors were encountered: