dovecot-1.1: expire-tool: --test now shows the username in info ...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Oct 5 17:00:04 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/07e03a248555
changeset: 7914:07e03a248555
user: Timo Sirainen <tss at iki.fi>
date: Sun Oct 05 16:59:43 2008 +0300
description:
expire-tool: --test now shows the username in info messages.
diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
src/plugins/expire/expire-tool.c | 12 +++++++-----
diffs (43 lines):
diff -r 0414030ea17f -r 07e03a248555 src/plugins/expire/expire-tool.c
--- a/src/plugins/expire/expire-tool.c Sun Oct 05 16:50:00 2008 +0300
+++ b/src/plugins/expire/expire-tool.c Sun Oct 05 16:59:43 2008 +0300
@@ -229,8 +229,10 @@ static void expire_run(bool testrun)
/* we're no longer expunging old messages from here */
if (!testrun)
dict_unset(trans, key);
- else
- i_info("%s: removed from config", mailbox);
+ else {
+ i_info("%s: mailbox '%s' removed from config",
+ userp, mailbox);
+ }
continue;
}
if (time(NULL) < (time_t)strtoul(value, NULL, 10)) {
@@ -238,7 +240,7 @@ static void expire_run(bool testrun)
so stop processing */
if (testrun) {
i_info("%s: stop, expire time in future: %s",
- mailbox, value);
+ userp, value);
}
break;
}
@@ -259,7 +261,7 @@ static void expire_run(bool testrun)
if (!testrun)
dict_unset(trans, key);
else
- i_info("%s: no messages left", mailbox);
+ i_info("%s: no messages left", userp);
} else {
char new_value[MAX_INT_STRLEN];
@@ -273,7 +275,7 @@ static void expire_run(bool testrun)
dict_set(trans, key, new_value);
else {
i_info("%s: timestamp %s -> %s",
- mailbox, value, new_value);
+ userp, value, new_value);
}
}
}
More information about the dovecot-cvs
mailing list