<<< Date Index >>>     <<< Thread Index >>>

Re: procmail with mutt



Thanks!  I've confirmed that the approach outlined below works. 
However, I'm still quite curious about whether (and how) mutt can be
made to read the messages in a directory.  I see from the mutt
information, that MH format seems to cover this:

"An MH folder is a directory containing either a .mh_sequences or
.xmhcache file. Messages are separate files that are numbered
sequentially. MH is rarely used, most prefer the maildir format."

I created a .mh_sequences file in my folder (touch
/var/mail/me/.mh_sequences) and started mutt with:

mutt -m MH -f /var/mail/me

Now, mutt starts without errors, but does not display the messages
that are there.  I suppose it is looking for files with a particular
naming convention.  Does anyone know what that is?


On 1/17/06, Cameron Simpson <cameron@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On 13Jan2006 19:09, Gerald Britton <gerald.britton@xxxxxxxxx> wrote:
> | I believe that procmail is working as documented. However, what I want
> | to know is how to get mutt to read the messages procmail creates.
>
> Everyone is tackling this as a problem with your .procmailrc.
> That's probably the wrong way to tackle this.
>
> The problem is that /var/mail/me is a directory.
> However, your procmailrc is commented as expecting "mbox" format.
> Indeed, that is what would normally  be present at the path /var/mail/me.
> However, mbox is a flat file format, and you have a directory.
>
> Try this:
>
>         cd /var/mail
>         mv me me-unwanted
>         touch me
>
> That should create a empty file there.  You might need to fiddle with the
> ownerships and permissions - you should own the file.
>
> Depending on your mail system there may need to be some special group
> ownership, but if procmail is involved, maybe not.
>
> Then deliver a message and try to read the folder with mutt.
> Let us know what happens.
>
> After that we can work on retrieving the messages in "me-unwanted".
>
> Cheers,
> --
> Cameron Simpson <cs@xxxxxxxxxx> DoD#743
> http://www.cskk.ezoshosting.com/cs/
>
> We should grant power over our affairs only to those who are reluctant to
> hold it and then only under conditions that increase the reluctance.
>