NethServer Version: 7.6.1810
Module: nethserver-mail
, nethserver-webtop
, account provider: LDAP (local)
Hi all,
I have the following scenario: a NS instance, with local LDAP account provider and a mailserver plus Webtop. I have already configured all the users that are entitled to have a mail address on the system, now I would like to modify the default behaviour of NS and deny the creation/configuration of a mailbox for a new user by default.
Of course, I should be able to enable the mailbox for a single user on demand (then it stays enabled) and (best if) via NethGUI. I already thought on disabling the Access to email services flag once the user is created, but:
- A new mailbox is created anyways and the server will deliver mails to the mailbox even if not consulted;
- The server should respond with a SMTP error message for user unknown instead;
- It is an additional passage I have to remember to do every new user, and since I wouldn’t be the only one to administer the instance, I cannot trust that every administrator will do it.
Have you got any ideas on how to deal with it? What’s the correct way to implement this (completely reverse, I fully understand) behaviour within NS? If you can provide steps to do it, I may implement it somehow and release it
Thanks in advance