[Rspamd-Users] How to change order when dkim signing outgoing mails with rspamd
cr at ncxs.de
Sun Mar 17 19:43:30 UTC 2019
Basically DKIM signing (and so the problem) only applies to outgoing
mails. So you have 2 options:
- let Rspamd scan the mail completely after Postfix has change it - like
it would be done by a content_filter setting
- run Rspamd 2 times. First a normal scan without dkim signing and
second only with dkim signing. You can use settings for that.
On the Postfix part you have to create another smtpd in the master.cf
and set this one as content_filter at the submission/smtps config part.
You can use the milter_macro_daemon_name setting to send over a Rspamd
settings id (look out for MTA-Tag).
Also you need to move the milter parameter to master.cf
Untested and maybe incomplete (for option 1):
smtp inet n - n - - smtpd
smtps inet n - n - - smtpd
127.0.0.1:10028 inet n - n - - smtpd
On 17.03.19 11:14, Michael Ludwig wrote:
> Maybe this could achieved, by using user settings local.d/settings.conf. as
> described on this page: https://rspamd.com/doc/configuration/settings.html
> But I have too less knowledge about rspamd to get this done.
> Is is possible for you to give me a hint? Where can I start?
More information about the Users