CVS commit by ossi: 

backport: put INBOX in Maildir


  M +3 -1      config.c   1.4.2.1


--- isync/src/compat/config.c  #1.4:1.4.2.1
@@ -251,4 +251,5 @@ write_imap_server( FILE *fp, config_t *c
        } 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 {
@@ -351,5 +352,6 @@ 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 ) );



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to