Re: SV: [Clamav-users] Clamav.conf parameters revisited

2005-02-24 Thread Matt Fretwell
[EMAIL PROTECTED] wrote:

> -> Tomasz
> 
> Now I am confused on a higher level :-)
> 
> My spamassassin shows:
> 
> C:\Perl\bin>spamassassin.bat -V
> SpamAssassin version 3.0.2
>   running on Perl version 5.8.6
> 
> So what is 0.8x a reference to ?


 The version of ClamAV.


Matt
___
http://lurker.clamav.net/list/clamav-users.html


Re: SV: [Clamav-users] Clamav.conf parameters revisited

2005-02-24 Thread Dale Walsh
On Feb 24, 2005, at 04:23, <[EMAIL PROTECTED]> wrote:
-> Tomasz
Now I am confused on a higher level :-)
My spamassassin shows:
C:\Perl\bin>spamassassin.bat -V
SpamAssassin version 3.0.2
  running on Perl version 5.8.6
So what is 0.8x a reference to ?
L.O.L.
It's a version reference for ClamAV.
Best regards
Harald Villemoes
[EMAIL PROTECTED]

-Oprindelig meddelelse-
Fra: Tomasz Kojm [mailto:[EMAIL PROTECTED]
Sendt: 24. februar 2005 03:40
Til: ClamAV users ML
Emne: Re: [Clamav-users] Clamav.conf parameters revisited
On Mon, 21 Feb 2005 21:21:09 +0100
"Harald Villemoes" <[EMAIL PROTECTED]> wrote:
I have a novice question. I am running clamav on a W2003server
(clamWin / cygwin) and are very happy with it.
I use it through the clamscan interface, but expect to be able to run
much faster using clamav and clamdscan.
Unfortunately I cannot read the man pages except in "raw" format,
which is not very convenient.
Can I read the clamav.conf parameter description somewhere on the net
?
First upgrade to 0.8x which uses clamd.conf instead of clamav.conf.
You will find a well commented example in clamav-0.8x/etc/clamd.conf
--
   oo. Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Thu Feb 24 03:39:19 CET 2005
___
http://lurker.clamav.net/list/clamav-users.html
___
http://lurker.clamav.net/list/clamav-users.html


SV: [Clamav-users] Clamav.conf parameters revisited

2005-02-24 Thread harald
-> Tomasz

Now I am confused on a higher level :-)

My spamassassin shows:

C:\Perl\bin>spamassassin.bat -V
SpamAssassin version 3.0.2
  running on Perl version 5.8.6

So what is 0.8x a reference to ?

Best regards

Harald Villemoes
[EMAIL PROTECTED]



-Oprindelig meddelelse-
Fra: Tomasz Kojm [mailto:[EMAIL PROTECTED] 
Sendt: 24. februar 2005 03:40
Til: ClamAV users ML
Emne: Re: [Clamav-users] Clamav.conf parameters revisited

On Mon, 21 Feb 2005 21:21:09 +0100
"Harald Villemoes" <[EMAIL PROTECTED]> wrote:

> I have a novice question. I am running clamav on a W2003server
> (clamWin / cygwin) and are very happy with it.
> I use it through the clamscan interface, but expect to be able to run
> much faster using clamav and clamdscan.
> 
> Unfortunately I cannot read the man pages except in "raw" format,
> which is not very convenient.
> 
> Can I read the clamav.conf parameter description somewhere on the net
> ?

First upgrade to 0.8x which uses clamd.conf instead of clamav.conf.
You will find a well commented example in clamav-0.8x/etc/clamd.conf

-- 
   oo. Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Thu Feb 24 03:39:19 CET 2005

___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Clamav.conf parameters revisited

2005-02-23 Thread Tomasz Kojm
On Mon, 21 Feb 2005 21:21:09 +0100
"Harald Villemoes" <[EMAIL PROTECTED]> wrote:

> I have a novice question. I am running clamav on a W2003server
> (clamWin / cygwin) and are very happy with it.
> I use it through the clamscan interface, but expect to be able to run
> much faster using clamav and clamdscan.
> 
> Unfortunately I cannot read the man pages except in "raw" format,
> which is not very convenient.
> 
> Can I read the clamav.conf parameter description somewhere on the net
> ?

First upgrade to 0.8x which uses clamd.conf instead of clamav.conf.
You will find a well commented example in clamav-0.8x/etc/clamd.conf

-- 
   oo. Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Thu Feb 24 03:39:19 CET 2005


pgpkDiy0hRiUl.pgp
Description: PGP signature
___
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] Clamav.conf parameters revisited

