mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
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.
9 lines
115 B
Text
9 lines
115 B
Text
use = ["spam-header"];
|
|
|
|
routines {
|
|
spam-header {
|
|
header = "X-Spam";
|
|
value = "Yes";
|
|
remove = 1;
|
|
}
|
|
}
|