procmail
[Top] [All Lists]

Re: exit 0 and not write anything to stderr possible?

2003-02-06 15:30:47
On Thu, Feb 06, 2003 at 02:00:31PM -0800, Professional Software Engineering 
wrote:
At 21:34 2003-02-06 +0000, Nuno Teixeira did say:

   Hello to all,

   For a long time that I use mutt/fetchnail/procmail without any
   problems. Today I decide to give a try to getmail. I've configure it to
   pipe to procmail and it gives the error:

   ===
   getmail started for user(_at_)domain(_dot_)bogus:110
     POP3 greeting:  +OK
     POP3 user response:  +OK
     POP3 PASS response:  +OK
     POP3 stat response:  1 messages, 614 octets
     POP3 list response:  +OK
     msg #1/1 : len 614 ... retrieved  Delivery error (command
   "/usr/local/bin/procmail -d user" exited 0 but wrote to stderr
   (procmail: [82414] Thu Feb  6 21:31:07 2003
   procmail: Assigning "LOGABSTRACT=all"
   procmail: Assigning "LOGFILE=/var/log/procmail.log"

As a rule, I assign a LOGFILE _BEFORE_ I set things like LOGABSTRACT and 
VERBOSE.  But hey, that's just me.

Where do you figure procmail will emit logging information to before you've 
specified a LOGFILE?  You get _one_ guess.

   procmail: Opening "/var/log/procmail.log"))

What user is this all running as?  Should just any user be permitted to 
write to files in /var/log/ ?

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

    
    Hi,
    
    Only root have write permision to /var/log. I run my system as a normal 
    user but I have configured all my personal logs to go to /var/log:
    
    [example:]
    - touch /var/log/procmail.log (as root)
    - chown me:mygroup /var/log/procmail.log (as root)
    - execute as a normal user fetchmail, procmail, etc.
    
    In this way all my programs log to /var/log with their permissions 
    without problems.
 
    
    Bye,
    
                Nuno Teixeira
    
-- 

/*
PGP fingerprint:
C6D1 06ED EB54 A99C 6B14  6732 0A5D 810D 727D F6C6
*/

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>