dovecot-1.2: expire: Log initial configuration if mail_debug=yes.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jul 10 20:48:52 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/bdd8cb7f341a
changeset: 9224:bdd8cb7f341a
user: Timo Sirainen <tss at iki.fi>
date: Fri Jul 10 13:48:41 2009 -0400
description:
expire: Log initial configuration if mail_debug=yes.
diffstat:
1 file changed, 6 insertions(+)
src/plugins/expire/expire-env.c | 6 ++++++
diffs (16 lines):
diff -r 66040bffc1a5 -r bdd8cb7f341a src/plugins/expire/expire-env.c
--- a/src/plugins/expire/expire-env.c Fri Jul 10 11:08:35 2009 -0400
+++ b/src/plugins/expire/expire-env.c Fri Jul 10 13:48:41 2009 -0400
@@ -50,6 +50,12 @@ static void expire_env_parse(struct expi
box.glob = imap_match_init(env->pool, box.pattern, TRUE, '/');
box.type = type;
box.expire_secs = strtoul(names[1], NULL, 10) * 3600 * 24;
+
+ if (getenv("DEBUG") != NULL) {
+ i_info("expire: pattern=%s type=%s secs=%u",
+ box.pattern, type == EXPIRE_TYPE_EXPUNGE ?
+ "expunge" : "altmove", box.expire_secs);
+ }
array_append(&env->expire_boxes, &box, 1);
}
More information about the dovecot-cvs
mailing list