Koozali.org: home of the SME Server

smtp stop after clamav update

Offline cirkit

  • ****
  • 73
  • +0/-0
smtp stop after clamav update
« on: July 10, 2008, 01:36:37 PM »
I am a linux novice but was able to set up a sme server 7.3 with over 20 domains and 50 users. The server is very stable and all its functions are runing. I have not updated the components since about two months since installation. recently i am getting this clamav error message.

Current working dir is /var/clamav
Max retries == 6
ClamAV update process started at Thu Jul 10 04:04:52 2008
Querying current.cvd.clamav.net
TTL: 1741
Software version from DNS: 0.93.3
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.92 Recommended version: 0.93.3
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd version from DNS: 47
main.inc is up to date (version: 47, sigs: 312304, f-level: 31, builder: sven)
daily.cvd version from DNS: 7679
daily.inc is up to date (version: 7679, sigs: 35769, f-level: 33, builder: neo)

 I need to update clamav components. I went to server manager, software installer but could not find clamav in the list of components needed to be updated. Since i do not know command line linux please help me to issue a command fro root to update only clamav.
thankx
cirkit
« Last Edit: July 11, 2008, 12:20:09 PM by cirkit »

Offline versa

  • ****
  • 109
  • +0/-0
Re: clamav update
« Reply #1 on: July 10, 2008, 01:56:43 PM »
Recent discussion on the same here
http://forums.contribs.org/index.php?topic=41419.0
......

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #2 on: July 10, 2008, 05:58:01 PM »
This is my output of grep
login as: root
root@xx.xxx.98.78's password:
Last login: Tue Jul  8 19:01:05 2008 from xx.xxx.226.202
[root@mcp61 ~]# rpm -qa | grep clam
clamav-0.92-1.el4.rf
clamav-db-0.92-1.el4.rf
clamd-0.92-1.el4.rf
smeserver-clamav-1.2.0-15.el4.sme
[root@mcp61 ~]# login as: root
Password:


How do i update

Offline versa

  • ****
  • 109
  • +0/-0
Re: clamav update
« Reply #3 on: July 10, 2008, 08:34:44 PM »
Quote
I have not updated the components since about two months since installation.

In the admin panel are there updates to be installed ?

As far as I know sme server still has not got the latest version of clam in the repos, but I'm sure the dev's are working on it.
......

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #4 on: July 10, 2008, 08:50:03 PM »
yes there are updates to be installed, but no clamav updates listed there

Offline versa

  • ****
  • 109
  • +0/-0
Re: clamav update
« Reply #5 on: July 10, 2008, 09:32:48 PM »
Not sure so
I know there is a newer version avaible than what you posted
ftp://ftp.ibiblio.org/pub/Linux/distributions/smeserver/releases/7.3/smeupdates/i386/repodata/repoview/C.group.html
ftp://ftp.ibiblio.org/pub/Linux/distributions/smeserver/releases/7.3/smeupdates/i386/repodata/repoview/smeserver-clamav-0-1.2.0-21.el4.sme.html
This is my output:
Code: [Select]
[root@server2 ~]# rpm -qa | grep clamav
clamav-db-0.93-2.el4.rf
clamav-0.93-2.el4.rf
smeserver-clamav-1.2.0-21.el4.sme

Also check what repos you have enabled

......

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #6 on: July 11, 2008, 06:09:52 AM »
how do i check which repos are enabled. if not how do i enable them? i checked the updates section in software installer just now but it does not list clamav.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: clamav update
« Reply #7 on: July 11, 2008, 08:50:20 AM »
how do i check which repos are enabled.
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled

if not how do i enable them? i checked the updates section in software installer just now but it does not list clamav.
  • Login to your server-manager
  • Click Software installer
  • Click Change settings
  • See what repositories are enabled (selected), click the ones you would like to enable (use Ctrl+left click to select multiple)
  • When satisfied choose save
But if you would have looked around a bit you might have discovered that yourself as well. :-)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #8 on: July 11, 2008, 09:59:46 AM »
I did come accross what you have mentioned. But was hesitant to do so. Your post gives me that morale boost to go forward and do it. thankx

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #9 on: July 11, 2008, 11:34:04 AM »
i updated clam av and now my smtp has stopped functioning it gives me error 452. i read about in the forum but the solution mentioned about permissions being changed of /var/clamav is not appicable to my case. the permissions of the folder are group:clamav owner:clamav octal 0755 is that right? i then went to server-manager and disabled virus scanning and then smtp worked. i am putting last lines of smtpd:current below

