Re: mail box vanished
On Thu, Jul 31, 2014 at 11:05:05PM -0700, Brendan Cully wrote: > On Thursday, 31 July 2014 at 21:23, Ulrich Lauther wrote: > > Sorry, this message may not directly be mutt-related, but maybe somebody > > can point me to better place to ask. > > > > Within a time span of (probably) some weeks the file /var/spool/mail/ > account> > > for the second time suddenly has size 0. > > Of course, without myself doing anything evil, probably without doing > > anything at all, > > other than starting mutt. > > The muttrc variable $move can have this effect (moves mail out of > /var/spool into $mbox). It's set by default. But, it wouldn't be an > occasional event -- if you run mutt more than once every few weeks > you'd have noticed before. As I understand the docs, only read messages are moved. And that works o.k. for me. However, there were lots of unread messages in /var/spool. I run mutt everyday at least once but do not always read all messages, depending on the subject line. Is there a way to mark - accidentally - all messages as "read"? ulrich
Re: mail box vanished
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"? Couldn't find anything of that sort in the reference. > ulrich
Re: mail box vanished
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
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?
The mh format folder was created by procmail because of a procmail recipe that I wrote: :0: * ^TO_.*pec11xx@gmail\.com pec1...@gmail.com/. I know this is not something you are set up to give help on, but do you have a suggestion of a way to get procmail to put one or the other of the necessary files into the directory in order to make it into a proper mh format mail folder?? I am annoyed, not with you, but with the procmail people. Where can I read more about .mh_sequences and .xmhcache ? Can they be totally empty? Thanks, -- Paul E Condon pecon...@mesanetworks.net --- mansel...@gmail.com wrote: From: Maurice McCarthy To: mutt users Subject: Re: use mh format? how? Date: Fri, 1 Aug 2014 01:44:16 +0100 At a guess, There must be a .mh_sequences or a .xmhcache file in your mail folder. Either of these informs mutt that the folder is an mh mailbox. M
Re: use mh format? how?
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?
Derek Martin 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?
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?
On Fri, August 1, 2014 20:00, Peter Davis 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