For all of these, first SSH to the server and change directory:
cd /opt/mailcow-dockerized
After editing a file, Ctrl+O to save and Ctrl+X to exit.
And at the end you need to restart rspamd:
sudo docker compose restart rspamd-mailcow
Disable DKIM Rejection, URIBL Greylisting and Bad Reputation Policies
Error messages in rspamd are R_DKIM_REJECT, URIBL_GREY and BAD_REP_POLICIES.
sudo nano data/conf/rspamd/local.d/groups.conf
symbols {
"R_DKIM_REJECT" {
weight = 0.0;
}
"R_DKIM_TEMPFAIL" {
weight = 0.0;
}
"R_DKIM_PERMFAIL" {
weight = 0.0;
}
"URIBL_GREY" {
weight = 0.0;
}
"BAD_REP_POLICIES" {
weight = 0.0;
}
"MID_CONTAINS_FROM" {
weight = 0.0;
}
}Disable Spamhaus RBL
Error message in rspamd shows SPF or Spamhaus error.
sudo nano data/conf/rspamd/local.d/rbl_group.conf
symbols {
"RBL_SPAMHAUS_XBL" {
enabled = false;
}
"RBL_SPAMHAUS_PBL" {
enabled = false;
}
"RBL_SPAMHAUS_CSS" {
enabled = false;
}
"RBL_SPAMHAUS_DROP" {
enabled = false;
}
}Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article