From: Stephan Bosch Date: Wed, 5 Sep 2018 19:24:15 +0000 (+0200) Subject: lib-storage: mail-user: Add "%{hostname}" variable expansion. X-Git-Tag: 2.3.4~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6d7cc6243a57bb7d5541877aa848679645f159f;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: mail-user: Add "%{hostname}" variable expansion. --- diff --git a/src/lib-storage/mail-user.c b/src/lib-storage/mail-user.c index a15ed353ff..bcfcc5d4c9 100644 --- a/src/lib-storage/mail-user.c +++ b/src/lib-storage/mail-user.c @@ -311,6 +311,7 @@ mail_user_var_expand_table(struct mail_user *user) { '\0', auth_user, "auth_user" }, { '\0', auth_username, "auth_username" }, { '\0', auth_domain, "auth_domain" }, + { '\0', user->set->hostname, "hostname" }, /* NOTE: keep this synced with imap-hibernate's imap_client_var_expand_table() */ { '\0', NULL, NULL }