Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-25 Thread Don Levey
On Sun, 2004-04-25 at 02:44, Nigel Horne wrote: > On Sunday 25 Apr 2004 12:19 am, Don Levey wrote: > > > I thought I had... > > Of course, the key line in all of that is: > > "Install into /usr/local/sbin/clamav-milter" > > Which is what I'm trying to do - but this isn't particularly informative >

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-25 Thread Nigel Horne
On Sunday 25 Apr 2004 12:19 am, Don Levey wrote: > I thought I had... > Of course, the key line in all of that is: > "Install into /usr/local/sbin/clamav-milter" > Which is what I'm trying to do - but this isn't particularly informative > (to me). The closest thing I could figure was to use --pre

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-24 Thread Don Levey
On Sat, 2004-04-24 at 18:05, Nigel Horne wrote: > On Saturday 24 April 2004 10:10 pm, Don Levey wrote: > > > Since those are the only files directly named 'clamav-milter", which one > > is the executable and which one the startup script? > > Look in .../clamav-milter/INSTALL and ensure that you h

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-24 Thread Nigel Horne
On Saturday 24 April 2004 10:10 pm, Don Levey wrote: > Since those are the only files directly named 'clamav-milter", which one > is the executable and which one the startup script? Look in .../clamav-milter/INSTALL and ensure that you have followed the instructions in there. > -Don -Nigel -

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-24 Thread Don Levey
On Sat, 2004-04-24 at 16:57, Nigel Horne wrote: > On Saturday 24 April 2004 9:28 pm, Don Levey wrote: > > > Well, I may be making progress. > > Based upon someone's suggestion, I had been keeping the clamav-milter > > execution script in /etc/rc.d/init.d/. I copied it to /usr/sbin, with a > > lin

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-24 Thread Nigel Horne
On Saturday 24 April 2004 9:28 pm, Don Levey wrote: > Well, I may be making progress. > Based upon someone's suggestion, I had been keeping the clamav-milter > execution script in /etc/rc.d/init.d/. I copied it to /usr/sbin, with a > link to it in /usr/local/sbin. I made sure the permissions wer

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-24 Thread Don Levey
On Fri, 2004-04-23 at 16:25, Todd Lyons wrote: > B. van Ouwerkerk wrote: > > > > On my system I had to chmod /var/run/clamav to 700 owned by > > clamav:clamav. You have that dir set to 755. I'm not sure this will work > > exactly the same on all distro's but on Slackware this works just fine. >

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Tomasz Kojm
On Fri, 23 Apr 2004 21:35:45 +0200 "B. van Ouwerkerk" <[EMAIL PROTECTED]> wrote: > > > > If I could make just one suggestion to the clam developers, it > > > would be to consolidate all of the conf files into one. > > > >Well, it looks like there are actually two projects here: clam-av, > >and th

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Don Levey
On Fri, 2004-04-23 at 16:55, Steven Stern wrote: > On Fri, 23 Apr 2004 15:27:41 -0400, "Don Levey" <[EMAIL PROTECTED]> wrote: > > >touch /var/lock/subsys/clamav-milter > > If you su to "clamav", can you do the above? > -- >Steve > Well, no - but that's because the clamav user doesn't hav

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Don Levey
On Fri, 2004-04-23 at 16:50, Pat Masterson wrote: > Don, yes, unfortunately I have blocked most of the cable/DSL networks > (including my own) from getting thru the MTA. My apolgies, but I'm sure > you understand. -pat > > > On Fri, 23 Apr 2004, Don Levey wrote: > > >Pat (Masterson): > >It lo

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Steven Stern
On Fri, 23 Apr 2004 13:19:39 -0700, Todd Lyons <[EMAIL PROTECTED]> wrote: > >I don't have a clamav-milter.conf. Where is yours? What uses it? My >milter commandline refers to the config file of /etc/clamav.conf. $ locate clamav-milter.conf /etc/log.d/conf/services/clamav-milter.conf However,

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Steven Stern
On Fri, 23 Apr 2004 15:27:41 -0400, "Don Levey" <[EMAIL PROTECTED]> wrote: >touch /var/lock/subsys/clamav-milter If you su to "clamav", can you do the above? -- Steve --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGe

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Todd Lyons
B. van Ouwerkerk wrote: On my system I had to chmod /var/run/clamav to 700 owned by clamav:clamav. You have that dir set to 755. I'm not sure this will work exactly the same on all distro's but on Slackware this works just fine. It works fine at mode 755. If you're using an /etc/sysconfig/clama

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Todd Lyons
Steven Stern wrote: Just FYI, after failing several times to build clamav and clamav-milter, I used the RPMs from the "crash-hat" site to install version 0.70. One thing I just roll my own due to some specific settings that I want to use. Once you get a good SRPM, you can make adjustments pretty

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread B. van Ouwerkerk
> If I could make just one suggestion to the clam developers, it would > be to consolidate all of the conf files into one. Well, it looks like there are actually two projects here: clam-av, and the one that enables this as a milter. Consolidation would be nice, as separate sections in the same fi

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Don Levey
[EMAIL PROTECTED] wrote: > On Fri, 23 Apr 2004 12:07:13 -0400, "Don Levey" > <[EMAIL PROTECTED]> wrote: > > >> For whatever reason, I'm not seeing clamav-milter in my ps list. >> If it's not running, that would explain why it doesn't create a sock >> and perhaps why sendmail can't then connect to t

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Don Levey
TP id i3NIlVCB016755 > for <[EMAIL PROTECTED]>; Fri, 23 Apr 2004 14:47:31 -0400 > From: "Don Levey" <[EMAIL PROTECTED]> > To: "Pat Masterson" <[EMAIL PROTECTED]> > Subject: RE: [Clamav-users] Re: clam-av/milter, segmentation fault >

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Steven Stern
On Fri, 23 Apr 2004 12:07:13 -0400, "Don Levey" <[EMAIL PROTECTED]> wrote: >For whatever reason, I'm not seeing clamav-milter in my ps list. >If it's not running, that would explain why it doesn't create a sock >and perhaps why sendmail can't then connect to that sock. I get no >feedback when t

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Don Levey
[EMAIL PROTECTED] wrote: > On Fri, 23 Apr 2004 09:12:03 -0400, "Don Levey" > <[EMAIL PROTECTED]> wrote: > > >> A search of my system doesn't turn up either a clamav-milter.sock or >> clamd.pid. The milter sock file should, at the very least, show up >> here since this is where I'm pointing in th

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread B. van Ouwerkerk
Well, so here might be part of the problem: [EMAIL PROTECTED] clamav]# ls -la /var/run/clamav/ total 8 drwxr-xr-x2 clamav clamav 4096 Apr 22 21:45 . drwxr-xr-x 11 root root 4096 Apr 22 21:21 .. srwx--1 clamav clamav 0 Apr 22 21:45 clamd.sock A search o

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Steven Stern
On Fri, 23 Apr 2004 09:12:03 -0400, "Don Levey" <[EMAIL PROTECTED]> wrote: >A search of my system doesn't turn up either a clamav-milter.sock or >clamd.pid. >The milter sock file should, at the very least, show up here since this is >where I'm pointing in the sendmail.mc file. I had thought I wa

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-23 Thread Don Levey
Steven Stern wrote: > On Thu, 22 Apr 2004 22:36:14 -0400, Don Levey <[EMAIL PROTECTED]> > wrote: > >>> Change the security on /var/run/clamav to clamav:clamav >>> >>> $ ls -ld /var/run/clamav >>> drwxr-xr-x 2 clamav clamav 4096 Apr 19 08:24 /var/run/clamav >>> >>> -- >> Steve, >> Unfortunately, th

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Steven Stern
On Thu, 22 Apr 2004 22:36:14 -0400, Don Levey <[EMAIL PROTECTED]> wrote: >> Change the security on /var/run/clamav to clamav:clamav >> >> $ ls -ld /var/run/clamav >> drwxr-xr-x 2 clamav clamav 4096 Apr 19 08:24 /var/run/clamav >> >> -- >Steve, >Unfortunately, that didn't seem to have an effect.

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Don Levey
On Thu, 2004-04-22 at 22:20, Steven Stern wrote: > >Oops, I may have spoken too soon. My maillog is showing the following: > > > >Apr 22 20:57:07 davinci sendmail[11572]: i3N0v70t011572: Milter > >(clmilter): local socket name /var/run/clamav/clamav-milter.sock unsafe > >Apr 22 20:57:07 davinci s

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Steven Stern
On Thu, 22 Apr 2004 21:25:21 -0400, Don Levey <[EMAIL PROTECTED]> wrote: >On Thu, 2004-04-22 at 20:31, Don Levey wrote: > >> Thank you again - this worked. As far as I can tell, it's functioning >> correctly now. Thanks all for your help! >> -Don >> >Oops, I may have spoken too soon. My maill

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Don Levey
On Thu, 2004-04-22 at 20:31, Don Levey wrote: > Thank you again - this worked. As far as I can tell, it's functioning > correctly now. Thanks all for your help! > -Don > Oops, I may have spoken too soon. My maillog is showing the following: Apr 22 20:57:07 davinci sendmail[11572]: i3N0v70t01

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Don Levey
On Thu, 2004-04-22 at 18:25, [EMAIL PROTECTED] wrote: > In the message dated: Thu, 22 Apr 2004 16:35:01 EDT, > The pithy ruminations from "Don Levey" on > were: > > RTFEM (Read The Fine Error Message): > > => Starting sendmail: 451 4.0.0 InputFilter clmilter not defined: No such file >

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Dan Sjolseth
My sendmail.mc divert(0)dnl VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $') OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl FEATURE(use_cw_file) FEATURE(mailertable) FEATURE(virtusertable) FEATURE(access_db) FEATURE(relay_based_on_MX) FEATURE(blacklist_recipients) FEATURE(`enhdn

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Andrzej Migdalski
what I meant was changing filter name to be consistent with "define(confINPUT_MAIL_FILTERS', `clmilter')dnl" As far as i understand, confINPUT_MAIL_FILTERS says which filter(s) to use and INPUT_MAIL_FILTER define it. Don defined filter named "clamav" but wanted to use undefined "clmilter". excu

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Steven Stern
On Thu, 22 Apr 2004 15:25:02 -0700, [EMAIL PROTECTED] wrote: > > >In the message dated: Thu, 22 Apr 2004 16:35:01 EDT, >The pithy ruminations from "Don Levey" on > were: >=> [EMAIL PROTECTED] wrote: >=> > [SNIP!] > >=> Yes, it does - thanks! >=> Running that permitted the milter to start w

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Todd Lyons
On Thu, 2004-04-22 at 13:35, Don Levey wrote: > Starting sendmail: 451 4.0.0 InputFilter clmilter not defined: No such file > or directory > The lines in sendmail.mc are: > INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, > T=S:4m;R:4m')dnl > define(`confINPUT_MAIL_FILTE

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Joe Maimon
Andrzej Migdalski wrote: Don Levey wrote: The lines in sendmail.mc are: INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, ^^ change it to `clmilter' I think what you are trying to say is that this part of the config line "local:/var/run/clam

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread bergman
In the message dated: Thu, 22 Apr 2004 16:35:01 EDT, The pithy ruminations from "Don Levey" on were: => [EMAIL PROTECTED] wrote: => [SNIP!] => Yes, it does - thanks! => Running that permitted the milter to start without incident or error. => => Of course now (you just knew there had

Re: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Andrzej Migdalski
Don Levey wrote: The lines in sendmail.mc are: INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, ^^ change it to `clmilter' A. --- This SF.net email is sponsored by: The Robotic Monkeys at Think

RE: [Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Don Levey
[EMAIL PROTECTED] wrote: > The startup-scipt nomally resides in, lets say /etc/rc.d/init.d/ on > Redhat Linux. > > Here is how my /etc/sysconfig/clamav-milter looks like: (beware of > line-wraps) > CLAMAV_FLAGS="--headers --noreject --outgoing > --quarantine-dir=/var/run/clamav/quarantine --max-ch

[Clamav-users] Re: clam-av/milter, segmentation fault

2004-04-22 Thread Joacim Ekroth
Don Levey wrote: However, when trying to start clamav-milter I receive a segmentation fault. No further information, just that error. (snip) In case it helps, I've got the clamav-milter file below. Thank you for any help you can offer, -Don /etc/sysconfig/clamav-milter: #!/bin/sh # # clamav-milt