Monday, February 14, 2011

spamd on server.testserver.com failed

cPanel Version - 11.28.64
root@server [~]# /usr/local/cpanel/cpanel -V
11.28.64-STABLE_51024
root@server [~]#
Spam Assassin Version - 3.003001
root@server [~]# perl -MMail::SpamAssassin -e 'print $Mail::SpamAssassin::VERSION."\n";'
3.003001
root@server [~]#

Noticed below kind a spamd failure alert on the server though spamd runs in the background
 
spamd failed @ Mon Feb 14 07:31:49 2011. A restart was attempted automagically.
Service Check Method: [check command]


Cmd Service Check Raw Output: Spamd is not running
Raw Output: Subject: Test spam mail (GTUBE)
Message-ID: GTUBE1.1010101@example.net
Date: Wed, 23 Jul 2003 23:30:00 +0200
From: Sender sender@example.net
To: Recipient recipient@example.net
Precedence: junk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 
This is the GTUBE, the
Generic
Test for
Unsolicited
Bulk
Email

 
If your spam filter supports it, the GTUBE provides a test by which you
can verify that the filter is installed correctly and is detecting incoming
spam. You can send yourself a test mail containing the following string of
characters (in upper case and with no white spaces and line breaks):

 
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X


You should send this test mail from an account outside of your network.
 
How to fix?
 
#sa-update
#/scripts/restartsrv spamd
#service exim stop
#service exim start 


or


sa-learn -D --force-expire 
sa-update -D 
/usr/local/cpanel/scripts/spamassassin_dbm_cleaner 
/usr/local/cpanel/scripts/fixspamassassinfailedupdate 
/scripts/restartsrv_spamd
/scripts/autorepair spamd_dbm_fix
/etc/init.d/exim restart