2005-02-21 Thread Harald Villemoes
I have a novice question. I am running clamav on a W2003server (clamWin /
cygwin) and are very happy with it.
I use it through the clamscan interface, but expect to be able to run much
faster using clamav and clamdscan.

Unfortunately I cannot read the man pages except in "raw" format, which is
not very convenient.

Can I read the clamav.conf parameter description somewhere on the net ?

Or does anybody know a Win-based man reader ?

Thanks in advance

Harald


___
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] clamav.conf for 0.74 on OS X

2004-07-02 Thread Chadwick Wachs
Could someone with a successful installation of ClamAV 0.74 on OS X 
(preferably using Communigate) e-mail me their clamav.conf and 
freshclam.conf files?  I am having an issue after upgrading from 0.67 
where mail is scanned and viruses are NEVER found - even when testing 
with known virus files from testvirus.org.

Chad

---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] clamav.conf file

2004-04-22 Thread Wiltshire, Michael
Title: Message



 

  
  -Original Message-From: Wiltshire, 
  Michael Sent: Thursday, April 22, 2004 12:05 PMTo: 
  '[EMAIL PROTECTED]'Cc: 
  '[EMAIL PROTECTED]'Subject: RE: [Clamav-users] clamav.conf file 
  
   
  

-Original Message-From: Wiltshire, 
Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 
2004 10:24 AMTo: [EMAIL PROTECTED]Cc: 
'[EMAIL PROTECTED]'Subject: RE: [Clamav-users] clamav.conf 
file 
=> Hi all again, => 
=> When I run clamdscan, I get the following 
error: => => # 
clamdscan -v => ERROR: Clamd is not configured 
properly. => => This 
only happens when I uncomment the line below.  => => # TCP port address. 
=> TCPSocket 3310 
If that's uncommented, then I believe that you also need to comment out LocalSocket, and possibly assign a value 
to (uncomment) TCPAddr. 
=> => If I leave it commented, 
I get this error: => => # clamdscan -v => connect(): Socket 
operation on non-socket => ERROR: Can't connect 
to clamd. 
Do you have a definition for LocalSocket? 
=> => Which I guess is to be 
expected. => => 
=> Any help ? => 
=> Mike. 
 I uncommented theTCP port 
address and TCPAddr (127.0.0.1),  and commented 
  Localsocket  and got the message 
 : # clandscan /etc 
Connect () : Invalid argument ERROR: 
Can't connect to clamd 


RE: [Clamav-users] clamav.conf file

2004-04-22 Thread Wiltshire, Michael
Title: Message



 

  
  -Original Message-From: Wiltshire, 
  Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 
  2004 10:24 AMTo: [EMAIL PROTECTED]Cc: 
  '[EMAIL PROTECTED]'Subject: RE: [Clamav-users] clamav.conf file 
  
  => Hi all again, => 
  => When I run clamdscan, I get the following 
  error: => => # clamdscan 
  -v => ERROR: Clamd is not configured 
  properly. => => This 
  only happens when I uncomment the line below.  => => # TCP port address. 
  => TCPSocket 3310 
  If that's uncommented, then I believe that you also need to comment out LocalSocket, and possibly assign a value 
  to (uncomment) TCPAddr. 
  => => If I leave it commented, I 
  get this error: => => # 
  clamdscan -v => connect(): Socket operation on 
  non-socket => ERROR: Can't connect to clamd. 
  
  Do you have a definition for LocalSocket? 
  => => Which I guess is to be 
  expected. => => 
  => Any help ? => 
  => Mike. 
   I uncommented theTCP port 
  address and TCPAddr (127.0.0.1),  and commented 
    Localsocket  and got the message 
   : # clandscan /etc 
  Connect () : Invalid argument ERROR: 
  Can't connect to clamd 


RE: [Clamav-users] clamav.conf file

2004-04-22 Thread Wiltshire, Michael
Title: RE: [Clamav-users] clamav.conf file 






=> Hi all again,
=> 
=> When I run clamdscan, I get the following error:
=> 
=> # clamdscan -v
=> ERROR: Clamd is not configured properly.
=> 
=> This only happens when I uncomment the line below.  
=> 
=> # TCP port address.
=> TCPSocket 3310


