PDA

View Full Version : Question about SpamAssassin



txn
02-04-2008, 09:33 AM
Hi guys,

my spam version is :


[root@server ~]# spamassassin -V
SpamAssassin version 3.2.1
running on Perl version 5.8.8

Can i upgrade directly from 3.2.1 to 3.2.4 by doing this ?


cd /usr/local/directadmin/scripts
perl -pi -e 's/VERSION=3.2.1/VERSION=3.2.4/' spam.sh
./spam.sh

Thanks
________
VENTURE (http://www.yamaha-tech.com/wiki/Yamaha_Venture)

smtalk
02-04-2008, 10:08 AM
Yes, you can.

txn
02-04-2008, 10:34 AM
Thanks,

I just update and restart exim. After that i log in to the DA to check 'SpamAssassin Setup', it still says this :



Unable to setup spamassassin

Details

Spamd is not running on your system.
Click Here to learn how to enable it

Then I log in ssh and restart the spam:


[root@server scripts]# /usr/bin/spamd -d -c -m 5
[29282] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[29282] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[29282] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use


I checked to see if spamd is running


[root@server scripts]# ps aux | grep spamd
root 29298 0.0 0.0 60220 732 pts/1 S+ 11:43 0:00 grep spamd


Seems there is no spamd running, but how come i can not run this '/usr/bin/spamd -d -c -m 5' ? Thanks
________
HOME MADE VAPORIZER (http://homemadevaporizers.info/)

txn
02-04-2008, 10:40 AM
and here is what i have in /etc/exim.conf



spamcheck_director:
driver = accept
condition = "${if and { \
{!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}} \
{!eq {$received_protocol}{local}} \
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
{exists{/etc/virtual/${domain}/passwd}} \
{ \
or \
{ \
{!eq {}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/passwd}}}} \
{!eq {}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/aliases}}}} \
{eq {$local_part} {${lookup{$domain}lsearch{/etc/virtual/domainowners}}}} \
} \
} \
} {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify



Hope that make sense to you. Thanks.
________
EAGLE (AUTOMOBILE) (http://www.dodge-wiki.com/wiki/Eagle_(automobile))

smtalk
02-04-2008, 11:29 AM
Try:


service spamassassin restart

txn
02-04-2008, 11:32 AM
Try:


service spamassassin restart



[root@server ~]# service spamassassin restart
spamassassin: unrecognized service

:confused:
________
SELL VAPORIZERS (http://vaporizeraffiliateprogram.com)

chatwizrd
02-04-2008, 05:35 PM
Try:

lsof -i | grep 783

bigboy
02-23-2008, 08:32 PM
#killall spamd

and Start spamd:


#/usr/bin/spamd -d -c -m 5

mattb
02-24-2008, 06:31 AM
You'll find that spamd is often restarted by exim.

Take a look at your exim /etc/init.d/ script. ;)

nobaloney
02-25-2008, 12:31 PM
Often is probably a misnomer.

Exim starts spamd when it starts, and stops it when it stops.

Is that often? :D

Jeff