From: Tomas P. <tp...@so...> - 2004-07-09 15:11:51
|
Ciao Please use the mailsync list [1] for communication about mailsync. But see below... On Fri, 9 Jul 2004, Christian Schrader wrote: > while migrating a mailserver I found two Bugs/missing features: > > 1. It is not possible to specify mailboxes with spaces in the name > for pat in the config file. I tweaked the config parser that I can > use quotes. Well, I cannot program so this is just a hack to get my > work done. > > (patch against mailsync-5.2.1) > ------------------------ snip ---------------------------- > --- configuration.cc.orig 2004-06-14 13:34:04.000000000 +0200 > +++ configuration.cc 2004-07-09 11:00:18.000000000 +0200 > @@ -66,6 +66,7 @@ > ////////////////////////////////////////////////////////////////////////// > { > int c; > + int inq = 0; > t->buf = ""; > t->eof = 0; > while (1) { > @@ -93,7 +94,10 @@ > > // We've reached a token boundary > } > - else if (isspace(c)) { > + else if (c=='"') { > + inq = !inq; > + } > + else if (isspace(c) && !inq) { > // The token is non empty so we've acquired something and can > // return > if (t->buf.size()) { > break; > ------------------------ snip ---------------------------- OK, I'll have a look at it, but not before after holidays (...august). > 2. It should be possible to disable the use of SSL via commandline > switch or config option. Now it is only possible to enable it. > The mailsync on Debian/Sarge tried to use SSL per default and I got > an SSL-Error with an old uw-imapd on the other side. I had to rebuild > libc-client and mailsync without SSL support. What about /notls or /nossl? Doesn't that work? *t [1] http://sourceforge.net/mail/?group_id=6374 -- -------------------------------------------------------- Tomas Pospisek http://sourcepole.com - Linux & Open Source Solutions -------------------------------------------------------- |