Koozali.org: home of the SME Server

[Announce]: Updated SpamAssassin and Clam Antivirus

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #30 on: May 05, 2005, 09:11:36 AM »
my version of sme-antivirus is a fork from pagefault.org so the requirements are very similar. The only extra requirement I am aware of is the perl-Date-Manip RPM so that shouldn't be the cause.

What happens when you install sme-antivirus? Can you provide the output from the installation and/or a description of the failure??

gdetweil

bayes scoring
« Reply #31 on: May 05, 2005, 07:25:25 PM »
Since the upgrade to 3.0.3, Bayes scoring is not working for all users.

Originally, the auto-update did not completely update Spamassassin from 3.0.3 so I installed the perl-Mail-SpamAssassin rpm and restarted Spamassassin.  Everything started working again or so I thought.

Today I noticed that none of the messages are being scored using the Bayes scoring.  I found that the messaged that do score above 8 should be autolearned as spam but instead it says autolearn=unavailable.

I re-installed from the script from the website but it still wasn't working.  So I uninstalled all of the rpms and reran the script and it still doesn't work.

I ran sa-learn --sync as root and that hasn't helped.

I did notice Bayes scoring works when logged in as root but it is not working for anyother users.  I thinking it is a folder permissions problem but I don't know where.

Any help would be greatly appreciated.

Offline idyll

  • ***
  • 113
  • +0/-0
can't replicate your error
« Reply #32 on: May 05, 2005, 09:37:07 PM »
My server is running the latest contrib, post install, and the envelope information reflects autolearn=hamversion=3.03

then it is cut off. I can say on previous versions I struggled to verify autolearn was in fact working and the envelope never reflected that it was.

This newest version appears to indicate it is.

My own ignorance to the inner plumbing of this utility is what frustrates me. In the absence of autolearning both good AND bad email Spam Assassin is not being used to its potential.

How do we determine if it is working outside of the simple one line in the envelope?

regards,

patrick
...

Offline ltc6netspec

  • ***
  • 72
  • +0/-0
    • http://www.lth6.k12.il.us
To Knuddi - Update antivirus
« Reply #33 on: May 06, 2005, 03:45:33 PM »
We commented out this portian of your script because it would say that perl-libnet-1.0901-17 was newer than perl-libnet-1.18-8.noarch.rpm.  When it wasn't commented out the script would fail.



#if [ pic rpmlist | grep perl-libnet-1.18 | wc -l -eq 0 ]    
#then
#wget -nc -nd -S $SITE/perl-libnet-1.18-8.noarch.rpm
#fi

Offline svangool

  • ***
  • 73
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #34 on: May 07, 2005, 10:29:47 AM »
@Knuddi

Antivirus package, this installed well, thanks!

I also had an old, previous reported, problem again. My system doesn't have the "service" command on the default path.
Why don't you use /etc/init.d/clamd start ???

Sjef.
......

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #35 on: May 07, 2005, 11:14:05 AM »
svangool,

Have changed the script to use /etc/init.d/ calls rather than service even though it should be in the default path on a std. SME server.

I have also changed the perl-libnet back to 1.09 even though I am clueless why 1.18 should be older  :roll:

Michiel

Re: can't replicate your error
« Reply #36 on: May 07, 2005, 11:45:51 AM »
Quote from: "idyll"
How do we determine if it is working outside of the simple one line in the envelope?


/var/log/maillog is a good place to start. Search for the string autolearn=.

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #37 on: May 08, 2005, 09:22:02 AM »
Hi,

Received this one in admin mailbox this morning from cron@server:

LibClamAV Error: TNEF - unknown level 61
LibClamAV Error: TNEF - unknown level 14
LibClamAV Error: TNEF - unknown level 14
LibClamAV Warning: Multipart MIME message contains no boundaries
LibClamAV Warning: Multipart MIME message contains no boundaries
LibClamAV Warning: Multipart MIME message contains no boundaries


Is it a bug?
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline ltc6netspec

  • ***
  • 72
  • +0/-0
    • http://www.lth6.k12.il.us
Antivirus Update
« Reply #38 on: May 09, 2005, 04:09:35 PM »
I don't know this language, but it may have something to do with this if statement in how it is viewing the comparison between the to rpms.  If you can make it look only at the first 1.xx then it should work correctly.  



