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

ssl container startup fails, dkim dmarc #53

Closed
kzpm opened this issue Oct 10, 2018 · 3 comments
Closed

ssl container startup fails, dkim dmarc #53

kzpm opened this issue Oct 10, 2018 · 3 comments

Comments

@kzpm
Copy link

kzpm commented Oct 10, 2018

Your docker-mailserver runs nice on my machine.

I have a few questions:

  1. When I issue docker start or docker restart jeboehm/mailserver-ssl:latest container the startup exits almost immediately.
    docker logs 7ecb6ed322h shows the following info:
    `
    Generating a 2048 bit RSA private key
    No SSL certificate found. Creating a new one...
    ........+++
    ...............................................+++
    writing new private key to '/media/tls/mailserver.key'

Signature ok
subject=/C=DE/ST=Northrhine-Westfalia/L=Duesseldorf/O=Mail/OU=Mail/CN=mail.winlin.nl
Getting Private key
SSL certificate was successfully created! Exiting...
SSL certificate found. Exiting...
SSL certificate found. Exiting...
SSL certificate found. Exiting...
SSL certificate found. Exiting...
SSL certificate found. Exiting...
SSL certificate found. Exiting...
`
My question:
How to enable the ssl-container?

Mailing to domains outside the domain I created the mailserver for, fails.
I suppose that it has to do with opendkim, dmarc and spf.
How can I setup dkim, dmarc and spf in my isp-dns zone?

@jeboehm
Copy link
Owner

jeboehm commented Oct 11, 2018

Hi kzpm,

the SSL container is designed to run only once when no official certificate exists. So everything is fine here.

In general there should be no problems when you don't have DMARC & stuff set up. The logs of the mta container would help here.
Currently, neither DMARC or OpenDKIM are supported by docker-mailserver.

@tlappe
Copy link

tlappe commented Mar 12, 2019

As far as I understand, rspamd can already sign e-mails with DKIM.

https://rspamd.com/doc/modules/dkim_signing.html

https://workaround.org/ispmail/stretch/prevent-spoofing-dkim/

So, is that possible with docker-mailserver? And if so, how and where do I configure it?

@jeboehm
Copy link
Owner

jeboehm commented May 1, 2019

Hi @tlappe ,
currently this is not possible, because the image does not support it.

@jeboehm jeboehm mentioned this issue May 1, 2019
Closed
@jeboehm jeboehm closed this as completed May 2, 2019
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

3 participants