Displaying 1 result from an estimated 1 matches for "nouser_reply".
2013 Aug 01
1
[PATCH] quota-status: allow different action for messages that are too large (over maximum quota)
...ion_rollback(&ctx);
mailbox_free(&box);
@@ -82,6 +81,7 @@
struct mail_storage_service_user *service_user;
struct mail_user *user;
const char *value = NULL, *error;
+ bool too_large;
int ret;
if (client->recipient == NULL) {
@@ -98,14 +98,21 @@
if (ret == 0) {
value = nouser_reply;
} else if (ret > 0) {
- if ((ret = quota_check(user, client->size, &error)) > 0) {
+ if ((ret = quota_check(user, client->size, &error, &too_large)) > 0) {
/* under quota */
value = mail_user_plugin_getenv(user, "quota_status_success");
if (valu...