Re: Procmail error

2008-07-08 Thread Marcus Franke
On Mon, Jul 07, 2008 at 10:52:08PM -0700, Rem P Roberti wrote:

  Never get mail as root. In fact never use root unless you really have
  to, but that is a more general point.
   
 Understood.  But I thought this entry (root:  rem) in my aliases file
 would take care of that.
 

in root's crontab use fetch the mail and let procmail as root
sort those files into your users mailbox/maildir files?

No wonder those files belong to root and your user cannot 
open them.

This line is for a different purpose!

All of the daily status mails your box sends to root, will be
sent to your users spoolfile instead.

As long as you do not spool those fetched email, no alias will
be used ever.


Greetings,
Marcus 

P.S.: FreeBSD for the win :)



Re: Procmail error

2008-07-08 Thread Rem P Roberti
 On Mon, Jul 07, 2008 at 10:52:08PM -0700, Rem P Roberti wrote:
 
   Never get mail as root. In fact never use root unless you really have
   to, but that is a more general point.

  Understood.  But I thought this entry (root:rem) in my aliases file
  would take care of that.
  
 
 in root's crontab use fetch the mail and let procmail as root
 sort those files into your users mailbox/maildir files?
 
 No wonder those files belong to root and your user cannot 
 open them.
 
 This line is for a different purpose!
 
 All of the daily status mails your box sends to root, will be
 sent to your users spoolfile instead.
 
 As long as you do not spool those fetched email, no alias will
 be used ever.

I'm missing something here.  It's user's crontab that is used to invoke
getmail, and retrieve the pop mail.  So I'm still in the dark as to why
those files belong to root... and my user can't retrieve them?

Rem


Re: Procmail error

2008-07-08 Thread Rem P Roberti
  On Mon, Jul 07, 2008 at 10:52:08PM -0700, Rem P Roberti wrote:
  
Never get mail as root. In fact never use root unless you really have
to, but that is a more general point.
 
   Understood.  But I thought this entry (root:  rem) in my aliases file
   would take care of that.
   
  
  in root's crontab use fetch the mail and let procmail as root
  sort those files into your users mailbox/maildir files?
  
  No wonder those files belong to root and your user cannot 
  open them.
  
  This line is for a different purpose!
  
  All of the daily status mails your box sends to root, will be
  sent to your users spoolfile instead.
  
  As long as you do not spool those fetched email, no alias will
  be used ever.
 
 I'm missing something here.  It's user's crontab that is used to invoke
 getmail, and retrieve the pop mail.  So I'm still in the dark as to why
 those files belong to root... and my user can't retrieve them?

Problem solved.  I added allow_root_commands = True to the
[destination] entries in the getmailrc and that fixed it.

Rem


Re: Procmail error

2008-07-07 Thread Brian Salter-Duke
On Mon, Jul 07, 2008 at 10:32:54PM -0700, Rem P Roberti wrote:
 
 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.

Never get mail as root. In fact never use root unless you really have
to, but that is a more general point.
 
 Rem
 

-- 
There is no reason anyone would want a computer in their home.
--Ken Olson, president, chairman and founder of Digital Equipment Corp., 1977
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



Re: Procmail error

2008-07-07 Thread Rem P Roberti
  
  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.
 
 Never get mail as root. In fact never use root unless you really have
 to, but that is a more general point.
  
Understood.  But I thought this entry (root:rem) in my aliases file
would take care of that.

Rem