If that's uncommented, then I believe that 
you also need to comment out LocalSocket, and possibly assign a value to 
(uncomment) TCPAddr.


=> 
=> If I leave it commented, I get this error:
=> 
=> # clamdscan -v
=> connect(): Socket operation on non-socket
=> ERROR: Can't connect to clamd.


Do you have a definition for LocalSocket?


=> 
=> Which I guess is to be expected.
=> 
=> 
=> Any help ?
=> 
=> Mike.


    
I uncomment the TCP port address and TCPAddr (127.0.0.1), anf commect the Localsocket and the the message:
# clandscan /etc


Connect () : Invalid argument
ERROR: Can't connect to clamd





Re: [Clamav-users] clamav.conf file

2004-04-21 Thread Jakub Jankowski
On 2004-04-21, Wiltshire, Michael wrote:

># clamdscan -v
>ERROR: Clamd is not configured properly.
>
>This only happens when I uncomment the line below.
>
># TCP port address.
>TCPSocket 3310

Use either LocalSocket or TCPSocket, not both at the same time.

s.

-- 
(0>  Jakub Jankowski  [url]: s.atn.pl  "Nawet w Krainie Czarow
//\   [EMAIL PROTECTED]   [rlu]: 174516 latwiej jest spotkac
V_/_  [EMAIL PROTECTED]   [ekg]: 921514 Babe Jage niz Alicje"
Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] clamav.conf file

2004-04-21 Thread Wiltshire, Michael
Title: clamav.conf file






Hi all again,


When I run clamdscan, I get the following error:


# clamdscan -v
ERROR: Clamd is not configured properly.


This only happens when I uncomment the line below.  


# TCP port address.
TCPSocket 3310


If I leave it commented, I get this error:


# clamdscan -v
connect(): Socket operation on non-socket
ERROR: Can't connect to clamd.


Which I guess is to be expected.



Any help ?


Mike.






Re: [Clamav-users] clamav.conf

2004-04-09 Thread Fajar A. Nugraha
Mike van Vugt wrote:

Edit the file to make sure it's appropriately configured. Make sure you look
at the very top of the file.  There's a line that contains "Example" that must
be uncommented or you'll get the "Please edit..." message.
   

Hmmm, second time reading this email I noticed something wrong here.
It should be "commented" ( or removed ), instead of "uncommented".
Edited them both and stil get the same message. 

Again, for your setup it's /etc/clamav/clamav.conf

Regards,

Fajar
--
Please avoid sending me Microsoft Office attachments.
See http://www.newsforge.com/software/04/03/27/0134204.shtml
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Fajar A. Nugraha
Mike van Vugt wrote:

Keep getting the message below over and over again. 

[EMAIL PROTECTED] root]# /usr/local/sbin/clamd
ERROR: Please edit the example config file /etc/clamav//clamav.conf.
ERROR: Can't open/parse the config file /etc/clamav//clamav.conf
[EMAIL PROTECTED] root]#
 

Edit the file to make sure it's appropriately configured. Make sure you look
at the very top of the file.  There's a line that contains "Example" that must
be uncommented or you'll get the "Please edit..." message.
   

found two entrie of clamav.conf :

]# locate clamav.conf
/home/mike/clamav/clamav-0.68/etc/clamav.conf
/etc/clamav/clamav.conf
 


Edited them both and stil get the same message. 

since you do

 * ./configure --sysconfdir=/etc/clamav

then the one you should edit is /etc/clamav/clamav.conf
Examine that file again. Perhaps the Example line is still uncommented.
in my /etc/rc.d/init.d/
 

You won't have that if you compile from source.

there is no clamav Maby thats the problem ??? and if it is howto fix
that ???
 

If you still have problems, than for beginners, I would suggest either :
1.   install RPM or deb packages.
Usually they have latest STABLE versions. However, for clamav usually many
problems were solved in CVS snapshot versions.
OR,

2. use my prebuilt clamav linux static binary (built from CVS snapshot)
-   grab 
http://clamav.or.id/snapshot/clamav-devel-latest.linux-static.tar.gz
-   unpack it
   gunzip -c clamav-devel-latest.linux-static.tar.gz | ( cd / ; tar xvf - )
   this will put files in /usr/local/etc, /usr/local/bin, 
/usr/local/sbin, and /usr/local/share/clamav
-  create symlinks
   in /usr/local/bin, delete the files freshclam, sigtool, clamdscan, 
and clamscan if exists.
   create links :
   ln -s clamscan-static clamscan; ln -s clamdscan-static clamdscan;
   ln -s sigtool-static sigtool; ln -s freshclam-static freshclam;
   in /usr/local/sbin, delete the files clamd and clamav-milter if exists.
   create links :
  ln -s clamd-static clamd; ln -s clamav-milter-static clamav-milter;
   in /usr/local/etc, copy the file clamav.conf.milter.linux to clamav.conf
-   run freshclam
-   copy /usr/local/share/clamav/clamd.init to /etc/init.d/clamd
-   run /usr/local/sbin/clamd or execute `service clamd start`

You should now have a fully-functional clamav (and clamd), which runs as 
root.
If the above steps work, you can experiment whatever you want afterwards
(customize clamav.conf, runs clamd as different user, compile your own, 
etc.)

Regards,

Fajar

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Steven Stern
On Fri, 09 Apr 2004 16:11:49 +0200, Mike van Vugt <[EMAIL PROTECTED]> wrote:

>Op vr 09-04-2004, om 15:44 schreef Steven Stern:
>> On Fri, 09 Apr 2004 13:28:29 +0200, Mike van Vugt <[EMAIL PROTECTED]> wrote:
>> 
>> >Hello,
>> >
>> >Keep getting the message below over and over again. I am new to Linux
>> >and having a hard time to get this working. I want to uninstall Clamav
>> >and start over again. Can anyone tell me how to uninstall???
>> >
>> >Regards,
>> >
>> >Mike
>> >
>> >[EMAIL PROTECTED] root]# /usr/local/sbin/clamd
>> >ERROR: Please edit the example config file /etc/clamav//clamav.conf.
>> >ERROR: Can't open/parse the config file /etc/clamav//clamav.conf
>> >[EMAIL PROTECTED] root]#
>> >
>> 
>> First, locate where clamav.conf really is.  Make a note of it. Then, edit
>> /etc/rc.d/init.d/clamav and make sure it's pointing to the real clamav.conf
>> file.  
>> 
>> Edit the file to make sure it's appropriately configured. Make sure you look
>> at the very top of the file.  There's a line that contains "Example" that must
>> be uncommented or you'll get the "Please edit..." message.
>> --
>>Steve
>
>found two entrie of clamav.conf :
>
>]# locate clamav.conf
>/home/mike/clamav/clamav-0.68/etc/clamav.conf
>/etc/clamav/clamav.conf
>[EMAIL PROTECTED] clamav-0.68]#
>
>Edited them both and stil get the same message. in my /etc/rc.d/init.d/
>there is no clamav Maby thats the problem ??? and if it is howto fix
>that ???
>
>Regards,
>
>Mike
>
How does clamd get started on your system?  Somewhere, there's a file that
controls its startup and that can override the compiled-in location for
clamav.conf.


--
   Steve
   


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Hanford, Seth
> [EMAIL PROTECTED] root]# /usr/local/sbin/clamd
> ERROR: Please edit the example config file /etc/clamav//clamav.conf.
> ERROR: Can't open/parse the config file /etc/clamav//clamav.conf
 ^^
This should only be 1
slash, yes?

Perhaps there's a setting where you've specified 1 too many /'s.

*** Also, the line called Example must be commented out for the file to run.
It's in the first 5 or so lines of clamav.conf.

HTH,
Seth



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Tomasz Papszun
On Fri, 09 Apr 2004 at 15:35:40 +0200, Mike van Vugt wrote:
[...]
> User clamav
> ScanMai
 ^ ?!
Is this the exact quote (ScanMai instead of ScanMail)? Or a typo only in
this message?

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]  | ones and zeros.
 [EMAIL PROTECTED]   http://www.ClamAV.net/   A GPL virus scanner


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Mike van Vugt
Op vr 09-04-2004, om 15:44 schreef Steven Stern:
> On Fri, 09 Apr 2004 13:28:29 +0200, Mike van Vugt <[EMAIL PROTECTED]> wrote:
> 
> >Hello,
> >
> >Keep getting the message below over and over again. I am new to Linux
> >and having a hard time to get this working. I want to uninstall Clamav
> >and start over again. Can anyone tell me how to uninstall???
> >
> >Regards,
> >
> >Mike
> >
> >[EMAIL PROTECTED] root]# /usr/local/sbin/clamd
> >ERROR: Please edit the example config file /etc/clamav//clamav.conf.
> >ERROR: Can't open/parse the config file /etc/clamav//clamav.conf
> >[EMAIL PROTECTED] root]#
> >
> 
> First, locate where clamav.conf really is.  Make a note of it. Then, edit
> /etc/rc.d/init.d/clamav and make sure it's pointing to the real clamav.conf
> file.  
> 
> Edit the file to make sure it's appropriately configured. Make sure you look
> at the very top of the file.  There's a line that contains "Example" that must
> be uncommented or you'll get the "Please edit..." message.
> --
>Steve