@40000000487726c206e6a7ac 5428 Authentication successful for nitesh - authcvm/login
@40000000487726c209437b9c 5428 dispatching MAIL FROM: <jst@vsnl.net>
@40000000487726c209486d3c 5428 full from_parameter: FROM: <jst@vsnl.net>
@40000000487726c2094d2ffc 5428 from email address : [<jst@vsnl.net>]
@40000000487726c2096353f4 5428 getting mail from <jst@vsnl.net>
@40000000487726c20966bb0c 5428 250 <jst@vsnl.net>, sender OK - how exciting to get mail from you!
@40000000487726c20bc16834 5428 dispatching RCPT TO: <cirkit@gmail.com>
@40000000487726c20bc6ea5c 5428 to email address : [<cirkit@gmail.com>]
@40000000487726c20bfc5a0c 5428 250 <cirkit@gmail.com>, recipient ok
@40000000487726c20e3cc48c 5428 dispatching DATA
@40000000487726c20e41509c 5428 354 go ahead
@40000000487726c2127c2b8c sslio[5428]: info: decode input buffer size: 16384
@40000000487726c2192eec1c 5428 size_threshold set to 0
@40000000487726c21932283c 5428 spooling message to disk
@40000000487726c21aabb87c 5428 virus::clamav plugin: Changing permissions on file to permit scanner access
@40000000487726c21ae09f74 5428 virus::clamav plugin: clamscan results: /var/spool/qpsmtpd/1215768248:5428:0: lstat() failed. ERROR
@40000000487726c21ae41244 5428 virus::clamav plugin: ClamAV error: /usr/bin/clamdscan --stdout  --config-file=/etc/clamd.conf --disable-summary /var/spool/qpsmtpd/1215768248:5428:0 2>&1: 2
@40000000487726c21ae41dfc
@40000000487726c21af519a4 5428 logging::logterse plugin: ` 59.182.233.199   59.182.233.199   u8668   <jst@vsnl.net>   <cirkit@gmail.com>   virus::clamav   902      msg denied before queued
@40000000487726c21afe2ddc 5428 452 Message denied temporarily
@40000000487726c21d8169d4 sslio[5428]: info: bytes in: 8310
@40000000487726c21d8190e4 sslio[5428]: info: bytes ou: 1752
@40000000487726c21d83698c tcpsvd: info: end 5428 exit 0
@40000000487726c21d8384e4 tcpsvd: info: status 0/10



it shows somekind of clamav error, hence it prompted me to disable e-mail virus scanning and try and it worked. now how do i get the virus scanning working again

how do i manually update freshclam from command line

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #10 on: July 11, 2008, 11:38:08 AM »
the permissions on /var/spool/qpsmtpd are owner :qpsmtpd group:qpsmtpd octal 0750. is that right?

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #11 on: July 11, 2008, 11:48:55 AM »
[root@mcp61 ~]# rpm -qa | grep clamav
smeserver-clamav-1.2.0-21.el4.sme
clamav-db-0.93-2.el4.rf
warning: only V3 signatures can be verified, skipping V4 signature
clamav-0.93-2.el4.rf
[root@mcp61 ~]#

some problem here too....

how do i solve this

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: clamav update
« Reply #12 on: July 11, 2008, 11:58:11 AM »
[root@mcp61 ~]# rpm -qa | grep clamav
smeserver-clamav-1.2.0-21.el4.sme
clamav-db-0.93-2.el4.rf
warning: only V3 signatures can be verified, skipping V4 signature
clamav-0.93-2.el4.rf
[root@mcp61 ~]#

some problem here too....

how do i solve this
Those are current versions. Do not bother about the signature error this has to do with yum verifying packages and is not harmful.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cirkit

  • ****
  • 73
  • +0/-0
Re: clamav update
« Reply #13 on: July 11, 2008, 12:16:59 PM »
any solution to smtp error:452

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: clamav update
« Reply #14 on: July 11, 2008, 03:29:16 PM »
any solution to smtp error:452


Don't report problems here
- Please report bugs and potential bugs in the bug tracker