quote user name in generated config.

fixes:
CCMAIL: 456775@bugs.debian.org
This commit is contained in:
Oswald Buddenhagen 2008-02-23 09:37:38 +00:00
parent 2f62a7f608
commit 71fce2a622

View File

@ -305,7 +305,7 @@ write_imap_server( FILE *fp, config_t *cfg )
fprintf( fp, "Port %d\n", cfg->port );
}
if (cfg->user)
fprintf( fp, "User %s\n", cfg->user );
fprintf( fp, "User \"%s\"\n", cfg->user );
if (cfg->pass)
fprintf( fp, "Pass \"%s\"\n", cfg->pass );
fprintf( fp, "RequireCRAM %s\nRequireSSL %s\n"