From: Timo Sirainen Date: Fri, 4 Sep 2009 18:30:29 +0000 (-0400) Subject: lmtp, expire-tool, doveadm: Set service for config lookups. X-Git-Tag: 2.0.alpha1~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1e1aedb16e04237b024c052587e2338c44159af;p=thirdparty%2Fdovecot%2Fcore.git lmtp, expire-tool, doveadm: Set service for config lookups. --HG-- branch : HEAD --- diff --git a/src/lmtp/commands.c b/src/lmtp/commands.c index 136a7a41e2..f193afe9b6 100644 --- a/src/lmtp/commands.c +++ b/src/lmtp/commands.c @@ -254,6 +254,8 @@ int cmd_rcpt(struct client *client, const char *args) } memset(&input, 0, sizeof(input)); + input.service = "lmtp"; + input.module = "lda"; input.username = name; input.local_ip = client->local_ip; input.remote_ip = client->remote_ip; diff --git a/src/plugins/expire/expire-tool.c b/src/plugins/expire/expire-tool.c index 1335d05fd9..90d47d851a 100644 --- a/src/plugins/expire/expire-tool.c +++ b/src/plugins/expire/expire-tool.c @@ -35,6 +35,7 @@ static int expire_init_user(struct expire_context *ctx, const char *user) i_set_failure_prefix(t_strdup_printf("expire-tool(%s): ", user)); memset(&input, 0, sizeof(input)); + input.service = "expire-tool"; input.username = user; p_clear(ctx->multi_user_pool); diff --git a/src/util/doveadm.c b/src/util/doveadm.c index 94ef481bc0..c776f59ed5 100644 --- a/src/util/doveadm.c +++ b/src/util/doveadm.c @@ -162,6 +162,7 @@ handle_all_users(struct master_service *service, service_flags |= MAIL_STORAGE_SERVICE_FLAG_USERDB_LOOKUP; memset(&input, 0, sizeof(input)); + input.service = "doveadm"; multi = mail_storage_service_multi_init(service, NULL, service_flags); pool = pool_alloconly_create("multi user", 8192);