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

DKIM #19

Open SamMousa opened 7 years ago

SamMousa commented 7 years ago

It would be great to have DKIM support; getting messages signed is a requirement for most outgoing mail nowadays.

huan commented 7 years ago

Thanks for the suggestion.

I have no enough DKIM knowledge, could you provide more details about it? So we can study on it and see if there's someone is familiar with that.

SamMousa commented 7 years ago

More generic information at http://www.dkim.org/.

A common implementation used in combination with Postfix is OpenDKIM. It is configured as a Postfix Milter. Will look into it when I have time.

xriser commented 3 years ago

I have added SRS/DKIM Updated alpine/postfix version https://github.com/xriser/docker-simple-mail-forwarder

There are some issues with passing tests with startls, but in general, it is working for me.

huan commented 3 years ago

@xriser Hi, I believe you can find the solution from my PR at https://github.com/huan/docker-simple-mail-forwarder/pull/77/files#diff-3604839b35cb2b96128d4968e5bb0e1cR134

Recently I have upgraded SMF alpine base image, and I found that the timeout command has some breaking changes. (related: https://github.com/vishnubob/wait-for-it/pull/68)

dgraziotin commented 3 years ago

I think that this can be closed after #89.

huan commented 3 years ago

@dgraziotin Thank you very much for implementing this feature for the community!

@SamMousa Please help us to close this issue after you confirm that the DKIM works for you with the latest version of SMF. Thank you very much!