Message not signed with DKIM

So i should convert all all this

smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
milter_default_action = accept

tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map

smtpd_milters = inet:127.0.0.1:11332
non_smtpd_milters = inet:127.0.0.1:11332

to this

non_smtpd_milters = inet:127.0.0.1:8891, inet:127.0.0.1:11332
milter_default_action = accept

or just the second and third line in the first thing?

If i do this the email still not signed by DKIM

smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = inet:127.0.0.1:8891, inet:127.0.0.1:11332
milter_default_action = accept

tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map

smtpd_milters = inet:127.0.0.1:11332
non_smtpd_milters = inet:127.0.0.1:8891, inet:127.0.0.1:11332

But if i do this emails are successully signed. But in the second option which is working milter is still activated?

smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = inet:127.0.0.1:8891, inet:127.0.0.1:11332
milter_default_action = accept

tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map

#smtpd_milters = inet:127.0.0.1:11332
#non_smtpd_milters = inet:127.0.0.1:8891, inet:127.0.0.1:11332

It should look like this

tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map

### Please do not edit this line, editing this line could break configurations
smtpd_milters = inet:127.0.0.1:8891, inet:127.0.0.1:11332
non_smtpd_milters = $smtpd_milters
milter_default_action = accept

Also disable dkim_signing in rspamd as i mentioned above.

1 Like

Hello @usmannasir @eakteam , i have tried all the recommended solutions outlined here. still didn’t fix the DKIM problem, and emails going to spam on yahoo, AOL and the likes i could use your assistance