huan / docker-simple-mail-forwarder

Simplest and Smallest Email Forward Service based on Docker.
https://hub.docker.com/r/zixia/simple-mail-forwarder/
Apache License 2.0
544 stars 88 forks source link

Feature Request: Specify DKIM Key Size #107

Closed steilerDev closed 2 years ago

steilerDev commented 2 years ago

Hi All,

I have the issue that my DNS provider (hover) does not support 2048 long DKIM keys (they have a size limit on the TXT entry), which is why I need SMF to generate 1024bit long DKIM keys.

I have currently adjusted my local entrypoint.sh (in line 244) to support this. Would it be possible to add an environment variable for this?

Thank you!

huan commented 2 years ago

I'd like to accept a PR with a good-named environment variable for configuring this.

steilerDev commented 2 years ago

See PR

huan commented 2 years ago

Thank you very much for your contribution!