diff options
Diffstat (limited to 'mail/postfix-current/patches/patch-bt')
-rw-r--r-- | mail/postfix-current/patches/patch-bt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/postfix-current/patches/patch-bt b/mail/postfix-current/patches/patch-bt new file mode 100644 index 00000000000..485fe37a21b --- /dev/null +++ b/mail/postfix-current/patches/patch-bt @@ -0,0 +1,17 @@ +$NetBSD: patch-bt,v 1.1 2004/06/06 13:50:41 taca Exp $ + +--- src/local/maildir.c.orig 2003-04-17 00:03:02.000000000 +0900 ++++ src/local/maildir.c +@@ -212,7 +212,11 @@ int deliver_maildir(LOCAL_STATE stat + if (mail_copy_status & MAIL_COPY_STAT_CORRUPT) { + deliver_status = DEL_STAT_DEFER; + } else if (mail_copy_status != 0) { +- deliver_status = (errno == ENOSPC || errno == ESTALE ? ++ deliver_status = (errno == ENOSPC || ++#ifdef EDQUOT ++ errno == EDQUOT || ++#endif ++ errno == ESTALE ? + defer_append : bounce_append) + (BOUNCE_FLAGS(state.request), BOUNCE_ATTR(state.msg_attr), + "maildir delivery failed: %s", vstring_str(why)); |