mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #2589] Dovecot permisson denied error when trying to delete identities #1646
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1646
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jcharles-cj on GitHub (Aug 30, 2022).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2589
Failed to retrieve mailbox location (b"doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 13: ssl_cert: Can't open file /etc/letsencrypt/live/mydomain.com/fullchain.pem: Permission denied\n")This is a fresh install of Modoboa and I have tried changing the permissions and error still persists.
System:
Debian 11
Dovecot version: 2.3.13 (89f716dc2)
@jcharles-cj commented on GitHub (Aug 30, 2022):
Update: I did this workound and it works now, but is it appropriate?
https://modoboa-wiki.herokuapp.com/en/dovecot-failed-to-retrieve-mailbox-location-error#fix-by-using-commands
@Spitfireap commented on GitHub (Aug 30, 2022):
Duplicate of #2570, the relevant PR is here modoboa/modoboa-installer#427 :)
@ankeshanand1 commented on GitHub (Aug 4, 2023):
I am having the same issue. Any fixes? It was working so far until I tried deleting domain and mailboxes.
@Spitfireap commented on GitHub (Aug 4, 2023):
@ankeshanand1 Can you check that
/etc/dovecot/conf.d/10-ssl.confcontains!include_try /etc/dovecot/conf.d/10-ssl-keys.tryand that/etc/dovecot/conf.d/10-ssl-keys.tryhas 600 permission ?@ankeshanand1 commented on GitHub (Aug 4, 2023):
@Spitfireap Here is the error coming from modoboa:
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 52: ssl_cert: Can't open file /etc/letsencrypt/live/server.somehostname.com/fullchain.pem: Permission denied\n10-ssl.confdoes contain!include_try /etc/dovecot/conf.d/10-ssl-keys.trybut it's commented out and/etc/dovecot/conf.d/10-ssl-keys.tryis 600.10-ssl.confconfig for SSL:dovecot is able to start successfully without any permission denied errors but Modoboa shows error when deleting the domains or identities.
@ankeshanand1 commented on GitHub (Aug 4, 2023):
Surprisingly, I am able to delete new domains that I just added but not the old ones!
@ankeshanand1 commented on GitHub (Aug 4, 2023):
I logged into vmail user and found out that vmail was infact not able to access /etc/letsencrypt when user owners were dovecot:dovecot whereas it worked fine earlier. Created a new group ssl, added all relevant owners to the group, made vmail the owner of /etc/letsencrypt and all is well now!