Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DKIM_AUTOGENERATE generates files with mode 600 owned by root:root #39

Closed
pedroetb opened this issue Oct 21, 2020 · 2 comments
Closed

Comments

@pedroetb
Copy link

pedroetb commented Oct 21, 2020

With autogenerate configuration for DKIM keys, files get created with root owner and group, and then they can't be read by opendkim: opendkim[84]: can't load key from /etc/opendkim/keys/example.org.private: Permission denied

@bokysan
Copy link
Owner

bokysan commented Oct 22, 2020

Thank you for your report. I will check.

bokysan added a commit that referenced this issue Oct 24, 2020
Private keys generated with `DKIM_AUTOGENERATE` were created with
the root account and as such were not readable by OpenDKIM.

This fix will reown the created files to the `opendkim` user.
bokysan added a commit that referenced this issue Oct 24, 2020
@bokysan
Copy link
Owner

bokysan commented Oct 24, 2020

This should be resolved in the latest master.

@bokysan bokysan closed this as completed Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants