From owner-freebsd-questions@FreeBSD.ORG Sat Feb 19 10:44:09 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9389516A4CE for ; Sat, 19 Feb 2005 10:44:09 +0000 (GMT) Received: from alpargata.net (alpargata.net [67.18.172.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164BB43D53 for ; Sat, 19 Feb 2005 10:44:09 +0000 (GMT) (envelope-from nospam@illusionart.com) Received: from [192.168.1.100] (dsl081-061-217.dsl-isp.net [64.81.61.217] (may be forged)) (authenticated bits=0) by alpargata.net (8.13.1/8.13.1) with ESMTP id j1JAhcSY070756 for ; Sat, 19 Feb 2005 02:44:37 -0800 (PST) (envelope-from nospam@illusionart.com) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <20050216194243.8660916A4D7@hub.freebsd.org> References: <20050216194243.8660916A4D7@hub.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Vonleigh Simmons Date: Sat, 19 Feb 2005 02:40:44 -0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.619) X-Virus-Scanned: ClamAV version 0.82, clamav-milter version 0.82 on alpargata.net X-Virus-Status: Clean Subject: Re: mlock: not setgid mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 10:44:09 -0000 > On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote: >> I asked this question before but I haven't found a solution. I'm >> getting in my mail log the following entry repeated: >> >> usr/local/libexec/mlock[755]: (64) not setgid mail >> >> And I can't figure out what it's complaining about. Below is the >> previous thread questions which ruled out some things. Any help >> resolving this issue is greatly appreciated. >> >> > 067212.html> While looking at that thread again I found this also from Dan Nelson: --- The code that does the check is this: struct group *grp = getgrnam ("mail"); if (!grp || (grp->gr_gid != getegid ())) die ("not setgid mail",EX_USAGE); --- Looking up the man pages I see that getegid gets the group id of the calling process. What is the calling process to mlock? I tried setting ipop2d, ipop3d and imapd to group mail but that didn't change anything. Vonleigh Simmons