Closed tyranron closed 8 years ago
Tried to rebuild image on top debian:stretch
and everything works fine.
So moving OpenDKIM image to debian
... 😢
Need to post this issue somehow to Alpine packages bug tracker before closing it.
The reason was in libmilter
segfaults and was fixed with this commit.
Now it works okay so we can revert OpenDKIM image back to Alpine.
OpenDKIM verifies incoming message ok, but fails and crashes for outgoing (submission port).
Steps to reproduce
make dkim-config && make ssl-cert
docker-compose up
mailserver-nginx
container (127.0.0.1
or%dockermachine_ip%
depending on your Docker installation) and log into Roundcube Webmail astest@domain.com
user withqweqweqwe
password.mailserver-opendkim
container, you see something likeSep 30 08:36:27 b00868c2bab6 mail.notice opendkim[238]: terminated with signal 11, restarting
OpenDKIM container logs
Postfix container logs
OpenDKIM configuration
Conclusions
The problem is definitely in OpenDKIM. Verification goes fine without issues, but on signing it just crashes. The bad thing is that OpenDKIM is completely silent (with all debugging turned on) about crashing reason. Not even temporary files (option
KeepTemporaryFiles
) are created.