procmail
[Top] [All Lists]

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

2003-02-06 14:50:41

    Hello again,
    
    I found a way of fix this:
    
    [getmail config]
    postmaster = "|/usr/local/bin/procmail -d user 2>/dev/null"    
    
    It is secure to redirect procmail stderr to /dev/null? Can I get 
    troubles with this?
    
    Thanks,
    
                Nuno Teixeira
    
On Thu, Feb 06, 2003 at 09:34:41PM +0000, Nuno Teixeira wrote:

    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"
    procmail: Opening "/var/log/procmail.log"))
    Resetting connection and aborting (Delivery error (command 
    "/usr/local/bin/procmail -d user" exited 0 but wrote to stderr 
    (procmail: [82414] Thu Feb  6 21:31:07 2003
    ===
    
    I've checked getmail FAQ and it says:
    
    ===
    Q. I've configured getmail to deliver to a command (external MDA), but it 
    complains that the command exited 0 but wrote to stderr. Why?
    
    A. Command deliveries must exit 0 and not write anything to stderr to be 
    considered a successful delivery. If you know your MDA can write to 
    stderr on success, give your command a --quiet option (if it supports 
    it) or discard or redirect stderr in the command specification of the 
    delivery target.
    ===
    
    Can anyone help me?
    
    Thanks very much,
    
              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

-- 

/*
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>