Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: haj on August 16, 2005, 12:05:28 AM
-
Hello,
I have installed antivirus and spamassassin contribs from
I run SME 6.5RC1.
Antivirus contribs works well but spamassassin seems to do nothing, daily cron "Spam Filter Statistics from sme" always returns me:
Total spam rejected : 0 ( 0.00%)
RBL rejected : 0 ( 0.00%)
Score above 15 : 0 ( 0.00%)
Total ham accepted : 0 ( 0.00%)
-------------------
Total emails processed: 0 ( 0/hr)
Also the cron script returns errors:
Cron <root@sme> /usr/bin/spamfilter-stats.pl
Couldn't read directory /home/e-smith/files/users/auser/Maildir/;junkmail/new at /usr/bin/spamfilter-stats.pl line 391, <ORIGINAL> line 80.
That directory doesn't exist but I have a ;Junk folder for each user. (they retreive their mail using IMAP an Thunderbird)
Regards
-
Hi Haj,
I am having the same trouble with my spam. There must be a bug.
I seem to remember reading somewhere that Jesper who updates the scripts mentioning that some part of the 65rc1 script was not correct and that he had not had time to correct it. Maybe this is causing Spamm Assassin to not respond.
I get a cron tab error
'cannot open /var/log/amavis-ng/amavis-ng.log no such file or directory'
As log files ar usually text file I have created the log file in the above folder, I will see what happens!
Martin
-
I am having the same problem - this post:
http://forums.contribs.org/index.php?topic=28624.msg119005#msg119005
So far lots of people have looked, but no answers???
hmmmmmm.
-
On two different 6.0x servers, spamassassin had ceased to function. I found problems with permissions, the call to spamc, a setuid setting, and bayes/local.cf settings/expansion. I haven't sorted it all out yet but it is working.
On one server, spamc was getting called, with setuid qmailq, but some permissions were wrong on some of the files in /var/qmail (Jesper Knudsen uses more liberal settings then some advise I believe, at least on dcc/map)
On the other server, spamc wasn't getting called (sorry I am not sure how it is supposed to get called yet but spamassassin wasn't touching mmail) so I added into .procamilrc (users folder)
:0 fw
* < 256000
| /usr/bin/spamc -f
and spamassassin began to work, including all other line sin the .procmailrc such as sending to junkmail (I changed it to Junk to align with our email client, and added templates appropriately). From memory I don't recall accurately, but there is an issue with the uid running spamc (spamd, shows in maillog), and/or this is a result of calling spamc this way.
bayes autolearning couldn't access the database, because it wasn't correctly identified in (my) local.cf - at least I'm using a system database in /var/qmail/.spamassassin which should be in the local.cf
bayes_path /var/qmail/.spamassassin/bayes
I hope this mish mash of info helps someone!
-
--thanks pkidd,
I updated ClamAV and changed the some scan settings and somehow that made Spamassassin start working again???
I don't know what the connection is but that did it!
I am not going to argue with this and I don’t have any more neurons to devote to this issue right now.
However, the “why” factor really bugs the heck out of me??????????
If anyone out there knows the “why” and can provide a simple explanation, please plunk it down here for the greater good!
Thanks.