mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
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:
parent
efa690bd52
commit
0784917573
1 changed files with 9 additions and 0 deletions
9
data/templates/rspamd/milter_headers.conf
Normal file
9
data/templates/rspamd/milter_headers.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
use = ["spam-header"];
|
||||
|
||||
routines {
|
||||
spam-header {
|
||||
header = "X-Spam";
|
||||
value = "Yes";
|
||||
remove = 1;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue