Create milter_headers.conf

This file define a header : X-Spam which will be added to mail considered as spam by rspamd.

This configuration is defined here : https://rspamd.com/doc/modules/milter_headers.html and as of the time I'm creating this PR, this documentation page is not up-to-date because X-Spam was supposed to be added when extended_spam_headers is set to True and it's not the case anymore since 1.6.2.

This header is being used by rspamd.sieve which we push into dovecot in order to put spammy e-mails in Junk folder automatically.
This commit is contained in:
taziden 2017-10-02 13:44:41 +02:00 committed by Laurent Peuch
parent efa690bd52
commit 0784917573

View file

@ -0,0 +1,9 @@
use = ["spam-header"];
routines {
spam-header {
header = "X-Spam";
value = "Yes";
remove = 1;
}
}