View Full Version : Daemonize Spamassassin in ISPConfig
binover
22nd March 2008, 23:47
Hi to all
I start working in 2 servers a few days ago, and I noted that had a lot of threads in TOP that call the same time to spamassassin, I read en Google thats spamassassin can work like Client - Server, but I never use ISPConfig before and I dont know if its possible. Can anyone help me?
Thanks a lot and sorry for my English.
falko
23rd March 2008, 19:41
Take a look here: http://www.howtoforge.com/forums/showthread.php?t=19267&highlight=ispconfig+spamd
http://www.howtoforge.com/forums/showthread.php?t=16738&highlight=ispconfig+spamd
binover
25th March 2008, 20:37
Thanks Falko,
I do everything is in the post but something strange happen...
In TOP spamd appear but also spamassassin...
9261 user1 25 0 28808 25m 4312 R 35.9 2.9 2:00.54 spamd
9260 user1 25 0 27584 24m 4312 R 34.9 2.7 8:35.05 spamd
1773 user2 18 0 23660 20m 3896 R 28.2 2.4 0:01.14 spamassassin
And, you can see, spamd consumes a lot of CPU, just like spamassassin.
Any idea?
thanks a lot!!!!!!!!!!!!.
till
26th March 2008, 09:34
You will have to edit every user, cahnge a settings and save it. Otherwise the user will still use spamassassin and not spamd. Its normal that spamd consumes a lot of CPU, but it is less then spamassassin would consume for the same amount of emails.
binover
26th March 2008, 14:03
Hi
I did change the users settings, but the server have a very strange behavior, Some times see in TOP the same user working with SPAMD and/or SPAMASSASSIN. The version on this ISPConfig is 2.2.18, in other server I have the version 2.2.13, can I do this without update?
Very thanks to all.
till
26th March 2008, 15:54
Please do what I posted above.
binover
26th March 2008, 16:17
Hi till
To change the users configuration I modify /root/ispconfig/isp/conf/spamassassin.rc.master
from this:
:0fw
* < 256000
| /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file={PREFS_FILE}
to:
:0fw
* < 256000
| /usr/bin/spamc
then I run "update isp_isp_user SET status = 'u' WHERE status = '';" in the database
later I modify a user setting from the interface and that modify all the users settings
I miss something?
Many many thanks!!!
pd: can I do this in a ISPCONFIG 2.2.13?
falko
26th March 2008, 17:01
pd: can I do this in a ISPCONFIG 2.2.13?
Yes, that should work.
binover
27th March 2008, 16:29
hi guys
my trouble still persist, other thing I notice, spamd is not taking the .user_pref, but I think it will solved linking that file to user_pref (whitout dot).
I donīt know why the same user use spamd or spamassassin. Any idea?
Thanks a lot!
falko
27th March 2008, 17:26
I donīt know why the same user use spamd or spamassassin. Any idea?
Have you checked the procmail recipes of that user?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.