> Send Clamav-users mailing list submissions to
>       [EMAIL PROTECTED]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/clamav-users
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Clamav-users digest..."
>
>
> Today's Topics:
>
>    1. clamd 0.66 reports: Unknown option ClamukoScanOnLine (Steve King)
>    2. Problems with Clamav-milter (Carlos Chavez)
>    3. Re: clamd 0.66 reports: Unknown option ClamukoScanOnLine (Thomas
> Lamy)
>    4. Re: clamd startup script (Jason Englander)
>    5. freshclam as non-privileged user? (Daniel J McDonald)
>    6. Re: Error during make install of 0.66 (Alex S Moore)
>    7. FW: [Clamav-users] Can't seem to get clamav-milter to scan mail
> (Michael St. Laurent)
>    8. Re: 0.66 (Kiryl Hakhovich)
>    9. [clamav-milter] problem stdin, stderr (LOYET Jerome)
>   10. Re: freshclam as non-privileged user? (Jim Maul)
>   11. Re: Trouble with ClamAV-0.66 (Bill Maidment)
>   12. O_BINARY breaks nono-linux build (WAS Re: [Clamav-users] making
> clamav
>        under solaris {Scanned}) (Fajar A. Nugraha)
>   13. Re: Trouble with ClamAV-0.66 (Bill Maidment)
>   14. Re: 0.66 (Kiryl Hakhovich)
>   15. Re: FW: [Clamav-users] Can't seem to get clamav-milter to scan mail
> (Nigel Horne)
>   16. Re: [clamav-milter] problem stdin, stderr (Nigel Horne)
>
> --__--__--
>
> Message: 1
> From: Steve  King <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Thu, 12 Feb 2004 21:27:56 +0000
> Subject: [Clamav-users] clamd 0.66 reports: Unknown option
> ClamukoScanOnLine
> Reply-To: [EMAIL PROTECTED]
>
> =2D----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello
>
> Just installed 0.66. When I try to start clamd, I get this message:
>
> ERROR: Parse error at line 168: Unknown option ClamukoScanOnLine.
> ERROR: Can't open/parse the config file /usr/local/etc/clamav.conf
> startproc:  exit status of parent of /usr/local/sbin/clamd: 1
>
> I have tried deleting everything *clam* before reinstalling 0.66, but I
> get=
> =20
> the same message.
>
> Commenting out the ClamukoScanOnLine line allows clamd to start.
>
> So my PC is running a little faster, but I do like to have clamuko running
> =
> to=20
> prevent my children from running anything they shouldn't...
>
> Steve
> =2D----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAK+/f94mqX5AIfgARAn+KAJ4u7VpkQ7McNpjLpgASjcnzLBsDPQCfQ94c
> MS+jHI+paaqcWHA+N7mf/N0=3D
> =3DeGK/
> =2D----END PGP SIGNATURE-----
>
>
>
> --__--__--
>
> Message: 2
> From: "Carlos Chavez" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Thu, 12 Feb 2004 16:15:27 -0600
> Subject: [Clamav-users] Problems with Clamav-milter
> Reply-To: [EMAIL PROTECTED]
>
>      I compiled Clamav 0.65 on a Fedora Core 1 server and by itself it
> works
> fine.  The problem is when I try to run clamav-milter in order to scan
> mail.
> This is what happens:
>
> # /usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
> /usr/local/sbin/clamav-milter: StreamSavetoDisk not enabled in
> /usr/local/etc/clamav.conf
> # nano /usr/local/etc/clamav.conf
> # /usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
> ERROR: Parse error at line 52: Unknown option StreamSavetoDisk.
> /usr/local/sbin/clamav-milter: Can't parse the config file
> /usr/local/etc/clamav.conf
>
>      I seem to have a catch 22 here.  If the option StremSavetoDisk is not
> in
> the config file then I get the first error.  After I edit it and run
> clamav-milter again I get the second error.  What am I doing wrong?
>
> --
> Carlos Chavez
> Computer Engineer, CCNA
> Corporativo Lacer S.A. de C.V.
>
>
>
> --__--__--
>
> Message: 3
> Date: Thu, 12 Feb 2004 23:42:52 +0100
> From: Thomas Lamy <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Clamav-users] clamd 0.66 reports: Unknown option
> ClamukoScanOnLine
> Reply-To: [EMAIL PROTECTED]
>
> Steve King wrote:
>> Hello
>>
>> Just installed 0.66. When I try to start clamd, I get this message:
>>
>> ERROR: Parse error at line 168: Unknown option ClamukoScanOnLine.
>> ERROR: Can't open/parse the config file /usr/local/etc/clamav.conf
>> startproc:  exit status of parent of /usr/local/sbin/clamd: 1
>>
>> I have tried deleting everything *clam* before reinstalling 0.66, but I
>> get
>> the same message.
>>
>> Commenting out the ClamukoScanOnLine line allows clamd to start.
>>
>> So my PC is running a little faster, but I do like to have clamuko
>> running to
>> prevent my children from running anything they shouldn't...
>>
>
>  From the 0.66 announcement:
>> Untested code
>> has been disabled also the Dazuko support is temporarily not available
>> (if
>> you really need it please use a CVS version or wait for a next stable
>> release). Have a look at README for other important changes.
>
> Sorry - RTM.
>
> Regards,
>   Thomas
>
>
> --__--__--
>
> Message: 4
> Date: Thu, 12 Feb 2004 18:05:16 -0500 (EST)
> From: Jason Englander <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Clamav-users] clamd startup script
> Reply-To: [EMAIL PROTECTED]
>
> On Thu, 12 Feb 2004 [EMAIL PROTECTED] wrote:
>
>> I want to install MIMEDefang with Clamav. Clamav works, but when I run
>>
>> ./configure --with-user=defang
>>
>> MIMEDefang can't find clamd.
>
> If it's in some weird location that's not in your path, you can
> either add that directory to your PATH before you run configure or
> you can finish the installation then define $Features{"Virus:CLAMD"} =
> "/path/to/clamd"; in your filter.
>
> configure will only look for it in your $PATH, /usr/local/sbin, /usr/sbin,
> and /sbin (and other virus scanner specific paths like /usr/local/uvscan).
>
>   Jason
>
> --
> Jason Englander <[EMAIL PROTECTED]>
> 394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA

