Procmail error

Frank Shute frank at shute.org.uk
Tue Jul 8 16:26:19 UTC 2008


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 



More information about the freebsd-questions mailing list