found two entrie of clamav.conf :

]# locate clamav.conf
/home/mike/clamav/clamav-0.68/etc/clamav.conf
/etc/clamav/clamav.conf
[EMAIL PROTECTED] clamav-0.68]#

Edited them both and stil get the same message. in my /etc/rc.d/init.d/
there is no clamav Maby thats the problem ??? and if it is howto fix
that ???

Regards,

Mike



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Antony Stone
On Friday 09 April 2004 2:35 pm, Mike van Vugt wrote:

> My Steps
>
> groupadd clamav
> useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
>
> tar xzvf clamav-versie.tar.gz
>   * cd clamav-versie
>   * ./configure --sysconfdir=/etc/clamav
>   * make
>   * als root: make install
>   * als root: touch /var/log/clamd.log
>   * als root: chown clamav:root /var/log/clamd.log
>   * als root: mkdir /var/run/clamd
>   * als root: chown clamav:root /var/run/clamd

That all seems perfectly sensible, and I don't see a need to uninstall.

Simply do what the error message tells you to, and you should get a working 
system.

ERROR: Please edit the example config file /etc/clamav/clamav.conf.

Regards,

Antony.

-- 
This email is intended for the use of the individual addressee(s) named above 
and may contain information that is confidential, privileged or unsuitable 
for overly sensitive persons with low self-esteem, no sense of humour, or 
irrational religious beliefs.

If you have received this email in error, you are required to shred it 
immediately, add some nutmeg, three egg whites and a dessertspoonful of 
caster sugar.   Whisk until soft peaks form, then place in a warm oven for 40 
minutes.   Remove promptly and let stand for 2 hours before adding some 
decorative kiwi fruit and cream.   Then notify me immediately by return email 
and eat the original message.

 Please reply to the list;
   please don't CC me.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Steven Stern
On Fri, 09 Apr 2004 13:28:29 +0200, Mike van Vugt <[EMAIL PROTECTED]> wrote:

>Hello,
>
>Keep getting the message below over and over again. I am new to Linux
>and having a hard time to get this working. I want to uninstall Clamav
>and start over again. Can anyone tell me how to uninstall???
>
>Regards,
>
>Mike
>
>[EMAIL PROTECTED] root]# /usr/local/sbin/clamd
>ERROR: Please edit the example config file /etc/clamav//clamav.conf.
>ERROR: Can't open/parse the config file /etc/clamav//clamav.conf
>[EMAIL PROTECTED] root]#
>

First, locate where clamav.conf really is.  Make a note of it. Then, edit
/etc/rc.d/init.d/clamav and make sure it's pointing to the real clamav.conf
file.  

Edit the file to make sure it's appropriately configured. Make sure you look
at the very top of the file.  There's a line that contains "Example" that must
be uncommented or you'll get the "Please edit..." message.
--
   Steve
   


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Mike van Vugt
Op vr 09-04-2004, om 14:49 schreef Daniel J McDonald:
> On Fri, 2004-04-09 at 06:28, Mike van Vugt wrote:
> > Hello,
> > 
> > Keep getting the message below over and over again. 
> 
> Have you edited /etc/clamav/clamav.conf?  Lots of important things there
> you need to set up.
> 
> > I am new to Linux
> > and having a hard time to get this working. I want to uninstall Clamav
> > and start over again. Can anyone tell me how to uninstall???
> 
> How did you install it the first time?  If you used an RPM - just 
> # rpm -e clamav
> If you installed from source, then you'll have to hunt down the pieces
> and pull them out.

My Steps

groupadd clamav
useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav

