procmail
[Top] [All Lists]

Why is procmail writing to stderr?

2009-08-12 16:14:12
Hello,

I'm using procmail as the MDA from getmail. If Getmail sees procmail has written to stderr, it will assume an error has occured, even though mail is delivered successfully. Although there is an option in getmail to ignore this, is there an explanation why, even when procmail delivers successfully, it writes some logging to stderr?

Here is an example from getmail's log (I've split the long line):

    2009-08-12 20:54:23 Delivery error (command procmail 536 \
        error (0, procmail: [536] Wed Aug 12 20:54:23 2009
    procmail: Assigning "LOGFILE=/var/log/procmail"
    procmail: Opening "/var/log/procmail"))

And here's the corresponding part from procmail's log file (again I've manually split long lines):

    procmail: Assigning "DEFAULT=/home/sda/Maildir/"
    procmail: Assigning \
        "PATH=/home/sda/bin:/usr/local/bin:/usr/bin:/bin"
    procmail: Assigning \
        "LASTFOLDER=/home/sda/Maildir/new/1250106863.536_0.ubuntu"
    procmail: Notified comsat: \
        "sda(_at_)0:/home/sda/Maildir/new/1250106863.536_0.ubuntu"
    From sda(_at_)foo(_dot_)bar Wed Aug 12 20:54:23 2009
     Subject: test
      Folder: /home/sda/Maildir/new/1250106863.536_0.ubuntu

And my procmailrc file:

    VERBOSE=ON
    LOGFILE=/var/log/procmail
    DEFAULT=$HOME/Maildir/


Many thanks for any advice,
Steve

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

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