Hello, I’m currently trying to set up an email server with the help of emailwiz, but I’m encountering issues with OpenDKIM not being able to access key files.
Permissions of the key folder (in /etc/postfix/dkim/
):
drw-r----- 2 opendkim opendkim 4096 Jul 30 19:45 magmaus3.eu.org
Key permissions:
-rw-r----- 1 opendkim opendkim 1679 Jul 30 19:45 mail.private
-rw-r----- 1 opendkim opendkim 505 Jul 30 19:45 mail.txt
And when trying to open the files as opendkim, I get Permission denied
errors.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
What are the rights of the directories? (dkim and postfix directory)
I see only r for group, not other, so I’m expecting /etc/postfix to be 750 as well for group postfix. (is opendkim user member of that group?) You need 751 (x for other on dir) to be able to get to directories in that directory.
Previous permissions:
Permissions for the
/etc/postfix
:And the contents:
And for
/etc/postfix/dkim
folder:deleted by creator
I have it in opendkim and postfix groups, and it can read files (but it can’t write them)
deleted by creator