Knowledgebase
Portal Home > Knowledgebase > Articles Database > Blocking and Sorting spam with MailScanner on Exim/cPanel
Blocking and Sorting spam with MailScanner on Exim/cPanel
Posted by Chris`, 01-07-2015, 07:39 PM Hi all, I am running a medium size shared hosting server. We currently get around 20,000 messages of spam per day. We are able to detect it and discard most of it but I would rather sort it into the users Junk folder. As of now, it's either discarding it to pre-pending {Spam?} to the email subject line. I found some information about adding a system wide filter into the directory: /usr/local/cpanel/etc/exim/sysfilter/options/ So I created this: But doesn't seem to be doing anything. The goal is to filter messages that start with "{Spam" into the "Junk" folder relevant the email address account it was sent to. Is there a better way to do this, or does anyone know how to write the filter correctly?
Add to Favourites Print this Article
Also Read