mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.61k stars 1.16k forks source link

No DKIM signature when sending via SMTP client #86

Closed zero-one-devteam closed 7 years ago

zero-one-devteam commented 7 years ago

Hi,

I tested the dkmi signature with sending a mail to check-auth@verifier.port25.com. When doing this via SOGo's webmail, dkim result is passed. When doing this via email client (port 587 smtp), the message is not signed.

What could be the reason?

andryyy commented 7 years ago

Can you post docker-compose logs rspamd-mailcow output after trying to send an email from port 587?

zero-one-devteam commented 7 years ago

Sorry, my mistake. I used nginx as a proxy before and in this configuration DKIM did not work. Thus i changed configuration to default, but container was built from cache. Removing postfix container and re-building it solved my issue. Sorry!

zero-one-devteam commented 7 years ago

One additional information: If using nginx before postfix as an SMTP proxy, the user authentication is done via ngix (one has to provide a script for this). There is no second authentication done at postfix (usually not needed, other than with IMAP). In the dkim.conf of rspamd no dkim signature will be added to non authenticated users. So when using a proxy, you'll have to modify this setting.