SpamAssassin Problems
Hey everyone.
I am having some issues with SpamAssassin. I have my own VPS which has a WHM/CPanel Installation that I use to manage a handful of domains.
When I try to enable SpamAssassin in CPanel, I get the following message:
Most online sources advise that I run sa-update from the command line. This is what I get:
So then I tried:
I am now kind of at my wits end. The domains on this server are almost all receiving massive volumes of spam, so I really want it activated. Does anybody have any advice for me? Thanks, Ruan
config: no rules were found! Do you need to run 'sa-update'? at /usr/local/cpanel/3rdparty/perl/514/bin/spamassassin line 407.Most online sources advise that I run sa-update from the command line. This is what I get:
root@ruan [~]# sa-update
-bash: sa-update: command not foundSo then I tried:
root@ruan [~]# /usr/local/cpanel/3rdparty/perl/514/bin/sa-update
channel: no 'mirrors.updates.spamassassin.org' record found, channel failedI am now kind of at my wits end. The domains on this server are almost all receiving massive volumes of spam, so I really want it activated. Does anybody have any advice for me? Thanks, Ruan
-
Hello :) Please review the following file on your system: /etc/resolv.conf You may need to remove your existing resolvers if they are not working and use public resolvers such as 8.8.8.8 and 8.8.4.4. Thank you. 0 -
]Please review the following file on your system: /etc/resolv.conf You may need to remove your existing resolvers if they are not working and use public resolvers such as 8.8.8.8 and 8.8.4.4.
Thanks cPanelMichael. I did as you suggested, and the contents of my resolv.conf file now look like this:nameserver 8.8.8.8 nameserver 8.8.4.4
There is no error message when I run the below anymore: /usr/local/cpanel/3rdparty/perl/514/bin/sa-update But now, when I try to enable SpamAssassin in the cPanel, I get the following:Nov 14 18:31:13.398 [3002] warn: config: created user preferences file: /home/cobalt/.spamassassin/user_prefs Nov 14 18:31:15.429 [3002] warn: razor2: razor2 check failed: Invalid argument razor2: razor2 had unknown error during get_server_info at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/Razor2.pm line 187. at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Plugin/Razor2.pm line 330. X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ruan.dedicated.co.za X-Spam-Level: **** X-Spam-Status: No, score=4.5 required=5.0 tests=MISSING_DATE,MISSING_HEADERS, MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,NO_RECEIVED,NO_RELAYS shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 From: "Apache SpamAssassin" Apache SpamAssassin" has been enabled on this account.
Any suggestions? Regards, Ruan0
Please sign in to leave a comment.
Comments
2 comments