Re: mail box vanished

2014-08-01 Thread Chris Bannister
On Fri, Aug 01, 2014 at 10:40:05AM +0200, Ulrich Lauther wrote:
 On Fri, Aug 01, 2014 at 10:33:27AM +0200, Ulrich Lauther wrote:
  
  Is there a way to mark - accidentally - all messages as read?
 
 I should have said:
 
 Is there a way to mark - accidentally - all messages as read or deleted?

Not sure what *you* mean by accidentally, but pressing the wrong
key(s) is one way. 

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


Re: mail box vanished

2014-08-01 Thread Ulrich Lauther
On Fri, Aug 01, 2014 at 10:06:53PM +1200, Chris Bannister wrote:
 On Fri, Aug 01, 2014 at 10:40:05AM +0200, Ulrich Lauther wrote:
  On Fri, Aug 01, 2014 at 10:33:27AM +0200, Ulrich Lauther wrote:
   
   Is there a way to mark - accidentally - all messages as read?
  
  I should have said:
  
  Is there a way to mark - accidentally - all messages as read or deleted?
 
 Not sure what *you* mean by accidentally, but pressing the wrong
 key(s) is one way. 
 
Yes, that's what I meant. Is there such a key? I couldn't find one.

ulrich


Re: use mh format? how?

2014-08-01 Thread Derek Martin
On Thu, Jul 31, 2014 at 11:42:01AM -0700, pecon...@mesanetworks.net wrote:
 I'm experimenting with different ways to handle email. I configured
 procmail to deliver email in mh format by appending '/.' to the
 folder name in a few of its delivery specification. 
[...]

I think you did not...  AFAIK--and granted it's been a very, very long
time since I've seen anyone even mention mh format so I may be
misremembering--you need to use the mh mail tools, by having procmail
deliver the messages to mh's recvstore (or something like that)
program.  Procmail, AFAIK, has no mh folder support and is not by
itself sufficient to deliver to mh mail folders.

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpH46Et8R7q1.pgp
Description: PGP signature


Re: use mh format? how?

2014-08-01 Thread Peter Davis
Derek Martin inva...@pizzashack.org writes:

 On Thu, Jul 31, 2014 at 11:42:01AM -0700, pecon...@mesanetworks.net wrote:
 I'm experimenting with different ways to handle email. I configured
 procmail to deliver email in mh format by appending '/.' to the
 folder name in a few of its delivery specification. 
 [...]

 I think you did not...  AFAIK--and granted it's been a very, very long
 time since I've seen anyone even mention mh format so I may be
 misremembering--you need to use the mh mail tools, by having procmail
 deliver the messages to mh's recvstore (or something like that)
 program.  Procmail, AFAIK, has no mh folder support and is not by
 itself sufficient to deliver to mh mail folders.

It's recommended that you use rcvstore to put messages into folders,
which works perfectly well with procmail. I use this all the time. I
have procmail rules like:

:0 w: mh$LOCKEXT
* ^Subject: .*(afford|cheap|credit|debt|discount|loan|mortgage|refinanc)
| rcvstore +spam

(Make sure rcvstore is on your path.)

Even so, I think you may have to create the .mh_sequences or .xmhcache
file by hand in each mail folder. It's a one time operation, so you
won't have to repeat it unless you create new folders. These files are
not required by MH/nmh, but they are used by mutt to manage MH folders,
so it's a bit of a quirk.

-pd


Re: use mh format? how?

2014-08-01 Thread Moss
I think Derek is right. For the deep nitty gritty see here
http://rand-mh.sourceforge.net/book/index.html

Moss



Re: use mh format? how?

2014-08-01 Thread Moss
On Fri, August 1, 2014 20:00, Peter Davis p...@pfdstudio.com wrote:
 
 It's recommended that you use rcvstore to put messages into folders,
 which works perfectly well with procmail. I use this all the time. I
 have procmail rules like:
 
 :0 w: mh$LOCKEXT
 * ^Subject: .*(afford|cheap|credit|debt|discount|loan|mortgage|refinanc)
 | rcvstore +spam
 
 (Make sure rcvstore is on your path.)
 
 Even so, I think you may have to create the .mh_sequences or .xmhcache
 file by hand in each mail folder. It's a one time operation, so you
 won't have to repeat it unless you create new folders. These files are
 not required by MH/nmh, but they are used by mutt to manage MH folders,
 so it's a bit of a quirk.
 
 -pd

From http://rand-mh.sourceforge.net/book/xmh/chafor.html

Changing Table of Contents

You can change the appearance of the Table of Contents. This section shows how 
to use MH scan format files such as scan.timely. It also gives an example of 
creating your own format with a custom format file. There's more information 
about this in the Sections scan Format Files and MH Format Strings.

Introduction

xmh makes its Table of Contents by running the MH scan command. It stores scan 
output in a .xmhcache file in each folder. xmh displays the .xmhcache file in 
its Table of Contents area. Before displaying .xmhcache, xmh edits the file 
(in effect) to add characters like the plus sign (+) (for the current message), 
D (for messages marked to be deleted), and so on.

Moss