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 Request: add mail header to prevent auto replies like out of office #13784
Comments
Ping @getsentry/workflow for triage |
@BYK I want to work on this. Can you please point me to appropriate place in the source code. |
Hi @immohsin sorry for the late response. I think you need to add sentry/src/sentry/utils/email.py Line 455 in e5e2f72
There's also an example here: https://docs.djangoproject.com/en/3.2/topics/email/ |
Heya! I know that this is an old/stale issue but may I please work on this? |
@DeltaXWizard sure you may! |
Add optional header argument from kwargs to positional arguments. This uses Django's header property such that extra headers can be easily given, i.e. the X-Auto-Response-Suppress header Fixes getsentryGH-13784
Hello, I'm new to open source and i'm interested in solving this issue.Is this issue still open.Could you please guide me through this issue. Thanks |
@BYK, I want to work on this issue. I saw that the PR is not merged because of lack of test cases. So should I pick this up or is this already fixed? |
Hi @Kaushal28, I no longer oversee the efforts here so you may have better luck pinging @chadwhitacre (which I did here now 😅). That said I think using the old patch and adding tests would be a good start. Also pinging @dashed who reviewed the old PR back in the time in case he has more to add. |
Thanks for fielding this @BYK. :) @Kaushal28 #29029 seems like a good place to start, yes. Good luck! :) |
Summary
Sentry sends emails with the sender address configured in config.yml - mail.from. This mailbox receives all auto reply mails like out of office notifications, which are not very useful in this context.
Can you add some mail headers to prevent auto replies on mail notifications?
As far as i know there are basically three different headers which most auto reply filters look for:
X-Auto-Response-Suppress: All
Precedence: Bulk
Auto-Submitted: auto-generated
Motivation
This feature would reduce unwanted mails in the mailbox defined by mail.from.
The text was updated successfully, but these errors were encountered: