[dovecot-cvs] dovecot/src/deliver deliver.c,1.66,1.67

tss at dovecot.org tss at dovecot.org
Sun May 13 20:33:04 EEST 2007


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv21934/src/deliver

Modified Files:
	deliver.c 
Log Message:
Added quota_full_tempfail setting.



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- deliver.c	13 May 2007 17:10:48 -0000	1.66
+++ deliver.c	13 May 2007 17:33:01 -0000	1.67
@@ -719,7 +719,8 @@
 		int ret;
 
 		error_string = mail_storage_get_last_error(ns->storage, &error);
-		if (error != MAIL_ERROR_NOSPACE) {
+		if (error != MAIL_ERROR_NOSPACE ||
+		    getenv("QUOTA_FULL_TEMPFAIL") != NULL) {
 			/* Saving to INBOX should always work unless
 			   we're over quota. If it didn't, it's probably a
 			   configuration problem. */



More information about the dovecot-cvs mailing list