tar xzvf clamav-versie.tar.gz
  * cd clamav-versie
  * ./configure --sysconfdir=/etc/clamav
  * make
  * als root: make install
  * als root: touch /var/log/clamd.log
  * als root: chown clamav:root /var/log/clamd.log
  * als root: mkdir /var/run/clamd
  * als root: chown clamav:root /var/run/clamd

LogFile /var/log/clamd.log
LogFileMaxSize 2M
LogSyslog
PidFile /var/run/clamd/clamd.pid
TemporaryDirectory /tmp
DatabaseDirectory /usr/local/share/clamav
LocalSocket /var/run/clamd/clamd.socket
TCPAddr 127.0.0.1
StreamSaveToDisk
StreamMaxLenght 10M
User clamav
ScanMai

Regards,

Mike




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Nigel Horne
On Friday 09 Apr 2004 12:28 pm, Mike van Vugt wrote:

> ERROR: Please edit the example config file /etc/clamav//clamav.conf.

Have you done what it tells you to do yet? Namely edit the file 
/etc/clamav/clamav.conf.

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Joe Maimon


Daniel J McDonald wrote:

On Fri, 2004-04-09 at 06:28, Mike van Vugt wrote:
 

Hello,

Keep getting the message below over and over again. 
   

Have you edited /etc/clamav/clamav.conf?  Lots of important things there
you need to set up.
 

I am new to Linux
and having a hard time to get this working. I want to uninstall Clamav
and start over again. Can anyone tell me how to uninstall???
   

How did you install it the first time?  If you used an RPM - just 
# rpm -e clamav
If you installed from source, then you'll have to hunt down the pieces
and pull them out.

 

I would imagine, since this is an automake'd package, you could do make 
uninstall



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread ThistleAir Computing

Mike van Vugt <[EMAIL PROTECTED]> wrote:Hello,

Keep getting the message below over and over again. I
am new to Linux
and having a hard time to get this working. I want to
uninstall Clamav
and start over again. Can anyone tell me how to
uninstall???

Regards,

Mike

[EMAIL PROTECTED] root]# /usr/local/sbin/clamd
ERROR: Please edit the example config file
/etc/clamav//clamav.conf.
ERROR: Can't open/parse the config file
/etc/clamav//clamav.conf
[EMAIL PROTECTED] root]#



Mike,

How did you install ClamAV - was it via a precompiled
package (.rpm / .deb) or compiled from source?

Rgds,

Andy


=
ICQ: 316406440
MSN: thistleaircomputing
AIM: thistlecomputing
Y!: thistleaircomputing






Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2004-04-09 Thread Daniel J McDonald
On Fri, 2004-04-09 at 06:28, Mike van Vugt wrote:
> Hello,
> 
> Keep getting the message below over and over again. 

Have you edited /etc/clamav/clamav.conf?  Lots of important things there
you need to set up.

> I am new to Linux
> and having a hard time to get this working. I want to uninstall Clamav
> and start over again. Can anyone tell me how to uninstall???

How did you install it the first time?  If you used an RPM - just 
# rpm -e clamav
If you installed from source, then you'll have to hunt down the pieces
and pull them out.

-- 
Daniel J McDonald <[EMAIL PROTECTED]>
Austin Energy



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] clamav.conf

2004-04-09 Thread Mike van Vugt
Hello,

Keep getting the message below over and over again. I am new to Linux
and having a hard time to get this working. I want to uninstall Clamav
and start over again. Can anyone tell me how to uninstall???

Regards,

Mike

[EMAIL PROTECTED] root]# /usr/local/sbin/clamd
ERROR: Please edit the example config file /etc/clamav//clamav.conf.
ERROR: Can't open/parse the config file /etc/clamav//clamav.conf
[EMAIL PROTECTED] root]#




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf - user

2004-03-26 Thread Ryan Moore
Björn Ketelaars wrote:
Hello,

I'm running ClamAV 0.68-1 on a OpenBSD-machine (i386, snapshot 190304). 
When I set 'User _clamd' in clamav.conf and start clamd as root I'm not 
able to use clamdscan (not able to open file...most probably due to 
file-restrictions). When I replace _clamd with root everything works 
great. There is just one little thing, I just can't escape the feeling 
that I'm not supposed to change user to Root.

Any suggestions or wise words?

With kind regards,

Björn


