backport: quote user name in generated config.
This commit is contained in:
parent
e161af47bb
commit
6636d7ebb7
|
@ -280,7 +280,7 @@ write_imap_server( FILE *fp, config_t *cfg )
|
||||||
fprintf( fp, "Port %d\n", cfg->port );
|
fprintf( fp, "Port %d\n", cfg->port );
|
||||||
}
|
}
|
||||||
if (cfg->user)
|
if (cfg->user)
|
||||||
fprintf( fp, "User %s\n", cfg->user );
|
fprintf( fp, "User \"%s\"\n", cfg->user );
|
||||||
if (cfg->pass)
|
if (cfg->pass)
|
||||||
fprintf( fp, "Pass \"%s\"\n", cfg->pass );
|
fprintf( fp, "Pass \"%s\"\n", cfg->pass );
|
||||||
fprintf( fp, "RequireCRAM %s\nRequireSSL %s\n"
|
fprintf( fp, "RequireCRAM %s\nRequireSSL %s\n"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user