dovecot-2.1: quota-status: Return 554 instead of 552 on quota fa...

dovecot at dovecot.org dovecot at dovecot.org
Fri May 3 17:17:33 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/0fa68f3a8f6c
changeset: 14960:0fa68f3a8f6c
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 03 17:17:15 2013 +0300
description:
quota-status: Return 554 instead of 552 on quota failures.
This is because RFC 5321/2821 recommends that 552 is treated the same as 452.

diffstat:

 src/plugins/quota/quota-status.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c3e487d82df7 -r 0fa68f3a8f6c src/plugins/quota/quota-status.c
--- a/src/plugins/quota/quota-status.c	Tue Apr 23 13:46:29 2013 +0300
+++ b/src/plugins/quota/quota-status.c	Fri May 03 17:17:15 2013 +0300
@@ -111,7 +111,7 @@
 			/* over quota */
 			value = mail_user_plugin_getenv(user, "quota_status_overquota");
 			if (value == NULL)
-				value = t_strdup_printf("552 5.2.2 %s\n\n", error);
+				value = t_strdup_printf("554 5.2.2 %s\n\n", error);
 		}
 		mail_user_unref(&user);
 		mail_storage_service_user_free(&service_user);


More information about the dovecot-cvs mailing list