From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 16:26:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F01E11065674 for ; Tue, 8 Jul 2008 16:26:18 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 8062A8FC1D for ; Tue, 8 Jul 2008 16:26:18 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KGG18-0000RC-EO; Tue, 08 Jul 2008 17:26:14 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m68GQDQ7030031; Tue, 8 Jul 2008 17:26:13 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 8B10DFCA4AE; Tue, 8 Jul 2008 17:26:08 +0100 (BST) Date: Tue, 8 Jul 2008 17:26:08 +0100 From: Frank Shute To: Rem P Roberti Message-ID: <20080708162608.GA20754@melon.esperance-linux.co.uk> Mail-Followup-To: Rem P Roberti , FreeBSD Questions References: <20080708062219.GB90752@pcbsd> <20080708154618.GA20206@melon.esperance-linux.co.uk> <20080708155233.GB2058@pcbsd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080708155233.GB2058@pcbsd> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Tue, 08 Jul 2008 17:26:14 +0100 (BST) Cc: FreeBSD Questions Subject: Re: Procmail error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2008 16:26:19 -0000 On Tue, Jul 08, 2008 at 08:52:33AM -0700, Rem P Roberti wrote: > > On 2008.07.08 16:46:18 +0000, Frank Shute wrote: > > On Mon, Jul 07, 2008 at 11:22:19PM -0700, Rem P Roberti wrote: > > > > > > > > > > > > Probably the wrong forum for this, but since it's on a freebsd system: > > > > > > > > > > I have mutt installed on two other freebsd computers. I fetch pop > > > > > mail via getmail, and procmail puts things where they belong. I just > > > > > installed freebsd 7.0 on another computer with what I thought were the > > > > > exact same settings for all of the mail programs involved. When I try > > > > > to retrieve mail I get this error message: > > > > > > > > > > Delivery error (command procmail 3695 error (127, exec of command > > > > > procmail failed (refuse to invoke external commands as root or GID 0 > > > > > by default))) > > > > > > > > > > I'm a relative newbie here and would appreciate it if someone could > > > > > give me a heads up on this. > > > > > > > > > > Rem > > > > > > > > Are you running getmail as root? > > > > > > Boy, I hope not. And I have this entry in my aliases file: > > > > > > root: rem > > > > > > so I'm not collecting mail as root. > > > > > > > What does your getmailrc look like? > > > > I've got this section in there. You should have similar: > > > > [destination] > > type = MDA_external > > path = /usr/local/bin/procmail > > user = frank > > Here is the entry I use: > > [destination] > type = MDA_external > path = /usr/local/bin/procmail > unixfrom = True > > This getmailrc file is the same one that I use on two other computers > with not problems. > The problem is that you're invoking getmail as root on this machine and not the others. http://pyropus.ca/software/getmail/troubleshooting.html#error-messages -- Frank Contact info: http://www.shute.org.uk/misc/contact.html