Jump to content
Outernaut

SpamCop on cPanel - do-able?

Recommended Posts

Posted (edited)

QUESTION:
May I set up some anti-spam system using SpamCop on my hosted accounts via cPanel that will scan incoming email and mark and/or delete/report known spam?

PRELUDE:
Assume:

  • there are 20 domains under a shared-hosting reseller account. Each domain has anywhere between 1 to 10 email accounts.
  • each domain has it's own cPanel
  • each has a email system (see Image 1 below)
    image.png.ea770b42665c71218e2289e3c7e3a30e.png
     
  • spam Filters is powered by Apache SpamAssassin™
  • Professional spam Filter is a separate charge many business-card size domains don't want to pay for.

SUMMARY:
As it is, there is a great amount of spam even with SpamAssassin set to 2.5. 
I know very little about automating SpamCop to detect, report, and delete spam on the server side; ego my question.
I seem to remember being told that SpamHause, and Assassin both use SpamCop somehow. How? :)

CONCLUSION:

I would like to have SpamCop working via the server to delete known spam before it gets to the client email, and/or report spam known by client. 

~O~

Edited by Outernaut
posted too soon by accident - slip of the hot-keys.

Share this post


Link to post
Share on other sites

I am not familiar with cPanel, but I am with SpamAssassin.  I currently have version 3.4 and there is a a rule in it called RCVD_IN_BL_SPAMCOP_NET that brings in block list functionality.  I was looking at 

 and the version 2.6 appears to have the rule in it.  Later versions all seem to have it.  Is this the type of integration you are looking for?  I am not sure if you have a special score for it or would be using the default score.

Share this post


Link to post
Share on other sites
On 7/23/2020 at 7:50 PM, gnarlymarley said:

 Is this the type of integration you are looking for?  I am not sure if you have a special score for it or would be using the default score.

Thank you @gnarlymarley  I very much appreciate your time.
I've no idea if that is what I'm looking for. If it would be accessible, which it is not, then maybe - IF it will let me block IP addresses - as in 170.###.###.###. That link-post has over 4,500 words to digest and most of it is geekinese. I traversed all of the cPanel>spam Filters (told by host that spam Assassin is spam Filters), but could not find any "rule" you allude to, or place to add it. I perused  "New SpamAssassin rules" and frankly, it's way over my head, not my forte, and time is not on my side.

As it is, if you look at my OP, under "Email" in the image, is all the Email functions available to us. I find it very odd that there is no ability to block/ban email from/to ip addresses. Since this spammer uses a few of the ip addresses range in 170.* and uses a new email address in each spam.

~O~

Share this post


Link to post
Share on other sites
On 8/1/2020 at 1:24 PM, Outernaut said:

IF it will let me block IP addresses - as in 170.###.###.###.

I suspect you might be able to do that with the following but the manual is not completely clear on how:

blacklist_from [170.0.0.0/8]

Since I run my own name server, I setup my own black list there such as:

*.170.blacklist.local. IN A 127.0.0.1
*.170.blacklist.local. IN TXT "blocked whole range 20200802"

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×