solaris makes .mailbox and INBOX files the linux vm can't parse right
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
Fix Committed
|
Low
|
Uday Reddy |
Bug Description
I'm currently on a solaris platform (using emacs 21.1 with vm 8.0.14 (byte-compiled on solaris)), but must move my mail reader to linux, but my incoming mail will still be placed into my .mailbox file by a solaris system. It seems that emacs 21.1 plus vm 8.0.14 (byte-compiled on linux) has never been able to read both the .mailbox and INBOX files correctly. Out of, say, 100 messages that the solaris versions see in the files, the linux versions only see about 3 or 4, which are displayed correctly, so it seems that the linux versions simply skip lots of bytes in both files. I think the problem has to do with separators, because the only difference (besides tons of missing messages) between the solaris-derived and linux-derived INBOXs (other than different header orders) seems to be 1. loss of the Conten-Length: header, and 2. an extra LF inserted between messages in the linux created INBOX.
Can someone suggest what the differences between solaris-derived and linux-derived mail files would be, and/or VM file
format differences between linux and solaris, or suggest some type of failsafe/debugging mode i could invoke in emacs/vm that would allow me to debug this ? perhaps what function i could break on, and then begin single-stepping to trace how the INBOX and/or .mailbox files are being parsed ?
I think to reproduce the bug, all you have to do is get a solaris-derived .mailbox file and invoke a linux version emacs vm command to read it.
my apologies if i have the completely wrong forum, and if so, please direct me to the right one...
thanks,
/jeff
Related branches
Changed in vm: | |
milestone: | 8.2.2a → 8.2.1a |
Changed in vm: | |
milestone: | 8.2.1a → 8.2.90a |
jeff sondeen writes:
> Can someone suggest what the differences between solaris-derived and
> linux-derived mail files would be, and/or VM file format differences
> between linux and solaris, or suggest some type of failsafe/debugging mode
> i could invoke in emacs/vm that would allow me to debug this ? perhaps
> what function i could break on, and then begin single-stepping to trace
> how the INBOX and/or .mailbox files are being parsed ?
Your Solaris folders would in the From_-with- Content- Length format. So, you
must add the following settings to your .vm file:
(setq vm-default- folder- type 'From_- with-Content- Length) From_-with- Content- Length t)
(setq vm-trust-
Please read the documentation for these variables and make sure you
understand what they mean. (The User Manual for version 8.0.14 doesn't have
any documentation for them.)
Please test the settings with small test folders and make sure they work
before you start switching everything!
Cheers,
Uday