If clamd is running as an unprivileged user, there will be several parts 
of the file system that it can't scan due to file system permissions 
(such as /root). For most people this probably isn't a problem since it 
is integrated with a mail system and permissions just need to be set to 
where clamd has access to wherever the queue/tmp files are stored. If 
you don't want to mess with permissions and want to be able to scan 
various things easily as root, you can use clamscan instead of clamdscan.

--
Ryan Moore
--
Perigee.net Corporation
704-849-8355 (sales)
704-849-8017 (tech)
www.perigee.net
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] clamav.conf - user

2004-03-26 Thread Björn Ketelaars
Hello,

I'm running ClamAV 0.68-1 on a OpenBSD-machine (i386, snapshot 190304). 
When I set 'User _clamd' in clamav.conf and start clamd as root I'm not 
able to use clamdscan (not able to open file...most probably due to 
file-restrictions). When I replace _clamd with root everything works 
great. There is just one little thing, I just can't escape the feeling 
that I'm not supposed to change user to Root.

Any suggestions or wise words?

With kind regards,

Björn

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2003-12-03 Thread Daniel Wiberg
Philipp Ringli wrote:

how do i get the manual for clamav.conf(5)?
man 5 clamav.conf

If clamav is not installed in the regular place do a man -M  5 
clamav.conf

//daniel wiberg

--
www.wiberg.nu


---
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2003-12-03 Thread Philipp Ringli
hey wash,

thanks for your reply.
i don't have a clamav.conf file anywhere. i did a search from /.
this is what i found in the readme:
---
-) clamd: a modern anti-virus daemon. It uses configuration file 
clamav.conf
   described in the clamav.conf(5) manual. The program was written with
   security as a goal.
---

how do i get the manual for clamav.conf(5)?

cheers,
phil
ps. it's pretty cold in switzerland right now. slightly above 0 C. 
b...
---
drahtlos gmbh
ringstrasse 18
9543 st.margarethen

fon +41 (0)71 960 09 23
mob +41 (0)79 750 87 74
[EMAIL PROTECTED]
http://www.drahtlos.ch



---
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2003-12-03 Thread Odhiambo Washington
* Jakub Jankowski <[EMAIL PROTECTED]> [20031203 18:33]: wrote:
> On 2003-12-03, Odhiambo Washington wrote:
> 
> >Ok. Something  like this will help...
> >
> >find / -name "clamav.conf -exec cp /etc/ {} \;
> 
> Even if its syntax would be correct, it wouldn't work as expected by
> you. ;)
> 
> >find / -type f -name "clamav.conf" | xargs cp /etc/clamav.conf
> 
> You end up with a broken clamav setup if some your user placed a hostile
> clamav.conf file somewhere in a filesystem, and for some reason your
> find visits that place as the last one.
> 
> I wouldn't recommend your solution, especially over reading docs.

Yeah. I think my hands were faster than my brain in this. Thanks for the
correction. But surely, there was none in /etc previously, no?
I did not stop to think about a hostile user. You are right about this
but users with shell access on production systems _must_ be disciplined
users, otherwise they will put your ass on fire;)



cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
"Oh My God! They killed init! You Bastards!"  
 --from a /. post


smime.p7s
Description: S/MIME cryptographic signature


Re: [Clamav-users] clamav.conf

2003-12-03 Thread Jakub Jankowski
On 2003-12-03, Odhiambo Washington wrote:

>Ok. Something  like this will help...
>
>find / -name "clamav.conf -exec cp /etc/ {} \;

Even if its syntax would be correct, it wouldn't work as expected by
you. ;)

>find / -type f -name "clamav.conf" | xargs cp /etc/clamav.conf

You end up with a broken clamav setup if some your user placed a hostile
clamav.conf file somewhere in a filesystem, and for some reason your
find visits that place as the last one.

I wouldn't recommend your solution, especially over reading docs.

s.

