Date: Tue, 8 Jul 2008 17:26:08 +0100 From: Frank Shute <frank@shute.org.uk> To: Rem P Roberti <remegius@comcast.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Procmail error Message-ID: <20080708162608.GA20754@melon.esperance-linux.co.uk> In-Reply-To: <20080708155233.GB2058@pcbsd> References: <20080708062219.GB90752@pcbsd> <20080708154618.GA20206@melon.esperance-linux.co.uk> <20080708155233.GB2058@pcbsd>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080708162608.GA20754>