blob: 8f76730275c759a33c8586e342e2b474edbb5318 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-bg,v 1.3 2004/06/06 13:50:41 taca Exp $
--- src/local/file.c.orig 2002-11-17 08:44:57.000000000 +0900
+++ src/local/file.c
@@ -181,7 +181,11 @@ int deliver_file(LOCAL_STATE state,
if (mail_copy_status & MAIL_COPY_STAT_CORRUPT) {
deliver_status = DEL_STAT_DEFER;
} else if (mail_copy_status != 0) {
- deliver_status = (errno == EAGAIN || errno == ENOSPC || errno == ESTALE ?
+ deliver_status = (errno == EAGAIN || errno == ENOSPC ||
+#ifdef EDQUOT
+ errno == EDQUOT ||
+#endif
+ errno == ESTALE ?
defer_append : bounce_append)
(BOUNCE_FLAGS(state.request), BOUNCE_ATTR(state.msg_attr),
"cannot append message to destination file %s: %s",
|