Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 10th September 2007, 16:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,185
Thanks: 829
Thanked 5,416 Times in 4,258 Posts
Default

Quote:
Would that be correct ?
Yes.

Quote:
And how would i best update every existing user to use spamc then ?
Run the following SQL statement in the database:

update isp_isp_user SET status = 'u' WHERE status = '';

then change one user in the interface and click on save to start the process.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cnavarro (17th December 2007)
Sponsored Links
  #12  
Old 10th September 2007, 19:22
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

Hm.
Tanks again for your fast help. But that didnt seem to work. We did exactly as described, but it's still the perl-spamassassin running !
Any idea ?
Reply With Quote
  #13  
Old 11th September 2007, 08:34
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

Some more input ;-)

In the users spamassassin-file

e.g /srv/www/web41/user/web41_user/.spamassassin.rc

nothing actually changed.
there is still this line:
| /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-f
ile=/srv/www/web41/user/web41_user/.user_prefs

shouldnt that line have been changed with what we did ?

Thanx !
Sascha
Reply With Quote
  #14  
Old 11th September 2007, 08:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,185
Thanks: 829
Thanked 5,416 Times in 4,258 Posts
Default

Please run the sql statement again that I posted above and then change a user record.e.g. quota in the interface and save the change. If you do not change something in the interface, the changes will not be written to disk.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 11th September 2007, 10:12
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

Hi Till.
Yup...seems to have done something...
In the users prefs now spamc is written in !
buit i have a stron feeling that /usr/bin/spamc is not yet being used.
At least though spamassassin isn't used for sure now....the average load is really beautyful !
How can i make sure spamc is working now ?
ps ax | grep spamc doesnt show me an process running (maybe due to fast processes vanishing ?)
ps ax | grep spam says:
7082 ? Ss 0:00 /usr/sbin/spamd -d -c -L -r /var/run/spamd.pid
7083 ? S 0:00 spamd child
7084 ? S 0:00 spamd child

thanx for your help. heavilly appreciating it !!!
Reply With Quote
  #16  
Old 11th September 2007, 10:42
teves teves is offline
Senior Member
 
Join Date: Oct 2006
Posts: 149
Thanks: 27
Thanked 13 Times in 10 Posts
Default

Some more input:

spamc seems to be running, but does not work correctly:
in my mail.err i have dozens of entries like the following:

Sep 11 10:39:49 whitespace spamc[20553]: invalid usage

What can be wrong?

regards, tom
Reply With Quote
  #17  
Old 11th September 2007, 11:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,185
Thanks: 829
Thanked 5,416 Times in 4,258 Posts
Default

Quote:
Originally Posted by tafkaz
Hi Till.
Yup...seems to have done something...
In the users prefs now spamc is written in !
buit i have a stron feeling that /usr/bin/spamc is not yet being used.
At least though spamassassin isn't used for sure now....the average load is really beautyful !
How can i make sure spamc is working now ?
ps ax | grep spamc doesnt show me an process running (maybe due to fast processes vanishing ?)
ps ax | grep spam says:
7082 ? Ss 0:00 /usr/sbin/spamd -d -c -L -r /var/run/spamd.pid
7083 ? S 0:00 spamd child
7084 ? S 0:00 spamd child

thanx for your help. heavilly appreciating it !!!

Please replce the line:

| //usr/bin/spamc --prefs-file={PREFS_FILE}

with:

| /usr/bin/spamc

in the template file and then force ISPConfig to update the files again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cnavarro (17th December 2007)
  #18  
Old 11th September 2007, 11:50
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Thumbs up

GREAT !

That seems to have solved our problem...
we'll see what the affect on the servers load will be, but for now:
Many thanks...

If everything is good, i will write a small howto, so the next one will not have to go through our whole thread !

Sascha
Reply With Quote
  #19  
Old 11th September 2007, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by tafkaz
If everything is good, i will write a small howto, so the next one will not have to go through our whole thread !

Sascha
That would be great!
__________________
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
  #20  
Old 12th September 2007, 11:58
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
 
Default

Hi till, hi all...

Bad News....
Spamd /Spamc seems to be running but all the spammails are just being sent nevertheless...
I saw that the userprefs are not used...

/srv/www/web1111/user/web1111_user/.spamassassin.rc says:

* < 256000
| /usr/bin/spamc

So i guess, that spamd doesnt know what to do with spammails...

shouldnt it say something like

| /usr/bin/spamc --prefs-file={PREFS_FILE}


....this is indeed an enourmous problem...

Many thanks for your reply
Sascha
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
Calling $Response->Write from perl savimonty Programming/Scripts 5 7th April 2006 16:03


All times are GMT +2. The time now is 13:14.


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