#if [ pic rpmlist | grep perl-libnet-1.18 | wc -l -eq 0 ]
#then

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #39 on: May 09, 2005, 08:20:41 PM »
After upgrade spam is gone?

Clam statistic says:

Period Beginning      : Sun May  8 00:00:01 2005
Period Ending         : Mon May  9 00:00:01 2005
Clam Version          : ClamAV 0.84/871/Thu May  5 15:50:45 2005

Reporting Period : 24.00 hrs
--------------------------------------------------

Total emails rejected :        0 (  0.00%)
             Problems :        0 (  0.00%)
          Quarantined :        0 (  0.00%)
Total emails accepted :       68 (100.00%)
                        -------------------
Total emails processed:       68 (    3/hr)

But Spam statistic says:

Period Beginning : Sun May  8 00:00:01 2005
Period Ending    : Mon May  9 00:00:01 2005
SpamAssassin Version : SpamAssassin version 3.0.3
  running on Perl version 5.6.1

Reporting Period : 24.00 hrs
--------------------------------------------------

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)


Average spam threshold :        0.00
Average spam score     :        0.00
Average ham score      :        0.00

Anyone else seen this?
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline stancol

  • ***
  • 90
  • +0/-0
    • http://www.srcproductions.com
THANKS A BUNCH!
« Reply #40 on: May 10, 2005, 07:15:34 PM »
Install script was a breeze. Uninstalled old version and installed new version without ANY hassel. Noticed a funny quirk. Under "Automatically update Antivirus Engine?" I found it set on "Download Updates and Warn Administrator" When I clicked to see other options I noticed that the default was supposed to be "Download Updates and Install (Default)". What I'm trying to say is simiply that my default setting wasn't what the default setting should have been if the "Download Updates and Install" option is supposed to be the default.

Wow can't believe I typed so many words for something so completely unecessary. This little problem isn't really worth the time of day to mention but I did anyway. Maybe I should get a real life.  :lol:

THANKS again for ALL your hard work and wonderful work.
What are the three dots for at the end of my signature file and why can't I get rid of them?These three dots right here >...

Offline bosco555

  • ****
  • 152
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #41 on: May 12, 2005, 08:12:22 AM »
Hi Knuddi,

thanks again for all the hard work, it is appreciated, I have upgraded and everything works 100%

thanks

GB

Offline bosco555

  • ****
  • 152
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #42 on: May 12, 2005, 08:12:47 AM »
Hi Knuddi,

thanks again for all the hard work, it is appreciated, I have upgraded and everything works 100%

thanks

GB

Offline albatroz

  • ****
  • 159
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #43 on: May 12, 2005, 05:35:08 PM »
This antivirus is certainly a great contrib however I have some suggestions to make it better:

- Have an option for not saving emails in quarantine, why? because sometimes you get bombed by someone infected by a virus and it may fill up your email queue, in this case it would be better to not store at all any infected email in queue.

- Some of us manage several servers. Would it be possible to have a script that could allow us to make a mirror of your contribs and have our servers update against our mirrors?

paul_sc

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #44 on: May 12, 2005, 09:00:54 PM »
Hello, I would like to give a big thank you to all those who have put thier time into this contrib.

I installed the script today (may 12) from

sme.swerts-knudsen.dk/howtos/howto_29.htm

all appears to have gone fine except I am having some issues with the control panel, and perhaps clamav scanning of email on my ssl ports.

I am running 601-1 with a few update contribs
rpm -qa | grep -i spamassassin gives me:
perl-Mail-SpamAssassin-3.0.3-1
spamassassin-tools-3.0.3-1
spamassassin-3.0.3-1

I have done a search to see if anyone else has reported this issue, but I did not get any hits.

The problem is...

When I set SSL incoming and outgoing scans to yes in the

Real-time E-mail Scanning section

The operation gives me a green checkmark and states all is successful after I click on save, however, when I exit and log back into the control panel and check the Antivirus panel, both ssl settings revert back to NO.

All of my users connect via pop/smtp ssl for email which was enabled by the pagefault contrib.

Is this something cosmetic or is the setting not saving?

how do I check and fix?

Thank you in advance
Paul