NethServer Version: 7.9
Module: RSPAMD
Hi
I’m aware NS7 is old/obsolete, but I have one client usiing it.
Now I have a small problem: a BIG supplier of them is sending e-mail using MailChimp and those e-mail are going to SPAM.
I found out some instructions about how to deal with this but not sure if I’ll not break ALL e-mail functions!
The instructions from IA at Google Search
are:
In /etc/rspamd/local.d/multimap.conf or a similar location
custom_header_check {
type = “header”;
header = “X-My-Custom-Header”;
map = “/etc/rspamd/local.d/custom_header_map.map”;
symbol = “CUSTOM_HEADER_SYMBOL”;
}
Then, create /etc/rspamd/local.d/custom_header_map.map with entries like:
Código
^Value-To-Match$ 10.0 # Assign a score of 10.0 if header matches
So I think I should create something like that in /etc/e-smith/templates**-custom**/etc/rspamd/local.d/multimap.conf/15MailChimp (not sure if in -custom or not, neither if I create a new 15MailChimp file or just copy the 10base file
/etc/rspamd/local.d/multimap.conf
custom_header_check {
type = "header";
header = "X-MC-User";
map = "/etc/rspamd/local.d/MailChimp.map";
symbol = "MailChimp";
}
Then, create /etc/rspamd/local.d/MailChimp.map with entries like:
Código
^c24c5deb2f7d246c4e30f8403$ 20.0 # Syngenta MailChimp user is NEVER SPAM
I’d like an expert tell me how implement this new MailChimp User filter.
I don’t know if this is fine and do not know how to add another user in filter (just add one extra line with X-MC-User info?
I think this would be GREAT to allow MailChimp trusted users to send e-mail to our clients.
Thanks
Jáder

