Hello, I would like to see rspamd score in all email header. I saw that this will help. Code: echo "extended_spam_headers = true;" > /etc/rspamd/override.d/milter_headers.conf But, it didn't work. Email with low score have no rspamd header in email header... I read that https://rspamd.com/doc/modules/milter_headers.html But, I can't exactly figure out if I need to add Code: authenticated_headers = ["authentication-results"]; skip_authenticated = false; and what exactly for authenticated_headers ? Many thanks for your help
Did you restart rspamd after the change? Does spam headers appear in mails with high score? What I do is add extended_spam_headers = true; in milter_headers.conf from local.d instead from override.d, but maybe it's not the best way to do it because It dissapear every time rspamd is updated. Here's my local.d/milter_headers.conf: Code: use = ["x-spamd-bar", "x-spam-level", "x-spam-status", "authentication-results", "remove-headers"]; authenticated_headers = ["authentication-results"]; extended_spam_headers = true; routines { remove-headers { headers { "X-Spam" = 0; "X-Spamd-Bar" = 0; "X-Spam-Level" = 0; "X-Spam-Status" = 0; "X-Spam-Flag" = 0; } } }
Yes I don't know because for the moment no message are tagged as SPAM. I see in log that mails are scanned. But, it is very painful to link a mail and it's log... I will decrease spam score level I try your solution
I test It works well @recin Thanks a lot ! My conclusion is that Code: use directive is mandatory. On https://rspamd.com/doc/modules/milter_headers.html, I understand that 'use' is not mandatory... Mind the gap