Mailscanner on cPanel, send spam to spam/junk folder globally

Mark Sapiro mark at msapiro.net
Thu Dec 17 00:47:48 UTC 2020


On 12/16/20 4:29 PM, Mark Sapiro wrote:
> On 12/15/20 1:36 PM, Donato Pisani wrote:
>> Hello everyone,
>>
>> I hope you are fine.
>>
>> I am having some problems with mailscanner inside a server with cPanel.
>>
>> Mailscanner adds the message "{Spam?}" to the subject of the message and leaves it in inbox, I know that with a filter in each account generated by cPanel I can make it send to another folder if the subject contains that phrase, but it becomes unsustainable when there are too many accounts on the server.
>>
>> Is there a way to filter globally for existing and new domains?
> 
> 
> See
> <https://www.mailscanner.info/MailScanner.conf.index.html#Spam%20Actions> and
> <https://www.mailscanner.info/MailScanner.conf.index.html#High%20Scoring%20Spam%20Actions>
> 
> You want these to include `store` and not include `deliver`.


Maybe you also want `forward` if you want them sent to a different address


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list