commit 4b70d9b96c8b309b3edd46c96fcfd67d6addb6bc
Author: Oswald Buddenhagen <[email protected]>
Date: Wed Nov 1 06:20:56 2006 +0000
backport: put INBOX in Maildir
src/compat/config.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/compat/config.c b/src/compat/config.c
index 9db89ec..f2ac9a7 100644
--- a/src/compat/config.c
+++ b/src/compat/config.c
@@ -250,6 +250,7 @@ write_imap_server( FILE *fp, config_t *cfg )
cfg->server_name, cfg->tunnel );
} else {
if (sscanf( cfg->host, "%d.%d.%d.%d", &a1, &a2, &a3, &a4 ) == 4)
+ /* XXX this does not avoid clashes. add port? */
cfg->server_name = nfstrdup( cfg->host );
else {
p = strrchr( cfg->host, '.' );
@@ -350,7 +351,8 @@ write_config( int fd )
fprintf( fp, "SyncState *\n\n" );
if (local_home || o2o)
- fprintf( fp, "MaildirStore local\nPath \"%s/\"\nAltMap %s\n\n",
maildir, tb( altmap > 0 ) );
+ fprintf( fp, "MaildirStore local\nPath \"%s/\"\nInbox
\"%s/INBOX\"\nAltMap %s\n\n",
+ maildir, maildir, tb( altmap > 0 ) );
if (local_root)
fprintf( fp, "MaildirStore local_root\nPath /\nAltMap %s\n\n",
tb( altmap > 0 ) );
if (o2o) {
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel