procmail
[Top] [All Lists]

Split up error messages to LOGFILE and stderr (related with system quota)

2006-01-21 06:51:38
Hi,

Recently I struggled with bouncing messages when the user's quota had 
exceeded. I choosed Maildir and my mailbox_command in Postfix was:
mailbox_command = /usr/bin/procmail -a "$EXTENSION" 
DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir
After exceeded system quota, mail was tranfered to /var/spool/mail/user 
(without any bounce).

After analize of mailing list archive I've found two solutions:
  - Define ORGMAIL as ORGMAIL=$HOME/Maildir/

(btw, does it have any side effects?)

  - Use quota patch by Isaac Saldana 
(http://www.ee.ucr.edu/~isaldana/procmail/quotas.html)

Both solutions seem to work, but when LOGFILE is defined error message 
is written there and in bounce message there is only postfix info: 
"can't create user output file.".
Without defined LOGFILE I see also procmail info about "quota exceeding".

So, my question is:
Is it possible to write normal and error info to LOGFILE and 
additionally print out error messages to stderr?

Thanks for help
Marcin


____________________________________________________________
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>
  • Split up error messages to LOGFILE and stderr (related with system quota), Marcin Zajączkowski <=