Brett Randall | 22 Apr 04:18

mailutil - "invalid MX-format name"

Hey all

I'm trying to use UW-IMAP's mailutil program to move mail from one server to
local MX folders. In doing so, I get an error:

brett <at> secludedvalley:~$ mailutil transfer -v '{imapserver/notls/norsh/
user=brett}INBOX' '#driver.mx//home/brett/Mail/'
[Trying IP address [10.0.0.34]]
[Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1
(imapserver) ready.]
password:
Listing mailboxes...
Copying {imapserver:143/imap/notls/user="brett"}INBOX/Personal
  => #driver.mx//home/brett/Mail/INBOX/Personal
[Reusing connection to imapserver/user="brett"]
[Mailbox is empty]
Can't create mailbox /home/brett/Mail/INBOX/Personal: invalid MX-
format name
[Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1
signing off.]
brett <at> secludedvalley:~$

Using "-debug" doesn't reveal any more useful information (just showing a
scan of the IMAP folders). For the life of me, I can't figure out why the
name is not in the right format. I've looked through the source and with my
limited C knowledge cannot figure it out. Anyone have any clues?

Thanks

Brett.
(Continue reading)

Mark Crispin | 22 Apr 05:31

Re: mailutil - "invalid MX-format name"

What version of mailutil are you running?  If you are not running the 
latest version, try the latest version.

Why are you using mx format?  mx is utterly unsupported and has been in 
that state of non-support for 10 years.  If you want a dual-use mailbox 
format, you should use mix which is supported.

On Tue, 22 Apr 2008, Brett Randall wrote:
> Hey all
>
> I'm trying to use UW-IMAP's mailutil program to move mail from one server to
> local MX folders. In doing so, I get an error:
>
> brett <at> secludedvalley:~$ mailutil transfer -v '{imapserver/notls/norsh/
> user=brett}INBOX' '#driver.mx//home/brett/Mail/'
> [Trying IP address [10.0.0.34]]
> [Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1
> (imapserver) ready.]
> password:
> Listing mailboxes...
> Copying {imapserver:143/imap/notls/user="brett"}INBOX/Personal
>  => #driver.mx//home/brett/Mail/INBOX/Personal
> [Reusing connection to imapserver/user="brett"]
> [Mailbox is empty]
> Can't create mailbox /home/brett/Mail/INBOX/Personal: invalid MX-
> format name
> [Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1
> signing off.]
> brett <at> secludedvalley:~$
>
(Continue reading)

Brett Randall | 22 Apr 05:51

Re: mailutil - "invalid MX-format name"

On 22/4/08 1:31 PM, "Mark Crispin" <mrc <at> Washington.EDU> wrote:

> What version of mailutil are you running?  If you are not running the
> latest version, try the latest version.

I installed Debian's uw-mailutils package version 7:2002edebian1-13.1 . Do
any of those numbers mean anything to you? :) I might try my own compile and
see if its any better.

> Why are you using mx format?  mx is utterly unsupported and has been in
> that state of non-support for 10 years.  If you want a dual-use mailbox
> format, you should use mix which is supported.

I'm trying to port my mail from my IMAP server to use it in the Gnus
mail/newsreader, running in the nnml backend which apparently is the same
format as mx/mh?

Brett

________________________________________________________________________
The material contained in this email may be confidential, and may also
be the subject of copyright and/or privileged information. If you are
not the intended recipient, any use, disclosure or copying of this
document is prohibited. If you have received this document in error,
please advise the sender and delete the document.

This email communication does not create or vary any contractual
relationship between Hillsong and you. Internet communications are not
secure and accordingly Hillsong does not accept any legal liability
for the contents of this message.
(Continue reading)

Mark Crispin | 22 Apr 06:28

Re: mailutil - "invalid MX-format name"

On Tue, 22 Apr 2008, Brett Randall wrote:
> I installed Debian's uw-mailutils package version 7:2002edebian1-13.1 . Do
> any of those numbers mean anything to you? :) I might try my own compile and
> see if its any better.