-- 
(0>  Jakub Jankowski  [url]: s.atn.pl  "Nawet w Krainie Czarow
//\   [EMAIL PROTECTED]   [rlu]: 174516 latwiej jest spotkac
V_/_  [EMAIL PROTECTED]   [ekg]: 921514 Babe Jage niz Alicje"
Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D


---
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav.conf

2003-12-03 Thread Odhiambo Washington
* Philipp Ringli <[EMAIL PROTECTED]> [20031203 18:03]: wrote:
> hi all,

Hi Ringli,

How is Schweiz? I've been there once 'in my dream' ;)


> 
> i get these errors:
> 
> ERROR: Malformed CVD header detected.
> ERROR: Can't read main.cvd header from database.clamav.net 
> (209.204.175.217)
> ERROR: Malformed CVD header detected.
> ERROR: Can't read main.cvd header from database.clamav.net 
> (64.69.64.158)
> ERROR: Malformed CVD header detected.
> ERROR: Can't read main.cvd header from database.clamav.net 
> (160.124.112.17)
> 
> and:
> 
> ERROR: Can't open config file /etc/clamav.conf !

You have to _have_ the file there.


> ERROR: Can't parse configuration file.
> 
> i do not have a clamav.conf file in /etc.
> i couldn't find anything in the list archive about the clamav.conf file.
> is there a default clamav.conf somewhere? like a recommended 
> clamav.conf?
> 
> i installed clamav using a rpm.

Do rpms come with a file name README or INSTALL or HOWTO?


> clamscan is used by a filter for xmail. seems to work fine.

Ok. Something  like this will help...

find / -name "clamav.conf -exec cp /etc/ {} \;
find / -type f -name "clamav.conf" | xargs cp /etc/clamav.conf

You have to edit that file once it is /etc and comment out the line
with 'Example'.



cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
"Oh My God! They killed init! You Bastards!"  
 --from a /. post


smime.p7s
Description: S/MIME cryptographic signature


[Clamav-users] clamav.conf

2003-12-03 Thread Philipp Ringli
hi all,

i get these errors:

ERROR: Malformed CVD header detected.
ERROR: Can't read main.cvd header from database.clamav.net 
(209.204.175.217)
ERROR: Malformed CVD header detected.
ERROR: Can't read main.cvd header from database.clamav.net 
(64.69.64.158)
ERROR: Malformed CVD header detected.
ERROR: Can't read main.cvd header from database.clamav.net 
(160.124.112.17)

and:

ERROR: Can't open config file /etc/clamav.conf !
ERROR: Can't parse configuration file.
i do not have a clamav.conf file in /etc.
i couldn't find anything in the list archive about the clamav.conf file.
is there a default clamav.conf somewhere? like a recommended 
clamav.conf?

i installed clamav using a rpm.
clamscan is used by a filter for xmail. seems to work fine.
cheers,
phil
---
drahtlos gmbh
ringstrasse 18
9543 st.margarethen

fon +41 (0)71 960 09 23
mob +41 (0)79 750 87 74
[EMAIL PROTECTED]
http://www.drahtlos.ch


---
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] clamav.conf -help me

2003-09-17 Thread Ray Solomon





Hi, I am having one small problem here. Can ANYONE 
help me out here please.
Where would the temp directory be for a mail 
scanner be in RedHat7.3?
 
 
==Quote
You need to enable clamuko in clamav.conf. To protect directory 
/home, please use the option: 	ClamukoIncludePath /home
To protect the whole system: 	ClamukoIncludePath /
	ClamukoExcludePath /proc
	ClamukoExcludePath /tempdir/of/mail/scanner  <--here???
== I use exim and sendmail.


Re: [Clamav-users] clamav.conf

2003-09-16 Thread Tomasz Kojm
[ Charset ISO-8859-1 unsupported, converting... ]
> Hi, I am having one small problem here. 
> Where would the temp directory be for a mail scanner be in a RedHat7.3 setup?
> I ask this because I cannot start the Antivirus program untill the configuration 
> file is complete (clamav.conf).
> Sorry for the noobie question.
 
Do you really need on-access scanning ?

Best regards,
Tomasz Kojm
-- 
  oo.   [EMAIL PROTECTED]
 (\/)\. http://www.konarski.edu.pl/~zolw
\..._   I nie zapomnij kliknac w brzuszek... 
  //\   /\\ <- C. Amboinensiswww.pajacyk.pl


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] clamav.conf

2003-09-16 Thread Ray Solomon




Hi, I am having one small problem here. 

Where would the temp directory be for a mail 
scanner be in a RedHat7.3 setup?
I ask this because I cannot start the Antivirus 
program untill the configuration file is complete (clamav.conf).
Sorry for the noobie question.
 
==Quote
You need to enable clamuko in clamav.conf. To protect directory 
/home, please use the option: 	ClamukoIncludePath /home
To protect the whole system: 	ClamukoIncludePath /
	ClamukoExcludePath /proc
	ClamukoExcludePath /tempdir/of/mail/scanner  <--here???
== I use exim and sendmail.