Mercurial > dovecot > original-hg > dovecot-1.2
diff src/master/login-process.c @ 9448:ab32d7e2c0d6 HEAD
imap-login: If imap_capability is set, show it in the banner instead of the default.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 20 Oct 2009 15:49:01 -0400 |
parents | 366a327b028b |
children | 19aee456cec3 |
line wrap: on
line diff
--- a/src/master/login-process.c Tue Oct 20 15:40:51 2009 -0400 +++ b/src/master/login-process.c Tue Oct 20 15:49:01 2009 -0400 @@ -619,6 +619,8 @@ *set->imap_capability != '\0' ? set->imap_capability : set->imap_generated_capability, NULL)); + if (*set->imap_capability != '\0') + env_put("CAPABILITY_STRING_OVERRIDDEN=1"); } if (*set->login_trusted_networks != '\0') { env_put(t_strconcat("TRUSTED_NETWORKS=",