summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-08-22 14:07:30 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-08-22 14:07:30 +0000
commit8932dffe21c3b9fc102e0a976660f1ab6d158179 (patch)
treeb97057ff7262edfee220bbde6a240fc3c86c0197 /src
parent8f1283799014bd970817d6d0c21fb8fb860f5264 (diff)
Fix missing quota message for system quota failure with maildir.
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/appendfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c
index 16aa3927b..fbda8262d 100644
--- a/src/src/transports/appendfile.c
+++ b/src/src/transports/appendfile.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/transports/appendfile.c,v 1.22 2007/02/20 09:53:41 ph10 Exp $ */
+/* $Cambridge: exim/src/src/transports/appendfile.c,v 1.23 2007/08/22 14:07:30 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -2451,6 +2451,8 @@ else
addr->message = string_sprintf ("failed to open %s (%d tr%s)",
filename, i, (i == 1)? "y" : "ies");
addr->basic_errno = errno;
+ if (errno == errno_quota || errno == ENOSPC)
+ addr->user_message = US"mailbox is full";
return FALSE;
}