my clamd is in /usr/local/sbin/, but I will try to install first then
change the path.

Thanks.

>
>
> --__--__--
>
> Message: 5
> From: Daniel J McDonald <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Organization: Austin Energy
> Date: Thu, 12 Feb 2004 17:11:39 -0600
> Subject: [Clamav-users] freshclam as non-privileged user?
> Reply-To: [EMAIL PROTECTED]
>
> Prior to upgrading to clamav 0.66, I have been running freshclam with
> the same unprivileged user that runs clamd.  However, it has stopped
> working:
> [EMAIL PROTECTED] clamav]$ freshclam
> ERROR: LOGGER: Can't open file /var/log/clamav/freshclam.log to write.
> ERROR: Problem with internal logger.
> [EMAIL PROTECTED] log]$ exit
> [EMAIL PROTECTED] clamav]# freshclam
> ClamAV update process started at Thu Feb 12 17:07:24 2004
> Reading CVD header (main.cvd): OK
> main.cvd is up to date (version: 19, sigs: 19987, f-level: 1, builder:
> ddm)
> Reading CVD header (daily.cvd): OK
> Downloading daily.cvd [*]
> daily.cvd updated (version: 127, sigs: 688, f-level: 1, builder: tkojm)
> Database updated (20675 signatures) from database.clamav.net
> (152.66.249.132).
> Clamd successfully notified about the update.
> [EMAIL PROTECTED] clamav]#
>
> Root has no problem.  Is that limitation by design or accident?
> --
> Daniel J McDonald, CCIE 2495, CNX
> Austin Energy
>
>
>
>
> --__--__--
>
> Message: 6
> Date: Thu, 12 Feb 2004 17:28:25 -0600
> From: Alex S Moore <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Clamav-users] Error during make install of 0.66
> Reply-To: [EMAIL PROTECTED]
>
> On Thu, 12 Feb 2004 20:57:29 +0100
> Peter Bonivart <[EMAIL PROTECTED]> wrote:
>
>>
>> But could you on Solaris use /usr/xpg4/bin/id instead? That one supports
>> -u.
>
> I am not a clamav developer, but I also ran into the same thing with
> Solaris.  Solaris may be alone with the /usr/xpg4 version.  I have been
> editing Makefile in directory database, but that is probably not
> necessary.
>
> Alex
>
>
> --__--__--
>
> Message: 7
> From: "Michael St. Laurent" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'"
>        <[EMAIL PROTECTED]>
> Subject: FW: [Clamav-users] Can't seem to get clamav-milter to scan mail
> Date: Thu, 12 Feb 2004 15:40:05 -0800
> Reply-To: [EMAIL PROTECTED]
>
> Michael St. Laurent <mailto:[EMAIL PROTECTED]> wrote:
>> Yep, I have sendmail-cf installed and the sendmail.cf file *seems* to
>> be correct.  I have the following in the /etc/mail/sendmail.cf file:
>>
>> # Input mail filters
>> O InputMailFilters=clamav-milter
>>
>> and
>>
>> Xclamav-milter,
>> S=local:/var/run/clamav/clamav-milter.sock,F=,T=S:4m;R:4m;E:10m
>>
>> That's what should be in there, yes?
>>
>> Any other things I should check?
>
> OK, I found the source of the problem (though not a solution for it) and
> so
> I'm passing the knowledge on to the list for safe keeping.  ;-)
>
> The one piece of information that I failed to mention and that would
> probably have helped with diagnosis was the fact that I am using a proxy
> to
> receive SMTP mail before it is passed on to sendmail.  Once the proxy is
> satisfied that the mail is legit it invokes sendmail and feeds the message
> to it on STDIN using a command such as:
>
> /usr/sbin/sendmail -L sm-mta -Am [EMAIL PROTECTED]
>
> Because Sendmail is not getting the message through SMTP, the milters are
> not being used.  I have confirmed that this is true from several sources.
> Sendmail only runs milters against emails that are received through SMTP
> on
> port 25.  Thus, even though everything seems to be configured correctly,
> it
> *does* *not* *work*.
>
> --
> Michael St. Laurent
> Hartwell Corporation
>
>
> --__--__--
>
> Message: 8
> Subject: Re: [Clamav-users] 0.66
> From: Kiryl Hakhovich <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Organization: Bsolution Networks
> Date: Thu, 12 Feb 2004 19:08:46 -0500
> Reply-To: [EMAIL PROTECTED]
>
> On Wed, 2004-02-11 at 17:39, Nigel Horne wrote:
>> On Wednesday 11 Feb 2004 9:32 pm, Kiryl Hakhovich wrote:
>> > Hello all,
>> >
>> > i have installed version 0.66, works great however clamav-milter from
>> > this release giving problems.
>> >
>> > it keeps complaining about /var/run/clamav.sock Don't have permissions
>> > and crashes.
>>
>> I doesn't crash, it gives that message and quits.
>>
>> Do you start the program as root?
>> Have you set FixStaleSocket in clamav.con?
>>
>> > Kiryl
>>
>> -Nigel
>
> Thanks Nigel,
>
> yes you are correct it is exits.
> i will try this setting and will post results.
>
> Kiryl.
>
>
>
>
> --__--__--
>
> Message: 9
> From: "LOYET Jerome" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Date: Fri, 13 Feb 2004 01:14:08 +0100
> Subject: [Clamav-users] [clamav-milter] problem stdin, stderr
> Reply-To: [EMAIL PROTECTED]
>
> Hi,
>
> I have a little question:
> Im using clamav 0.66 with milter and sendmail 8.12.9,
>
> I lauch clamav-milter with -loN options and when a virus is intercepted,
> clamav user send a mail to postmaster and sendmail give me an error on
> syslog:
> File descriptors missing on startup: stdout, stderr; Bad file descriptor
> I've seen on the net that it's not important and I don=92t care, But I'd =
> like
> it to disapeer due to have clear log,
>
> Is anyone has an id=E9e ?
>
> Thanks, ++ Jerome
>
>
>
> --__--__--
>
> Message: 10
> Date: Thu, 12 Feb 2004 19:24:37 -0500 (EST)
> Subject: Re: [Clamav-users] freshclam as non-privileged user?
> From: "Jim Maul" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
>
>> Prior to upgrading to clamav 0.66, I have been running freshclam with
>> the same unprivileged user that runs clamd.  However, it has stopped
>> working:
>> [EMAIL PROTECTED] clamav]$ freshclam
>> ERROR: LOGGER: Can't open file /var/log/clamav/freshclam.log to write.
>> ERROR: Problem with internal logger.
>>
>
> does the "unprivileged user" have access to write to /var/log/clamav/ ??
>
> Jim
>
>
> --__--__--
>
> Message: 11
> Date: Fri, 13 Feb 2004 13:48:33 +1100
> From: Bill Maidment <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Clamav-users] Trouble with ClamAV-0.66
> Reply-To: [EMAIL PROTECTED]
>
> More news. freshclam has segfaulted on one of my other machines. It
> seems to depend on which source of data is selected. At least one of the
> servers is sending the data undelimited (i.e. no \0 on the end) and so
> we get the data padded to 512 bytes with what looks like spaces. We
> still can't work out why it is failing, but it is.
>
> Cheers
> Bill
>
> Bill Maidment wrote:
>
>> OK removed everything in /usr/local/lib and reinstalled. Still
>> segfaults. Here is /usr/local/lib contents.
>>
>> drwxr-xr-x    2 root     root         4096 Feb 13 08:19 .
>> drwxr-xr-x   13 root     root         4096 Aug 12  2003 ..
>> -rw-r--r--    1 root     root       667906 Feb 13 08:19 libclamav.a
>> -rwxr-xr-x    1 root     root          740 Feb 13 08:19 libclamav.la
>> lrwxrwxrwx    1 root     root           18 Feb 13 08:19 libclamav.so
>> -> libclamav.so.1.0.3
>> lrwxrwxrwx    1 root     root           18 Feb 13 08:19 libclamav.so.1
>> -> libclamav.so.1.0.3
>> -rwxr-xr-x    1 root     root       356830 Feb 13 08:19
>> libclamav.so.1.0.3
>>
>> It's actually crashing on this instruction at the bottom of str.c
>>    buffer = malloc(j-i+1);
>> where j=250 and i=79
>>
>> The strange thing is that this is the second time it has gone through
>> this routine with exactly the same input!
>> Oh well, I'm learning something about C in the process. I'm getting
>> another programmer to check it out.
>>
>> Also this machine had RedHat 9 installed as an upgrade from a partial
>> RedHat 8, so something may be missing!
>>
>> Cheers
>> Bill
>>
>>
>
>
> --__--__--
>
> Message: 12
> Date: Fri, 13 Feb 2004 10:26:44 +0700
> From: "Fajar A. Nugraha" <[EMAIL PROTECTED]>
> To:  [EMAIL PROTECTED]
> Subject: O_BINARY breaks nono-linux build (WAS Re: [Clamav-users] making
> clamav
>  under solaris {Scanned})
> Reply-To: [EMAIL PROTECTED]
>
> Nikolaj Wicker wrote:
>
>> trying to compile the latest cvs-code under solaris 9 SPARC with these
>> options:
>>
>> throws this error in libclamav (mbox.c)
>>
>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -g -O2 -c mbox.c -MT
>> mbox.lo -MD -MP -MF .deps/mbox.TPlo  -fPIC -DPIC -o .libs/mbox.lo
>> mbox.c: In function `saveFile':
>> mbox.c:1653: error: `O_BINARY' undeclared (first use in this function)
>> mbox.c:1653: error: (Each undeclared identifier is reported only once
>> mbox.c:1653: error: for each function it appears in.)
>
>
> Hi,
>
> Just want to add something.
>  From ChangeLog, it seems that Nigel adds O_BINARY to fix cygwin problem
> on Feb-11, but in turn it breaks non-linux build (namely AIX, Solaris,
> and DEC OSF). Same error as above.
>
> Wed Feb 11 08:19:54 GMT 2004 (njh)
> ----------------------------------
>   * libclamav: Use O_BINARY when saving attachments which is required for
>         Cygwin. Thanks to "Andrey Cherezov" <[EMAIL PROTECTED]>
>
> My last successful build was ClamAV version devel-20040211
>
> Regards,
>
> Fajar A. Nugraha
>
>
> --__--__--
>
> Message: 13
> Date: Fri, 13 Feb 2004 15:23:49 +1100
> From: Bill Maidment <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Clamav-users] Trouble with ClamAV-0.66
> Reply-To: [EMAIL PROTECTED]
>
> Found the problem. We are using HTTPProxy parameters and the user was
> being corrupted.
>
> In freshclam/manager.c line 362
> changed
>             char* buf = mmalloc(strlen(user)*2+4);
> to
>             char* buf = mmalloc(strlen(user)*2+5);
> to allow for the \0 to be added.
>
> Cheers
> Bill
>
>
>
> --__--__--
>
> Message: 14
> Subject: Re: [Clamav-users] 0.66
> From: Kiryl Hakhovich <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Organization: Bsolution Networks
> Date: Thu, 12 Feb 2004 23:32:54 -0500
> Reply-To: [EMAIL PROTECTED]
>
> Hey Nigel,
>
> ok changing the settings in clamav.conf did not solve the problem.
> and i do trying to run it as root.
>
> Here is some more info:
>
> the previous development version with current settings - was worknig
> just fine (and creating socket in /var/run) also the stable version
> before 0.66 was working great too!
>
> this is where i'm getting stuck ;-)
>
> may be it's a bug?
>
> if i change the socket of milter to /tmp/ it is working good.
> but i need it to be in /var/run/
>
>
> thanks a lot guys!
>
>
>
> On Wed, 2004-02-11 at 17:39, Nigel Horne wrote:
>> On Wednesday 11 Feb 2004 9:32 pm, Kiryl Hakhovich wrote:
>> > Hello all,
>> >
>> > i have installed version 0.66, works great however clamav-milter from
>> > this release giving problems.
>> >
>> > it keeps complaining about /var/run/clamav.sock Don't have permissions
>> > and crashes.
>>
>> I doesn't crash, it gives that message and quits.
>>
>> Do you start the program as root?
>> Have you set FixStaleSocket in clamav.con?
>>
>> > Kiryl
>>
>> -Nigel
> --
> Administrator,
>
> Kiryl Hakhovich
> 718-777-6457
>
>
>
> --__--__--
>
> Message: 15
> From: Nigel Horne <[EMAIL PROTECTED]>
> Organization: NJH Music (bandsman.co.uk)
> To: [EMAIL PROTECTED]
> Subject: Re: FW: [Clamav-users] Can't seem to get clamav-milter to scan
> mail
> Date: Fri, 13 Feb 2004 04:51:40 +0000
> Reply-To: [EMAIL PROTECTED]
>
> On Thursday 12 Feb 2004 11:40 pm, Michael St. Laurent wrote:
>
>> /usr/sbin/sendmail -L sm-mta -Am [EMAIL PROTECTED]
>
> Can the proxy send the mail through clamdscan first to do the scanning for
> you?
>
> -Nigel
>
> --
> Nigel Horne. Arranger, Composer, Typesetter.
> NJH Music, Barnsley, UK.  ICQ#20252325
> [EMAIL PROTECTED] http://www.bandsman.co.uk
>
>
>
> --__--__--
>
> Message: 16
> From: Nigel Horne <[EMAIL PROTECTED]>
> Organization: NJH Music (bandsman.co.uk)
> To: [EMAIL PROTECTED]
> Subject: Re: [Clamav-users] [clamav-milter] problem stdin, stderr
> Date: Fri, 13 Feb 2004 04:55:58 +0000
> Reply-To: [EMAIL PROTECTED]
>
> On Friday 13 Feb 2004 12:14 am, LOYET Jerome wrote:
>> Hi,
>>
>> I have a little question:
>> Im using clamav 0.66 with milter and sendmail 8.12.9,
>
>> File descriptors missing on startup: stdout, stderr; Bad file descripto=
> r
>> I've seen on the net that it's not important and I don=92t care, But I'=
> d like
>> it to disapeer due to have clear log,
>
> If Foreground is not set in clamav.conf, clamav-milter closes these filed=
> escriptors and
> re-opens /dev/null as stdin and /dev/console as stdout and stderr. Do the=
> se special files
> exist (you don't mention your operating system) and if so are they writea=
> ble?
>
>> Thanks, ++ Jerome
>
> -Nigel
>
> --=20
> Nigel Horne. Arranger, Composer, Typesetter.
> NJH Music, Barnsley, UK.  ICQ#20252325
> [EMAIL PROTECTED] http://www.bandsman.co.uk
>
>
>
>
> --__--__--
>
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users
>
>
> End of Clamav-users Digest
>



****************************************
Email sent using webmail gateway by ISOT
.....................http://www.isot.com
Register your_domain_name.com...........
..................http://www.pcshare.org


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to