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 do not work. The rights of opendkim folder are wrong #11

Closed
ghost opened this issue Apr 19, 2019 · 6 comments
Closed

DKIM do not work. The rights of opendkim folder are wrong #11

ghost opened this issue Apr 19, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 19, 2019

going into the docker container and execute

  • chown -R opendkim. /etc/opendkim
  • chmod go-rw /etc/opendkim/keys

helps. The problem is it is not persistent.

Sugesstion: Using a different folder to link the keys in the container. Doing the start the keys can be copied and processed. After this the rights can be changed without changing the rights in the host system

@bokysan
Copy link
Owner

bokysan commented Sep 24, 2019

I've though about this long and hard and I'm leaning towards not doing it.

E.g. with Kubernetes you can bind a ConfigMap folder and copying on the start won't reflect the changes and can lead to hard-to-spot issues.

Maybe a better solution would be to add support for custom init scripts where you could do this yourself, it needed.

@vicmosin
Copy link

@bokysan Any update regarding the issue? Custom scripts sounds more generic solution

@bokysan
Copy link
Owner

bokysan commented Feb 29, 2020

I will most likely fix this in the next update.

@vicmosin
Copy link

@bokysan any updates? Current docker image still has an issue

@bokysan
Copy link
Owner

bokysan commented Jul 1, 2020

Can you please try with the latest image from master, as opendkim.conf settings now include RequireSafeKeys=no, which shouldn produce this error anymore?

@bokysan
Copy link
Owner

bokysan commented Aug 20, 2020

Closing as this shouldn't be an issue anymore.

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