Open DNCD opened 3 months ago
I've got similar issue. My mail go to spam most of the time (DMARC set to quarantine wrong DKIM). Probably due to encoding issue. I fix the issue by stop using DKIM signature from SL directly.
I use OpenDkim or RSPAMD and let know SL to not doing it:
### ENV FILE
# DKIM_PRIVATE_KEY_PATH=/dkim.key
RSPAMD_SIGN_DKIM=true
It could be great to have that part working without the need of external tools. Or if it's not possible, then explain for self-hosting how to setup it using an external tools.
I've got similar issue. My mail go to spam most of the time (DMARC set to quarantine wrong DKIM). Probably due to encoding issue. I fix the issue by stop using DKIM signature from SL directly.
I use OpenDkim or RSPAMD and let know SL to not doing it:
### ENV FILE # DKIM_PRIVATE_KEY_PATH=/dkim.key RSPAMD_SIGN_DKIM=true
It could be great to have that part working without the need of external tools. Or if it's not possible, then explain for self-hosting how to setup it using an external tools.
Thanks for sharing your solution! It would be beneficial if this could work without relying on external tools. I will work on this this weekend. Thank You. I really appreciate it
I've got similar issue. My mail go to spam most of the time (DMARC set to quarantine wrong DKIM). Probably due to encoding issue.
I fix the issue by stop using DKIM signature from SL directly.
I use OpenDkim or RSPAMD and let know SL to not doing it:
### ENV FILE # DKIM_PRIVATE_KEY_PATH=/dkim.key RSPAMD_SIGN_DKIM=true
It could be great to have that part working without the need of external tools. Or if it's not possible, then explain for self-hosting how to setup it using an external tools.
@celogeek do you have any links to follow the installation? I set it up, but it's not signing outgoing emails for some reason.
For 1 domain, this one is pretty ok: https://wiki.debian.org/opendkim For multiple domain, then google is your friend. I need to write a tutorial, will try soon.
For 1 domain, this one is pretty ok: https://wiki.debian.org/opendkim
For multiple domain, then google is your friend.
I need to write a tutorial, will try soon.
Thank you appreciate your help
i'm still getting dkim fail
Authentication-Results: mx.google.com;
dkim=neutral (bad version)
Description:
Emails sent with
Content-Type: text/html
are failing DKIM checks, resulting in a "dkim=fail (body hash mismatch)" error. However, when emails are sent withContent-Type: text/plain
, they pass DKIM checks without any issues.Steps to Reproduce:
Expected Behavior:
Emails sent with
Content-Type: text/html
should pass DKIM checks just like emails sent withContent-Type: text/plain.
Actual Behavior:
Emails with
Content-Type: text/html
fail DKIM checks with the error "dkim=fail (body hash mismatch)", whereas emails with Content-Type: text/plain pass DKIM checks.