Koozali.org: home of the SME Server

SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems

Anonymous

SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems
« on: March 24, 2004, 10:54:12 PM »
Hi,

I got this problem. It's only come up recently and it used to work before so i'm not sure what's the problem now. I installed SpamAssassin 2.63 and since haven't been able to get any e-amil through.

I use an SME6.0 server and have RAV Antivirus 8.4.2 for Mailservers with a valid license. SpamAssassin 2.63 from http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_16.htm

[My Problem]
I reinstalled SME6.0 today and checked my e-mail and it was working. I then installed RAV but afterwards found the e-mail didn't work anymore. Now I think it's qmail that's not initializing properely. Can anyone help? I installed SpamAssassin from above website but e-mail still doesn't work.

[What i did]
I must say when I do a clean install the copy do a recovery the e-mail works. When I install RAV then it doesn't work anymore. I followed the instructions to installing RAV through the INSTALL file that came with it.

I copied the rav files to my home dir. I went to my home dir. and ran the following:

killall -TERM qmail-send
rpm -ivh ravcore-8.11.0-1.i386.rpm
rpm -ivh ravmd-8.4.2-2.i386.rpm
rpm -ivh ravqmail-8.4.2-1.i386.rpm
/etc/init.d/ravmail start
/opt/rav/bin/ravupdate        <-- RAV Update
/etc/init.d/ravmail restart
cp ravmd.key /var/opt/rav
killall -HUP ravmd

I did a test mail but the mail didn't come through.

our message did not reach some or all of the intended recipients.

-------------------------
      Subject:   RE: test
      Sent:   24/03/2004 23:34

The following recipient(s) could not be reached:

      'carlos@xxx.xxx' on 24/03/2004 23:34
            No transport provider was available for delivery to this recipient.

-------------------------

I do the following:

[root@xxx ravmail]# /etc/init.d/spamassassin start
Starting spamd:                      [   OK   ]
[root@xxx ravmail]# /etc/init.d/ravmail stop
Shutting down        ravmd:          [   OK   ]
[root@xxx ravmail]# /etc/init.d/qmail stop
Stopping qmail:                      [   OK   ]
[root@xxx ravmail]# /etc/init.d/qmail start
Starting qmail:                      [   OK   ]
[root@xxx ravmail]# /etc/init.d/ravmail start
Starting ravmd:                      [   OK   ]
[root@xxx ravmail]# /etc/init.d/spamassassin start
Starting spamd:                      [   OK   ]

But still no Test e-mail goes through.

In the log file i get this.

