You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DKIM key generated in PKCS#8 format on first boot — dkimpy cannot parse it, all outbound signing crashes #120
On first boot the DKIM private key under /appdata/dkim/dkim.key is generated in PKCS#8 format (-----BEGIN PRIVATE KEY-----), which is the OpenSSL 3.x default. SimpleLogin's DKIM library (dkimpy) can only parse the traditional PKCS#1 format (-----BEGIN RSA PRIVATE KEY-----). As a result, every outbound mail that needs a DKIM signature crashes, and the web UI returns HTTP 500.
This blocks the entire first-run flow: the account activation email, "resend activation", and "forgot password" all fail, so a new self-hosted instance cannot complete sign-up out of the box.
After a container restart, outbound signing works.
Suggested fix
Generate the DKIM key in traditional PKCS#1 format at first boot, e.g. openssl genrsa piped through openssl rsa -traditional, or run the conversion automatically if the existing key is detected as PKCS#8.
Activity