If "2002e" means that it was derived from imap-2002e, this is a version 
that is nearly 5 years old.  I can't offer much support for dinoware, 
much less dinoware that has been modified by third-parties in ways unknown 
to me.

The current, supported version of UW IMAP software is always on
 	ftp://ftp.cac.washington.edu/mail/imap.tar.Z

Please upgrade to the current version.  If the problem persists in the 
current version, please let me know.

>> Why are you using mx format?  mx is utterly unsupported and has been in
>> that state of non-support for 10 years.  If you want a dual-use mailbox
>> format, you should use mix which is supported.
> I'm trying to port my mail from my IMAP server to use it in the Gnus
> mail/newsreader, running in the nnml backend which apparently is the same
> format as mx/mh?

mx is quite a bit different from mh.  Besides the use of the .mixindex 
file (which contrary to its name only provides limited indexing), mx uses 
CR/LF format newlines instead of UNIX-style LF newlines.  I doubt very 
much that Gnus or nnml does either.  At the very least, you will need to 
delete those .mixindex files and get rid of those CRs, perhaps through a 
script that runs tr on all the files.

(Continue reading)

Brett Randall | 22 Apr 06:45

Re: mailutil - "invalid MX-format name"

On 22/4/08 2:28 PM, "Mark Crispin" <MRC <at> Washington.EDU> wrote:

> On Tue, 22 Apr 2008, Brett Randall wrote:

>> I installed Debian's uw-mailutils package version 7:2002edebian1-13.1 . Do
>> any of those numbers mean anything to you? :) I might try my own compile and
>> see if its any better.

> Please upgrade to the current version.  If the problem persists in the
> current version, please let me know.

What do you know... The latest version works perfectly. Can't believe Debian
Etch ships with such an old piece of software!

>>> Why are you using mx format?  mx is utterly unsupported and has been in
>>> that state of non-support for 10 years.  If you want a dual-use mailbox
>>> format, you should use mix which is supported.

>> I'm trying to port my mail from my IMAP server to use it in the Gnus
>> mail/newsreader, running in the nnml backend which apparently is the same
>> format as mx/mh?

> Doesn't the Gnu software have an IMAP client that can access your IMAP
> server?  Then again, I can understand you're wanting to get mail off an
> Exchange based server since Exchange is not a very satisfactory IMAP
> server... ;-)

You hit the nail right on the head :) Thanks for your help!

Brett.
(Continue reading)

Mark Crispin | 22 Apr 06:53

Re: mailutil - "invalid MX-format name"

On Tue, 22 Apr 2008, Brett Randall wrote:
> What do you know... The latest version works perfectly. Can't believe Debian
> Etch ships with such an old piece of software!

Cool.  Thanks for the update!

At least Debian is in the 21st century.  I still hear from people running 
code from the mid 1990s...

Don't forget to remove those CRs from the files!

-- 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.
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Jeroen van Aart | 22 Apr 20:20

Re: mailutil - "invalid MX-format name"

Brett Randall wrote:
> What do you know... The latest version works perfectly. Can't believe Debian
> Etch ships with such an old piece of software!

That's the nature of the beast I would think. The debian stable release 
is not called stable without reason. I expect that at the time of 
creating the newest stable, etch, that specific version of uw-imap was 
the stable version, known to work (and it IS stable).

I'd rather run somewhat older software known to work and be stable and 
cooperate with the rest of the system, installed with a sane package 
manager, than having to configure and compile many source releases. I 
have been there (linux from scratch for example) and while it is fun and 
you learn a lot you can hit some nasty obstacles. Think having to 
recompile everything on your system because your version of the 
c-library is 2 minor releases (x.xx.1 instead of x.xx.3 or such ;-) too 
old to run or even compile firefox for example (and a number of other 
necessary apps). Well I could compile firefox by fooling it to think 
libc was the newer version but then it had subtle and annoying bugs.

Anyways sorry for the partially off-topic rant. :-)

Regards,
Jeroen
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

(Continue reading)


Gmane