Server Administration & Management

Spamd failed and does not restart (exim)

Issue:- You may get the spamd failed error on exim restart.

Fix:- When you disable spamd from  whm –> service manager, cPanel willl automatically creates a file “/etc/spamdisable”. If you enable  this feature  again the file /etc/spamdisable may not get deleted automatically.  In this case remove it manually and restart exim.

# rm -f /etc/spamdisable

# /scripts_restartsrv_exim

If the issue is still there, reinstall spamd on the server. Here is the steps:-

# wget http://www.hightechimpact.com/Apache/spamassassin/source/Mail-SpamAssassin-3.3.2.tar.gz

# cd Mail-SpamAssassin-3.3.2

# perl Makefile.PL

# make

# make install

The issue may also arise when the perl module “Mail::SpamAssassin”  is missing on the server. Install it manually.

# /scripts/perlinstaller  –force Mail::SpamAssassin

# /scripts/restartsrv_exim

Issue should be fixed now. You may also get the error message like this:-

“Starting spamd: [9128] error: spamd: spamd script is v3.001000, but using modules v3.001001 “

July 29, 2011 Posted by | Exim | | Leave a comment