[GH-ISSUE #1051] DNSBL Notifications ignore allowed domains for Domain Admins #884

Closed
opened 2026-02-27 11:14:05 +03:00 by kerem · 13 comments
Owner

Originally created by @janvalo on GitHub (Feb 28, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1051

  • Modoboa: 1.6.2
  • installer used: Yes
  • Webserver: Nginx

Earlier today our Domain Admins reported emails regarding DNSBL:

Subject: [modoboa] DNSBL issue(s) for domain domain.name

Modoboa detected that domain domain.name is listed by the following DNSBL providers:
 
: 

The domain's reputation will be affected and there is a chance that emails coming from it are considered as spam. You should contact those providers and ask them to unlist detected IP address(es).

After checking the dnsbl-3.uceprotect.net, our IP is not listed (false alarm due to flagged IP range).
I understand that this would be normal behaviour (the notification bit), however every Domain Admin user received these messages for all the domains currently present at our mail server, even the ones that they are not allowed to manage.

Is there any way to restrict these notifications to be sent only to Super Admins?

Originally created by @janvalo on GitHub (Feb 28, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1051 * Modoboa: 1.6.2 * installer used: Yes * Webserver: Nginx Earlier today our Domain Admins reported emails regarding DNSBL: ``` Subject: [modoboa] DNSBL issue(s) for domain domain.name Modoboa detected that domain domain.name is listed by the following DNSBL providers: : The domain's reputation will be affected and there is a chance that emails coming from it are considered as spam. You should contact those providers and ask them to unlist detected IP address(es). ``` After checking the dnsbl-3.uceprotect.net, our IP is not listed (false alarm due to flagged IP range). I understand that this would be normal behaviour (the notification bit), however every Domain Admin user received these messages for all the domains currently present at our mail server, even the ones that they are not allowed to manage. Is there any way to restrict these notifications to be sent only to Super Admins?
kerem 2026-02-27 11:14:05 +03:00
Author
Owner

@gawel commented on GitHub (Feb 28, 2017):

No, but you can send mails to a specified address. I'm using this crontab instead of the default one:

@weekly $HOME/vtenv/bin/python $HOME/bearboa/manage.py modo check_mx --skip-admin-emails --email=admin@bearstech.com
<!-- gh-comment-id:283014030 --> @gawel commented on GitHub (Feb 28, 2017): No, but you can send mails to a specified address. I'm using this crontab instead of the default one: ``` @weekly $HOME/vtenv/bin/python $HOME/bearboa/manage.py modo check_mx --skip-admin-emails --email=admin@bearstech.com ```
Author
Owner

@tonioo commented on GitHub (Mar 2, 2017):

@janvalo That's strange because, checking the code, notification for 1 domain should be only sent to its administrators... Can you describe your context a bit more please?

<!-- gh-comment-id:283619652 --> @tonioo commented on GitHub (Mar 2, 2017): @janvalo That's strange because, checking the code, notification for 1 domain should be only sent to its administrators... Can you describe your context a bit more please?
Author
Owner

@tonioo commented on GitHub (Mar 7, 2017):

@janvalo ping

<!-- gh-comment-id:284742264 --> @tonioo commented on GitHub (Mar 7, 2017): @janvalo ping
Author
Owner

@janvalo commented on GitHub (Mar 8, 2017):

@tonioo I had a closer look at the emails and noticed that only domains that did not have any domain administrator assigned were being sent to all of our Domain Admin users. The issue was resolved by assigning a general Domain Admin to those accounts. Is there a possibility to assign Domain Administrator privileges to Super Admins, so they would receive notifications for domains that do not have Domain Admins instead of every Domain Admin user by default?

I tried suggestion by @gawel but it sends only email to Super Admin.
Thanks

<!-- gh-comment-id:284992194 --> @janvalo commented on GitHub (Mar 8, 2017): @tonioo I had a closer look at the emails and noticed that only domains that did not have any domain administrator assigned were being sent to all of our Domain Admin users. The issue was resolved by assigning a general Domain Admin to those accounts. Is there a possibility to assign Domain Administrator privileges to Super Admins, so they would receive notifications for domains that do not have Domain Admins instead of every Domain Admin user by default? I tried suggestion by @gawel but it sends only email to Super Admin. Thanks
Author
Owner

@tonioo commented on GitHub (Mar 8, 2017):

@janvalo Have you tried with a newer version of Modoboa?

<!-- gh-comment-id:285016090 --> @tonioo commented on GitHub (Mar 8, 2017): @janvalo Have you tried with a newer version of Modoboa?
Author
Owner

@janvalo commented on GitHub (Mar 8, 2017):

@tonioo Not yet. I will give it a try tonight.

<!-- gh-comment-id:285020959 --> @janvalo commented on GitHub (Mar 8, 2017): @tonioo Not yet. I will give it a try tonight.
Author
Owner

@tonioo commented on GitHub (Mar 17, 2017):

@janvalo ping

<!-- gh-comment-id:287313013 --> @tonioo commented on GitHub (Mar 17, 2017): @janvalo ping
Author
Owner

@janvalo commented on GitHub (Mar 20, 2017):

@tonioo apologies for the delay, I managed to upgrade to version 1.7.0 All seems to be working without any problems. Thanks for your help.

I was wondering if there is a way for the superadmins to send custom messages/notification to users or specified user groups?

<!-- gh-comment-id:287850687 --> @janvalo commented on GitHub (Mar 20, 2017): @tonioo apologies for the delay, I managed to upgrade to version 1.7.0 All seems to be working without any problems. Thanks for your help. I was wondering if there is a way for the superadmins to send custom messages/notification to users or specified user groups?
Author
Owner

@tonioo commented on GitHub (Mar 21, 2017):

@janvalo Great but please use 1.7.2, 1.7.0 contains bugs.

There is no such feature at the moment. Someone already asked for something similar (see #961), does it correspond to your need?

<!-- gh-comment-id:288007258 --> @tonioo commented on GitHub (Mar 21, 2017): @janvalo Great but please use 1.7.2, 1.7.0 contains bugs. There is no such feature at the moment. Someone already asked for something similar (see #961), does it correspond to your need?
Author
Owner

@janvalo commented on GitHub (Mar 22, 2017):

@tonioo Thanks, will update to 1.7.2

Yes, that feature would be in the scope of functionality that I am looking for, maybe with ability to create email templates and simple scheduler for sending these emails would be great. Any plans to add such functionality in the foreseeable future?

<!-- gh-comment-id:288440810 --> @janvalo commented on GitHub (Mar 22, 2017): @tonioo Thanks, will update to 1.7.2 Yes, that feature would be in the scope of functionality that I am looking for, maybe with ability to create email templates and simple scheduler for sending these emails would be great. Any plans to add such functionality in the foreseeable future?
Author
Owner

@tonioo commented on GitHub (Mar 27, 2017):

@janvalo Nothing defined yet but it could be interesting. Do you plan to use Modoboa for marketing campaigns? 😄

<!-- gh-comment-id:289444567 --> @tonioo commented on GitHub (Mar 27, 2017): @janvalo Nothing defined yet but it could be interesting. Do you plan to use Modoboa for marketing campaigns? :smile:
Author
Owner

@janvalo commented on GitHub (Mar 28, 2017):

@tonioo Nope, just for small volume email /internal notifications to our users.

<!-- gh-comment-id:289812272 --> @janvalo commented on GitHub (Mar 28, 2017): @tonioo Nope, just for small volume email /internal notifications to our users.
Author
Owner

@tonioo commented on GitHub (Mar 29, 2017):

@janvalo Ok. I close this issue since the original problem looks solved.

<!-- gh-comment-id:290011032 --> @tonioo commented on GitHub (Mar 29, 2017): @janvalo Ok. I close this issue since the original problem looks solved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#884
No description provided.