From owner-freebsd-ports@FreeBSD.ORG Sat Feb 28 07:14:05 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE86D16A4CE for ; Sat, 28 Feb 2004 07:14:05 -0800 (PST) Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A24E43D31 for ; Sat, 28 Feb 2004 07:14:05 -0800 (PST) (envelope-from mhellwig@xs4all.nl) Received: from xs4all.nl (xinagnet.xs4all.nl [80.126.243.229]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1SFE0Oh027751; Sat, 28 Feb 2004 16:14:01 +0100 (CET) Message-ID: <4040B04B.8010503@xs4all.nl> Date: Sat, 28 Feb 2004 16:14:19 +0100 From: "Martin P. Hellwig" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrey Chernov References: <403A7649.20306@xs4all.nl> <20040223234640.A48708@newtrinity.zeist.de> <403F660C.7040304@xs4all.nl> <20040228001928.GB47810@nagual.pp.ru> In-Reply-To: <20040228001928.GB47810@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports@FreeBSD.ORG Subject: Re: security/antivir-milter won't start correctly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 15:14:05 -0000 Andrey Chernov wrote: >On Fri, Feb 27, 2004 at 04:45:16PM +0100, Martin P. Hellwig wrote: > > >>I've got a workaround :-), check the attachement for more info. >>But I'm curios if this also works on other machines then my own. >> >> > >I have solution. Change all files and User/Group from daemon:daemon to >smmsp:smmsp as sendmail expects to be for socket. > > > I think you aren't correct at least with the fresh install I did this morning wiht 5.2.1 your'e comment about changing group and user to smmsp doesn't work. IMHO it wouldn't make much sense either because sendmail only interacts with the socket not creating or deleting it, the socket actually is created at boot time but it dissapears at the very moment the boot shell detaches form the antivir startup script. This behaviour is typical for 5x , I believe that 4x doesnt show that behaviour, I can't backup that haven't tested it with 4x. Actually I notices if you replace `fi` with `fi &` from the first start case it works also, handy workaround if you have already installed it from the port. But I favour for my script(ofcourse:-)) it has some nice extra features, like generating mc and cf files depending on your'e configuration, a status check wich also does a control on the existince of the socket ,a pre-test to check if all depending binaries and files are in place, and a update option. Greets, Martin P. Hellwig