mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #1687] OpenDKIM no such file or directory; no permission #1329
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#1329
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 @danielsatanik on GitHub (Feb 28, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1687
Impacted versions
Steps to reproduce
Enable DKIM Signing
Current behavior
after just enabling
when I create a pem file with openssl genrsa etc. the following errors are shown
also this is what is written inside the public key in postgres
Expected behavior
creating a valid private and public key and signing mails
Video/Screenshot link (optional)
@tonioo commented on GitHub (Mar 1, 2019):
@danielsatanik Can you check permissions of the /var/lib/dkim folder? Which user runs the cron job in charge of generating DKIM keys? What is you OS?
@danielsatanik commented on GitHub (Mar 2, 2019):
@tonioo the folder is owned by root:root, that was also suggested, the OS I'm running this on is Ubuntu 18.04LTS, the opendkim user runs the cronjob.
Do you need more detailed information?
Edit:
It seems the /var/lib/dkim folder itself needed the opendkim user to have the permission to write the key file. Thus I fixed it by giving the opendkim group the rights now with
chmod g+w /var/lib/dkim