diff --git a/src/compat/config.c b/src/compat/config.c index f2ac9a7..596c347 100644 --- a/src/compat/config.c +++ b/src/compat/config.c @@ -280,7 +280,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"