Re: [Clamav-users] How to determine if you installed from vendor package or source?

2009-08-10 Thread Tilman Schmidt
steven sprague schrieb:
 Is it safe to upgrade using a RPM file from a ClamAV recommended site?
 and install it on top of source install or the reverse?

I would avoid it. I've had troubles with that in the past.
(Don't ask for details - it's been long ago, around version 0.88,
and I didn't keep records.)

 How can I discover if my original install came from source or rpm?

Just ask RPM:

% rpm -qf /path/to/some/file

will tell you whether that file was installed by RPM and if so,
which package it belongs to. For example:

[...@gimli ~]$ rpm -qf /usr/local/bin/clamscan
file /usr/local/bin/clamscan is not owned by any package
[...@gimli ~]$ rpm -qf /usr/sbin/sendmail
sendmail-8.13.8-2.el5

shows that ClamAV was installed from source on that machine,
while Sendmail came from the EL5 package.

HTH
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany



signature.asc
Description: OpenPGP digital signature
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

[Clamav-users] How-to for postfix + clamav without amavisd/SA

2009-08-10 Thread Len Conrad
We need to check for viruses at the point of submission rather than only at the 
outbound gateway.

Is there a how-to around?

thanks
Len

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] How-to for postfix + clamav without amavisd/SA

2009-08-10 Thread Noel Jones

Len Conrad wrote:

We need to check for viruses at the point of submission rather than only at the 
outbound gateway.

Is there a how-to around?

thanks
Len


Hi Len,

Use clamav-milter (or any other milter/proxy with clam 
support, such as clamsmtp) on your postfix submission 
interface.  This does not require changes to your amavisd-new 
configuration.


http://www.postfix.org/MILTER_README.html


  -- Noel Jones
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] How-to for postfix + clamav without amavisd/SA

2009-08-10 Thread Len Conrad
Len Conrad wrote:
 We need to check for viruses at the point of submission rather than only at 
 the outbound gateway.
 
 Is there a how-to around?
 
 thanks
 Len

Hi Len,

Use clamav-milter (or any other milter/proxy with clam 
support, such as clamsmtp)

I'm going with clamsmtp.  Its rpm installed fine, but clamd rpm has dependency 
problems.

rpm -ivh 
ftp://ftp.pbone.net/mirror/ftp.freshrpms.net/pub/freshrpms/pub/dag/redhat/el5/en/x86_64/RPMS.dag/clamd-0.94.2-1.el5.rf.x86_64.rpm

Retrieving 
ftp://ftp.pbone.net/mirror/ftp.freshrpms.net/pub/freshrpms/pub/dag/redhat/el5/en/x86_64/RPMS.dag/clamd-0.94.2-1.el5.rf.x86_64.rpm

warning: /var/tmp/rpm-xfer.hYsTP6: Header V3 DSA signature: NOKEY, key ID 
6b8d79e6

error: Failed dependencies:

clamav = 0.94.2-1.el5.rf is needed by clamd-0.94.2-1.el5.rf.x86_64

libclamav.so.5()(64bit) is needed by clamd-0.94.2-1.el5.rf.x86_64

libclamav.so.5(CLAMAV_PRIVATE)(64bit) is needed by 
clamd-0.94.2-1.el5.rf.x86_64

libclamav.so.5(CLAMAV_PUBLIC)(64bit) is needed by 
clamd-0.94.2-1.el5.rf.x86_64

libclamunrar.so.5()(64bit) is needed by clamd-0.94.2-1.el5.rf.x86_64

libclamunrar_iface.so.5()(64bit) is needed by 
clamd-0.94.2-1.el5.rf.x86_64

for:

uname -a

Linux ms1..net 2.6.18-128.2.1.el5 #1 SMP Wed Jul 8 11:54:47 EDT 2009 x86_64 
x86_64 x86_64 GNU/Linux

thanks
Len


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml