Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th January 2006, 12:09
Coteaux Coteaux is offline
Junior Member
 
Join Date: Jan 2006
Location: Bremen, Germany
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default SpamAssassin runs amok after Update

I was running ISPConfig 2.1.1 on Suse 10.0 64 bit. Everything was fine: Emails were scanned, Spam was discarded...
Then I did an update to ISPConfig 2.1.2 and now, everytime a mail arrives the system, the spamassassin-process eats all the memory (2GB) and the swap until the kernel kills the process. The server is so laggy in these times that I cannot interfere.
Where can I search for an error? How is this spamassassin-script started?

I did the perfect install for suse with the changes for 64 bit in the compile-file and the changes for the suse-courier-start-scripts from this forum.
Reply With Quote
Sponsored Links
  #2  
Old 17th January 2006, 12:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You can try this (from the ISPConfig installation manual):

SpamAssassin

The ISPConfig comes with SpamAssassin, but without the Perl modules needed by
SpamAssassin. Run the following command after the installation of the ISPConfig:

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin

If errors appear you have to install some Perl modules.
Code:
perl -MCPAN -e shell
install HTML::Parser
install DB_File
install Net::DNS (when prompted to enable tests, choose "no")
install Digest::SHA1
To leave the Perl shell type

q

If

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin

does not return any error everything is fine. You can then leave SpamAssassin by typing
" CTRL + c".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th January 2006, 13:40
Coteaux Coteaux is offline
Junior Member
 
Join Date: Jan 2006
Location: Bremen, Germany
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the quick reply!

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin
didn't show any message at all.
The perl-modules are all up to date.

There was a patch from SuSE for Courier (autoinstalled by you). Could it have to do with that?
Reply With Quote
  #4  
Old 17th January 2006, 13:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Quote:
Originally Posted by Coteaux
Thanks for the quick reply!

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin
didn't show any message at all.
Thats ok. And the process does not aet up your memory?

Quote:
The perl-modules are all up to date.
Ok.

Quote:
There was a patch from SuSE for Courier (autoinstalled by you). Could it have to do with that?
No, courier is not involved with mailscanning.

Spamassassin is invoked by a procmail recipe.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 17th January 2006, 14:27
Coteaux Coteaux is offline
Junior Member
 
Join Date: Jan 2006
Location: Bremen, Germany
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thats ok. And the process does not aet up your memory?

No, that process is ok.
The process which has to be killed is for example (from ps aux):

10002 9784 77.8 65.9 1385860 1347520 ? R 16:31 0:08 /usr/bin/perl -T -w /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file=/srv/www/web1/user/web1_sysadmin/.user_prefs

If other users receive mail it is similar.
Reply With Quote
  #6  
Old 17th January 2006, 17:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in /srv/www/web1/user/web1_sysadmin/.user_prefs? Also post the output of
Code:
ls -la /srv/www/web1/user/web1_sysadmin/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autolearn=no SpamAssassin hendry Installation/Configuration 4 12th May 2007 10:24
Daemonized version of Spamassassin ddelbia General 1 6th January 2006 16:09
Spamassassin configuration DarkBen Installation/Configuration 1 4th January 2006 10:58
Update from 2.0.7 to 2.0.8 brody Installation/Configuration 7 31st August 2005 16:37
# yum update domino Server Operation 2 29th August 2005 10:56


All times are GMT +2. The time now is 07:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.