Mar 24 23:24:25 xxx spamd[4490]: connection from localhost [127.0.0.1] at port 32982
Mar 24 23:24:25 xxx spamd[4578]: info: setuid to qmaild succeeded
Mar 24 23:24:25 xxx spamd[4578]: Creating default_prefs [/var/qmail/.spamassassin/user_prefs]
Mar 24 23:24:25 xxx spamd[4578]: Cannot write to /var/qmail/.spamassassin/user_prefs: No such file or directory
Mar 24 23:24:25 xxx spamd[4578]: Couldn't create readable default_prefs for [/var/qmail/.spamassassin/user_prefs]
Mar 24 23:24:25 xxx spamd[4578]: processing message <000201c411e7$b53b5aa0$55091eac@Data> for qmaild:401.
Mar 24 23:24:38 xxx spamd[4578]: clean message (0.0/5.0) for qmaild:401 in 12.9 seconds, 856 bytes. Mar 24 23:24:38 xxx ravmd[4583]: scanning with global configuration
Mar 24 23:24:38 xxx ravmd[4583]: mail from <carlos@xxx.xxx> to <carlos@xxx.xxx>
Mar 24 23:24:38 xxx ravmd[4583]: LICENSE LIMIT: the mail </var/opt/rav/tmp/->(RAV4576)> sent by <carlos@xxx.xxx> to <carlos@xxx.xxx> was not scanned! Mar 24 23:24:38 xxx ravmd[4584]: switching to RAV logging system...
Mar 24 23:27:04 xxx spamd[4490]: server killed by SIGTERM, shutting down
Mar 24 23:27:10 xxx ravmd[2901]: waiting for RAV scanning process to exit...
Mar 24 23:27:10 xxx ravmd[2902]: waiting all children to finish...
Mar 24 23:27:10 xxx ravmd[2902]: stopped on signal Terminated.
Mar 24 23:27:10 xxx ravmd[2901]: have a NICE day!
Mar 24 23:27:28 xxx ravmd[4702]: running as user: root(id=0) and group: root(id=0)
Mar 24 23:27:28 xxx ravmd[4704]: starting RAV AntiVirus daemon...
Mar 24 23:27:28 xxx ravmd[4704]: loading engine...
Mar 24 23:27:28 xxx ravmd[4704]: Registered version for 2 domains.
Mar 24 23:27:28 xxx ravmd[4704]: RAV AntiVirus for Linux i386
Mar 24 23:27:28 xxx ravmd[4704]: Version: 8.4.2 (snapshot-20030312)
Mar 24 23:27:28 xxx ravmd[4704]: Copyright (c) since 1995 GeCAD The Software Company. All rights reserved.
Mar 24 23:27:28 xxx ravmd[4704]: Scan engine 8.11 for i386.
Mar 24 23:27:28 xxx ravmd[4704]: Last update: Mon, 22
Mar 2004 21:35:10 +0200
Mar 24 23:27:28 xxx ravmd[4704]: Scanning for 92816 malwares (viruses, trojans and worms).
Mar 24 23:27:28 xxx ravmd[4704]: loading configuration...
Mar 24 23:27:28 xxx ravmd[4704]: scanning for domain: xxx
Mar 24 23:27:28 xxx ravmd[4704]: scanning for domain: xxx
Mar 24 23:27:28 xxx ravmd[4704]: ready...

Can anyone help me out?

Carlos

carlosp

SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems
« Reply #1 on: March 24, 2004, 11:47:46 PM »
What's funny is I did a reinstall and restored then did the SpamAssassin update and the e-mail works.

I'm sure if I do the RAV installation it's gonna conk out. Anyone be able to help me please. :)

Carlos

carlosp

SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems
« Reply #2 on: March 29, 2004, 09:16:28 AM »
No Help? Come on ppl.. I need to know how to start Qmail after the ravmail stops it. Where should I look etc.

Carlos

Offline hordeusr

  • ***
  • 68
  • +0/-0
SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems
« Reply #3 on: March 29, 2004, 11:56:01 PM »
I don't think many people use RAV anymore, they were purchased by Microsoft.  I've had much better results since I switched to clamav and spamassassin.  Even better when I switched to clamav and ASSP.

GaryWO

Re:
« Reply #4 on: March 30, 2004, 02:28:36 PM »
I use RAV on SME6.0 and it works fine. I used the contrib from Darrel May (no longer has it) to install it and it works straight off with a nice admin interface. I don't use Spamassassin - have much better results with ASSP. After only two weeks of it 'learning' it filters 100% of spam my company gets - may be worth you giving it a try.

carlosp

SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems
« Reply #5 on: April 05, 2004, 03:39:48 PM »
Thx i'll try it out.

I should be looking at http://assp.sourceforge.net/ right??

Carlos

ergozd

SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems
« Reply #6 on: April 05, 2004, 05:40:18 PM »
Maybe you should try out
- QMail
- Clamav
- Amavis
Check out http://pagefault.org for mor info.

You can then add SpamAssasin.

Good luck.

Anonymous

SME6.0 Qmail/Rav Antivirus/SpamAssassin Problems
« Reply #7 on: April 06, 2004, 03:25:11 PM »
Is Clamav free??

Carlos

Offline arpeggio

  • 1
  • +0/-0
    • http://www.cardig-express.com
Why Slow ?
« Reply #8 on: April 29, 2004, 07:12:43 AM »
Dear all,

I Install Spammassin, Amvis-ng and Clam at my SME6.0

When users send emails getting delay for couple second.

Why it happen ?

Thanks
...