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

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


details:   http://hg.dovecot.org/dovecot-2.2/rev/aefdf65442cc
changeset: 16326:aefdf65442cc
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 24aa10efe132 -r aefdf65442cc src/plugins/quota/quota-status.c
--- a/src/plugins/quota/quota-status.c	Thu May 02 18:32:47 2013 +0300
+++ b/src/plugins/quota/quota-status.c	Fri May 03 17:17:15 2013 +0300
@@ -107,7 +107,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