knowledge-database (beta)

Current group: comp.mail.mutt

make mutt open dir with 1 file per message

make mutt open dir with 1 file per message  
Harry Putnam
 Re: make mutt open dir with 1 file per message  
Olaf Foellinger
 Re: make mutt open dir with 1 file per message  
Harry Putnam
 Re: make mutt open dir with 1 file per message  
Olaf Foellinger
 Re: make mutt open dir with 1 file per message  
Christopher Nehren
 Re: make mutt open dir with 1 file per message  
reader at newsguy.com
From:Harry Putnam
Subject:make mutt open dir with 1 file per message
Date:Sun, 12 Dec 2004 12:19:35 -0600
Group,

I've lost track of how to make mutt open a series of messages that are
in the one file per message format inside a specific dir.

That is, to open mail in above format just like in mbox format.

I'm pretty sure I've done this before, but can't find it now in `man
mutt'

The -m switch may be it but can't think what type it would be. nmh fails.
From:Olaf Foellinger
Subject:Re: make mutt open dir with 1 file per message
Date:12 Dec 2004 19:08:14 GMT
On Sun, 12 Dec 2004 12:19:35 -0600, Harry Putnam wrote:
> Group,
>
> I've lost track of how to make mutt open a series of messages that are
> in the one file per message format inside a specific dir.
>
> That is, to open mail in above format just like in mbox format.
>
> I'm pretty sure I've done this before, but can't find it now in `man
> mutt'
>
> The -m switch may be it but can't think what type it would be. nmh fails.

Search the documentation for "maildir".


--

Gruss Olaf
From:Harry Putnam
Subject:Re: make mutt open dir with 1 file per message
Date:Sun, 12 Dec 2004 13:33:40 -0600
Olaf Foellinger writes:

> On Sun, 12 Dec 2004 12:19:35 -0600, Harry Putnam wrote:
>> Group,
>>
>> I've lost track of how to make mutt open a series of messages that are
>> in the one file per message format inside a specific dir.
>>
>> That is, to open mail in above format just like in mbox format.
>>
>> I'm pretty sure I've done this before, but can't find it now in `man
>> mutt'
>>
>> The -m switch may be it but can't think what type it would be. nmh fails.
>
> Search the documentation for "maildir".

with version mutt-1.4.1-10
I don't see anything in `man mutt' helpfull under maildir. And using
it as the -m TYPE doesn't help either.

mutt -m maildir -f test
Fails with message 'test is not a mailbox'

Inside test/ are several files in mbox format but each is only one
message. Like nntp output.
For example:

mutt -f test/8

Works as expected and shows a single message in mutts list.
From:Olaf Foellinger
Subject:Re: make mutt open dir with 1 file per message
Date:12 Dec 2004 21:44:49 GMT
On Sun, 12 Dec 2004 13:33:40 -0600, Harry Putnam wrote:
> with version mutt-1.4.1-10
> I don't see anything in `man mutt' helpfull under maildir. And using
> it as the -m TYPE doesn't help either.
>
> mutt -m maildir -f test
> Fails with message 'test is not a mailbox'
>
> Inside test/ are several files in mbox format but each is only one
> message. Like nntp output.
> For example:
>
> mutt -f test/8
>
> Works as expected and shows a single message in mutts list.

mutt expects in a maildir folder three other folders named 'cur', 'new'
and 'tmp' which contain the messages.

$ ls -lR mij/
total 0
drwx------ 3 ergo staff 102 12 Dec 22:42 cur
drwx------ 2 ergo staff 68 12 Dec 22:42 new
drwx------ 2 ergo staff 68 12 Dec 22:42 tmp

mij//cur:
total 8
-rw------- 1 ergo staff 2745 11 Dec 08:50
1102887720.18878_1.merlin:2,S

mij//new:

mij//tmp:

Maybe it works with this directory structure.


--

Gruss Olaf
From:Christopher Nehren
Subject:Re: make mutt open dir with 1 file per message
Date:12 Dec 2004 21:43:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2004-12-12, Harry Putnam scribbled these
curious markings:
> with version mutt-1.4.1-10
> I don't see anything in `man mutt' helpfull under maildir. And using
> it as the -m TYPE doesn't help either.

Perhaps you should take a look at the Mutt manual, typically installed
under $PREFIX/share/doc/mutt/ (or possibly elsewhere), in various
formats. Note that if you installed a vendor-supplied binary package,
you may need to install a separate package for the documentation
(*sigh*...). If in doubt, you can view the manual at
http://www.mutt.org/doc/manual/ . Keep in mind that mutt(1) is the
manual *page*, whereas the document at the aforementioned URL is the
Mutt manual. Hmm. This is admittedly confusing: perhaps we should
designate the larger document as the user manual or something similar?

Best Regards,
Christopher Nehren
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBvLtzk/lo7zvzJioRAmK4AJ4tY1cg5aQOLdrfvhwsJfzpDxpmXwCfRL4z
Sj7aI8lICTTcmHLNJbRH3V8=
=M1iR
-----END PGP SIGNATURE-----

--
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong questions, you get answers like "42" and "God".
Unix is user friendly. However, it isn't idiot friendly.
From:reader at newsguy.com
Subject:Re: make mutt open dir with 1 file per message
Date:Sun, 12 Dec 2004 19:52:32 -0600
Olaf Foellinger writes:

> On Sun, 12 Dec 2004 13:33:40 -0600, Harry Putnam wrote:
>> with version mutt-1.4.1-10
>> I don't see anything in `man mutt' helpfull under maildir. And using
>> it as the -m TYPE doesn't help either.
>>
>> mutt -m maildir -f test
>> Fails with message 'test is not a mailbox'
>>
>> Inside test/ are several files in mbox format but each is only one
>> message. Like nntp output.
>> For example:
>>
>> mutt -f test/8
>>
>> Works as expected and shows a single message in mutts list.
>
> mutt expects in a maildir folder three other folders named 'cur', 'new'
> and 'tmp' which contain the messages.

Not sure why you directed me to maildir....

What I'm trying to read looks like:

ls dir
1 5 8 3 7

The numbered files are messages in unix message format. They begin
with:

From blah blah
OTHER HEADERS

Boddy
BLANK LINE

And there is only one in each file.
I'm pretty sure in the past I have been able to tell mutt:
mutt -f dir

To read such messages, but can't recall the other syntax.
   

Copyright © 2006 knowledge-database   -   All rights reserved