Warning when enabling Apache SpamAssassin

AdamDresch

Well-Known Member
Jun 22, 2006
80
0
156
Hi all.

Trying to enable spam assassin for the first time on a users account in cpanel and I'm getting:

Mar 13 23:54:28.042 [19061] warn: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/AskDNS.pm in @INC (@INC contains: lib /usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib/i386-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/514/lib/perl5/5.14.3/i386-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib/perl5/5.14.3 /opt/cpanel/perl5/514/site_lib/i386-linux-64int /opt/cpanel/perl5/514/site_lib) at (eval 91) line 1.

X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on server.xxxxxxxxxxxx

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 version=3.3.2

From: "Spam Assassin" <[email protected]>



Apache SpamAssassin™ has been enabled on this account
It shows as Enabled on the spam assassin page, but I'm not sure after that warning
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Re: Warning when enabling Spam assassin

Hello :)

The error message indicates you are using the AskDNS plugin. This is not included by default with the version of SpamAssassin packaged with cPanel. Look for an entry for it via a command such as:

Code:
grep AskDNS /etc/mail/spamassassin/*
You could then backup the file that includes a reference to that plugin, and edit it to comment out the entries associated with AskDNS.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

AskDNS is not supported with the SpamAssassin package included in cPanel. What method did you use to install SpamAssassin?

Thank you.