Skip to main content

SpamAssasin - how to block spamhaus listed IPs as cpanel user?

Comments

6 comments

  • cPanelAnthony
    Hello! The following article explains how you can enable RBL-filtering for your server, using something such as SpamHaus. Can you let me know if this helps?
    0
  • postcd
    I have no root access and wondering how to do it so the RBL-only mail is deleted and NOT also mail that just fits some spam score.
    0
  • cPanelAnthony
    I'm not sure how you could do this without root access, but the RBL-blocking should work that way.
    0
  • postcd
    Linked documentation apply on a WHM, not a cPanel i guess. In my case this is shared hosting server so i bet admin would not be willing to delete all RBL originated mail for everyone and cpanel has no option for user to enable such removal.. How to solve it? Ideas: - E-mail client has some addon for this task? (i was searching IPs got from RBL (seems too complicated)
    0
  • cPanelAnthony
    Hello! It does sound like those would be potential solutions. Has your shared hosting provider given any input?
    0
  • Handssler Lopez
    As I see it, you only have access as administrator of cPanel not WHM. - Have you already asked your hosting provider if you can add that RBL? currently I only configure (for me it is enough): bl.spamcop.net zen.spamhaus.org Totally apart: if you only want cPanel to filter emails with blacklisted ips and not those rated as spam, you just have to deactivate this option cPanel> home> Spam Filters> Automatically Delete New Spam (Auto-Delete) this setting will continue to mark emails as spam but will not delete them. At the server level, the RBLs have priority over any filter, so if a domain is whitelisted by the server but at the same time it is blacklisted by an RBL, the mail will be filtered without delivering it to the final cPanel user. I hope this can help you
    0

Please sign in to leave a comment.