Koozali.org: home of the SME Server

accidental upgrade to beta version - clamav stopping incomming emails


Hello,

I'm very new to SME and even newer to Linux in general so please forgive any dumb questions. I own a small architectural company with a few staff but I have ended up as the IT expert as well.

I have been running SME 6 for awhile and I think its great. We upgraded to SME 7.3 last month.

2 days ago I ran the updates for SME server. However when it was installed by my IT mate he turned on the manage packages individually and for some reason all of the repositories were selected including "updates and testing" .

Now our production server has updated itself to SME 7.4 beta 2 which I understand is not a good thing to do, however I don't think I can go backwards. Should I bite the bullet and reload the whole server or will the new release (whenever it comes out) update the server to a stable release.

My second problem is if I have Email virus scanning turned on then no emailsget through. We have tested this over the last two days and are 99% sure its the virus scanning bouncing the emails. When it is turned off the emails often come through 2-3 hrs later when the sender's server try's again. If its left off emails come straight through with no problems

The server seems to be going fine except for this email problem. However it always says it needs updating, even if I update it 10 times in a row. It has two errors mentioned in seperate forums
Error: Missing Dependancy (several including libclamav and clamav)
and
Warning: only V4 signatures can be verified, skipping V4 signatures

Because I cannot find someone with the same problem and who has accidentally updated their server :( I'm nervous trying anything on our production server.

I would appreciate any advise
I can supply logs but please be specific as I'm new at this.

Cheers
Allan


Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #1 on: October 23, 2008, 01:26:08 AM »
Allan,

Best thing to do is sign up at http://bugs.contribs.org/

Then do a search for bugs in SME 8

If you can't find any then submit your bug ... If you have problems always go to the bug tracker and submit your bugs there.

You will get help a lot faster that way ... and if all works well they can probably help fix the few small issues you have and
you won't have to reload.



Regards,

Tib

Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #2 on: October 23, 2008, 01:41:45 AM »

Thanks Tib

I will search there and submit if I can't find anything.
I didn't think I would find a solution in bugs as it was an act of stupidity rather than a bug.

Cheers
Allan. 

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #3 on: October 23, 2008, 03:44:55 AM »
Allan Pritchard

sme7.4 is in a well advanced state, and apart from minor issues you should be "safe enough" to continue using it as your production server, although it's generally not recommended to everyone to do so. Upgrade to the final 7.4 release should work OK, which seems like it may be very soon.


Quote
..he turned on the manage packages individually and for some reason all of the repositories were selected including "updates and testing" .

So the first thing to do is to disable any of those additional repos.
In server manager you should ONLY see the following repos enabled.

CentOS - os
CentOS - updates
SME Server - addons
SME Server - os
SME Server - updates


Quote
My second problem is if I have Email virus scanning turned on then no emails get through.

Are you sure it's the virus scanner ?
What is it that you actually disabled in server manager to prove that it is the virus scanning causing the problem.

Please advise the bug # you lodged.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #4 on: October 23, 2008, 04:13:51 AM »
Allan Pritchard

After disabling the updates testing repo, then try this.

Log in as root at the console & do

rpm -e clamav clamav-db clamd

then do
yum update clamav

This should remove the newer "unwanted" clamxxx rpm versions, and reinstall the current versions that are OK with sme7.3

Let us know what happens, and please record carefully any error messages you received and tell us what they are.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #5 on: October 23, 2008, 04:29:39 AM »
What I did was....

in the server-manager under "configuration" -> "email" -> "change e-mail reception settings" I turned off Virus Scanning.
I have tested it several times now. If virus scanning is on then no emails come through if it is off then they do come through.

We have SME server acting as our email server and emails to "at apdesign" go straight to our server.
I also have a personal email account I download via Pop3 from a local ISP. The emails pulled down from the local ISP
( xxxxx at paradise.net.nz ) come through ok virus scanning off or on, but it is the direct emails that just bouce.
I think the terms are emails sent to our DX record ??

I haven't logged a bug yet. I'm trying to load "smeserver-qpsmtp-1.2.1-57.e14.sme.noarch.rpm" as per the recommendation from bug report 4623. However I'm struggling to follow the commands given at present which was
"wget http://distro.ibiblo.org/pub/linux/distributions/smeserver/release/ yum localinstall smeserver-qpsmtp-1.2.1-57.e14.sme.noarch.rpm " when i run this at command line it down loads the "index.html" file but not the rpm and then the rest fails.

Any help would be good as I don't even know if I am on the right track.

I have disabled ordb.net as per bug 4214 but that had no effect.

I will try you latest post now

Cheers

Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #6 on: October 23, 2008, 04:38:04 AM »

I tried rpm -e clamav clamav-db clamd

i got

error: "clamav-db" specifies multiple packages
error: "clamd" specifies multiple packages

I stopped there.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #7 on: October 23, 2008, 04:43:06 AM »
Allan Pritchard

Try them one at a time

rpm -e clamav
rpm -e clamav-db
rpm -e clamd

You may need to re-arrange the order, so that dependencies get uninstalled last


Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #8 on: October 23, 2008, 04:44:07 AM »
Allan Pritchard

Quote
...in the server-manager under "configuration" -> "email" -> "change e-mail reception settings" I turned off Virus Scanning.

OK that confirms it is most likely clamav related. I just wondered whether spam filtering ie RBL lists may have been the problem, as there were some recent issues with totally wrong lists stopping email. This seems related to the issue of bug 4623.


In your case though, it would seem that some clamav and/or dependency rpms are not installed and this is causing your problem. See my previous suggestion.

I don't think downloading the newer smeserver-qpsmtp will solve your issue.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #9 on: October 23, 2008, 04:51:38 AM »
Try them one at a time

rpm -e clamav
rpm -e clamav-db
rpm -e clamd

You may need to re-arrange the order, so that dependencies get uninstalled last

No, that won't help. OP must have had an interrupted update, which is why he has multiple copies of clamd installed and multipled copies of clamav-db.

To uninstall all versions of both, do:

sv d /service/clamd
rpm -e --nodeps $(rpm -q clamd clamav-db)

Then:

yum install clamav clamd clamav-db
signal-event post-upgrade ; signal-event reboot


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #10 on: October 23, 2008, 04:51:55 AM »
Allan Pritchard

If you want to do it, this would be better
Code: [Select]
cd /tmp
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeupdates-testing/i386/RPMS/smeserver-qpsmtpd-2.0.0-1.el4.sme.noarch.rpm
yum localinstall smeserver-qpsmtpd-2.0.0-1.el4.sme.noarch.rpm
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #11 on: October 23, 2008, 04:55:31 AM »
CharlieBrady

Quote
error: "clamav-db" specifies multiple packages
error: "clamd" specifies multiple packages

Quote
No, that won't help. OP must have had an interrupted update, which is why he has multiple copies of clamd installed and multipled copies of clamav-db.

OK, thanks Charlie, now I understand the significance of the multiple packages comment and why rpm -e xxx xxx xxx didn't work


Allan, follow Charlies better advice
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #12 on: October 23, 2008, 04:58:30 AM »
Hi Mary
This is the error I got below. Took ages to type.
I'll follow charlie's post.

rpm -e clamav returns a large error

libclamav.so.4 is need by (installed) clamd-0.93-2.el4.rf.i386
libclamav.so.4(clamav_private) is need by (installed) clamd-0.93-2.el4.rf.i386
libclamav.so.4(clamav_public) is need by (installed) clamd-0.93-2.el4.rf.i386
clamav=0.93-2.el4.rf is needed by (installed) clamd-0.93-2.el4.rf.i386
clamav<=0.93 is needed by installed smeserver-clamav-1.2.0-21.el4.sme.noarch
clamav=0.94-1.el4.rf is needed by installed clamd-0.94-1.elf.rf.i386

rpm -e clamd

error: "clamd" specifies multiple packages

rpm -e clam-db

error: "clamav-db" specifies multiple packages

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #13 on: October 23, 2008, 05:01:49 AM »
If you want to do it, this would be better ...

That shouldn't be necessary, as that bug says the package there has been released. So simply "yum update" should get it.

In any case, "rpm -Uhv http://path/to/repo/smeserver-qpsmtpd-2.0.0-1.el4.sme.noarch.rpm" will install the package in one go.

Re: accidental upgrade to beta version - clamav stopping incomming emails
« Reply #14 on: October 23, 2008, 06:02:30 AM »

Charlie's post worked. I have reset Virus checking and emails come through fine.


Thanks for all of your help, its very much appreciated.

I've gained a little more knowledge - its much easier designing houses  :).