This is the error I receive when looking at the mailq:

(temporary failure. Command output: sh: test: argument expected maildirmake: File exists maildirmake: File exists maildirmake: File exists maildirmake: File exists maildirmake: File exists maildrop: error writing to mailbox.)

Is it possible to have Maildrop report this to Postfix as a permanent failure immediately, ie the first time is sees this problem? This will explain why the error looks like it does - my /etc/maildroprc:

DEFAULT="$HOME/Maildir"
SHELL="/sbin/sh"
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"

#
# Autocreate maildir, if non-existant
#

`test -e $DEFAULT`
if ( $RETURNCODE != 0 )
{
`maildirmake Maildir`
`maildirmake -f Drafts Maildir`
`maildirmake -f Junkmail Maildir`
`maildirmake -f Sent Maildir`
`maildirmake -f Trash Maildir`
}


Gordon Thagard wrote:

Hi, our organization has setup filesystem quotas. Is it possible to have maildrop immediately bounce emails sent to users who are over their quota (and with a graceful error message)? As I understand from discussions with the Postfix people, I just need to have Maildrop report a permanent failure and Postfix will deliver the bad news to the sender. Is this possible?



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to