|
|
|
|
||||||
| comp.mail.imap Discussion of IMAP-based mail systems. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I just built and installed UW imap-2006 and now I'm trying to set up some mailboxes to use the mix format. I tried the usual command: mailutil copy mailbox "#driver.mix/mailbox.new" but mailutil complains with "unknown driver". I did a fast check on the code and see that in linkage.h the mix driver is not included. Is this kind of mailbox conversion not supported? Thanks. -- René Berber |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri, 15 Sep 2006, Ren$Bi(B Berber wrote:
> I just built and installed UW imap-2006 and now I'm trying to set up > some mailboxes to use the mix format. > I tried the usual command: > mailutil copy mailbox "#driver.mix/mailbox.new" > but mailutil complains with "unknown driver". Did you install the imap-2006 version of mailutil? > I did a fast check on the code and see that in linkage.h the mix driver > is not included. Are you certain that you checked in the imap-2006 build tree? > Is this kind of mailbox conversion not supported? It is supported. We use it. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Mark Crispin wrote: > On Fri, 15 Sep 2006, Ren$Bi Berber wrote: > > I just built and installed UW imap-2006 and now I'm trying to set up > > some mailboxes to use the mix format. > > I tried the usual command: > > mailutil copy mailbox "#driver.mix/mailbox.new" > > but mailutil complains with "unknown driver". > > Did you install the imap-2006 version of mailutil? Yes, of course. $ mailutil mailutil version 2006.3 usage: mailutil command [switches] arguments check [-d[ebug]] [-v[erbose]] [mailbox] ... > > I did a fast check on the code and see that in linkage.h the mix driver > > is not included. > > Are you certain that you checked in the imap-2006 build tree? Yes, the one under ./c-client . > > Is this kind of mailbox conversion not supported? > > It is supported. We use it. Good to know, has the mix driver needs to be defined as extradrivers (like mbox)? Thanks for your quick reply. -- René Berber |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
René Berber wrote: > Mark Crispin wrote: > > On Fri, 15 Sep 2006, René Berber wrote: > > > I just built and installed UW imap-2006 and now I'm trying to set up > > > some mailboxes to use the mix format. > > > I tried the usual command: > > > mailutil copy mailbox "#driver.mix/mailbox.new" > > > but mailutil complains with "unknown driver". > > > > Did you install the imap-2006 version of mailutil? [snip] > > > Is this kind of mailbox conversion not supported? > > > > It is supported. We use it. Found the problem, mix is not supported under Cygwin, it works fine under Solaris. I made a test changing the Makefile for cyg, mailutil compiles fine but when I run it : $ mailutil copy -v DenyHosts "#driver.mix/DenyHosts.new" /home/rberber/mail/DenyHosts [70 message(s)] => #driver.mix/DenyHosts.new [Failed] even when the result seems fine: $ ll DenyHosts.new/ total 417K drwx------+ 2 rberber None 0 Sep 16 01:30 ./ drwxrw-rw-+ 3 rberber None 0 Sep 16 01:30 ../ -rw------- 1 rberber None 416K Sep 16 01:30 .mix450b9a17 -rw------- 1 rberber None 0 Sep 16 01:30 .mixindex -rw------- 1 rberber None 54 Sep 16 01:30 .mixmeta -rw------- 1 rberber None 0 Sep 16 01:30 .mixstatus the original mailbox is about the same size: -rw------- 1 rberber None 414K Aug 9 13:22 DenyHosts Anyway, I'll take it is not supported. One last question: when I convert a mbox file should I create an INBOX directory? -- René Berber |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
René Berber wrote:
> > Good to know, has the mix driver needs to be defined as extradrivers > (like mbox)? No, it should not be included in EXTRADRIVERS. If you include it then things will not work. > > Thanks for your quick reply. > -- > René Berber - WBR, LifeWins |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Fri, 15 Sep 2006, Ren$Bi(B Berber wrote:
> Found the problem, mix is not supported under Cygwin, it works fine > under Solaris. I haven't tried using mix under Cygwin; and in general I do not support Cygwin. For what it's worth, the result you gave wasn't "fine"; both the index and status files are empty so it isn't a usable mailbox. So you were getting the truth from mailutil when it failed. The problem with Cygwin is that it is neither a complete, nor fully accurate, implementation of UNIX. For example, Cygwin has Windows style mandatory locks instead of UNIX style advisory locks; this will bite any application which implements its locking strategy based upon advisory locks. Cygwin is best thought of being a compatibility package that allows the porting of some UNIX applications to Windows. But as a UNIX environment, Cygwin will never work as well as a true UNIX system, nor will software running under Cygwin ever work as well as native software written for Windows. There is a specific port of UW IMAP to Windows. This port does not currently have mix support, although it is not outside the realm of possibility that a Windows mix driver would be developed in the future. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Fri, 15 Sep 2006, Ren$Bi(B Berber wrote:
> Found the problem, mix is not supported under Cygwin, it works fine > under Solaris. The Cygwin build specifically sets the drivers that are known to work (or have been kludged to work) with it. Other local mailbox drivers are known not to work in Cygwin and are specifically excluded. mix was excluded by default. Now that I think about it, mix won't/can't work under Cygwin. Cygwin's Windows-style mandatory locking (as opposed to UNIX-style advisory locking) is by itself enough to stop mix from working. So, if you want mix format on Windows, I'll take that as a request to build a native Windows driver for mix. As I said in another posting, it is within the realm of possibility. > One last question: when I convert a mbox file should I create an INBOX > directory? The conversion process does this automatically, e.g., mailutil copy -kw INBOX #driver.mix/INBOX is the normal command to convert from a traditional UNIX mailbox INBOX to a mix format INBOX on UNIX systems. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On Fri, 15 Sep 2006, Ren$Bi(B Berber wrote:
> Good to know, has the mix driver needs to be defined as extradrivers > (like mbox)? mix is part of the standard drivers list on UNIX. It is not on Windows (which includes Cygwin) because there is no(t yet any) supported Windows code for mix. So, no, you would not include mix in extradrivers. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. |
|
![]() |
| Outils de la discussion | |
|
|