-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Bots have standard notification properties set and get notified via Email #15769
Comments
Please note that the notification is not triggered immediately (I saw a 15 minute delay or so). |
@apollo13 What Mattermost server version are you on? |
@amyblais Oh sorry, not sure how I missed that. I have whatever the gitlab omnibus installer installs, which currently is:
|
@DHaussermann Wondering if you can help test this? |
This seems quite possible but, I'm having a hard time confirming where I can see what's happening on the mail server. Ideally what should happen when you create a bot (or convert a user to a bot), is that the email notification setting at the user level should be set to I'm trying to confirm this behavior on my local but I'm not sure where in the DB the user level email notification can be found. |
@DHaussermann Try the
The |
Thanks @apollo13 I saw that but it wasn't updating for me based on setting it in the UI (on a non-bot user). I'll take another look 👍 |
@DHaussermann I just tested. The |
@apollo13 thanks for the help. I see the value change as expected. Somehow the query results must not have been refreshing for me when I checked earlier. You're correct about the email notification issue. It seems there is no exception made for bot accounts to prevent this. I have opened a Jira ticket here https://mattermost.atlassian.net/browse/MM-29374 to address this. Thank you for pointing this out. Much appreciated. |
Create a HW ticket: #15921 |
Summary
Bot accounts get email notification delivered to
botaccountname@localhost
Steps to reproduce
I am not 100% sure if this is actually the way to reproduce, but it seems simple enough:
Expected behavior
Bots should not get notifications
Observed behavior (that appears unintentional)
I get a bounce notification from my mailserver since the
gitlab
bot received a notification forgitlab@localhost
:Possible fixes
Disable notifications for bot accounts (Possibly via the
EnsureBot
api function)The text was updated successfully, but these errors were encountered: