Feature #2990
Dovecot admin master user
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-mail-server | |||
Target version: | v6.6 | |||
Resolution: | NEEDINFO: | No |
Description
With admin in LDAP (#2492), we could now set admin as Dovecot master user.
Typical scenario:- fix Sieve scripts other users
- fix ACLs for shared folders
Associated revisions
dovecot/AdminIsMaster prop implementation. Refs #2990
The new prop is driven from UI, by Email > Mailboxes page.
It configures dovecot to read use dovecot-master PAM service as master-user passdb.
dovecot-master PAM service allows access from admin (uid=500) user only.
mail-common: include NethServer_Module_Mail_*.rst help files. Refs #2990
Help: imported Mailboxes page online help. Refs #2990
mail: added Dovecot master-user paragraph. Refs #2990
mail: added example for "Admin can log in as another user". Refs #2990
Help: added "Admin can log in as another user" checkbox description. Refs #2990
History
#1 Updated by Giacomo Sanchietti over 6 years ago
- Target version set to ~FUTURE
#2 Updated by Filippo Carletti over 6 years ago
- Target version changed from ~FUTURE to v6.6
#3 Updated by Giacomo Sanchietti over 6 years ago
- Category set to nethserver-mail-server
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
#4 Updated by Davide Principi about 6 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Davide Principi
- % Done changed from 20 to 30
#5 Updated by Davide Principi about 6 years ago
- Tracker changed from Enhancement to Feature
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 30 to 60
Test case 1
- upgrade to modified version
- verify
admin
can't login as master user - go to
Email > Mailboxes
page - enable
Admin can log in as another user
checkbox and save - verify
admin
can login as master user
To log in as master user, append *admin
to user login name (i.e. userlogin
) and provide admin's password (i.e. adminpassword
):
# nc -C localhost 143 * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR L... AUTH=LOGIN] Dovecot ready. A LOGIN userlogin*admin adminpassword A OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR L... SPECIAL-USE ACL RIGHTS=texk] Logged in
Test case 2
Check the (English) help document includes the Mailboxes section correctly
#6 Updated by Davide Principi about 6 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
In nethserver-testing:
nethserver-mail-common-1.4.5-1.10.geacb265.ns6.noarch.rpmnethserver-mail-server-1.8.9-1.5.g993ba34.ns6.noarch.rpm
nethserver-mail-server-1.8.9-1.5.g21e7c79.ns6.noarch.rpm
PACKAGER NOTE
Documentation PR:
https://github.com/NethServer/nethserver-docs/pull/72
#7 Updated by Vasco Castelo Branco about 6 years ago
- Assignee set to Vasco Castelo Branco
#8 Updated by Vasco Castelo Branco about 6 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Vasco Castelo Branco) - % Done changed from 70 to 90
#9 Updated by Davide Principi about 6 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
In nethserver-updates:
nethserver-mail-server-1.9.0-1.ns6.noarch.rpm
Documentation:
http://docs.nethserver.org/en/latest/mail.html#index-10