Re: Deleting messages trash-can-style

2010-08-23 Thread Baptiste Grenier
Hello,

Le 22/08/10 à 18:54, Michael Ludwig téléscripta :
> I almost deleted a message I intended to keep from an mbox. The message
> was accidentally marked as D, and when switching to another mbox, it was
> just a brief hesitation (wasn't entirely sure what would be deleted now)
> that kept me from losing it.
> 
> Can I configure Mutt to save deleted messages to another folder or mbox
> (as GUI mail clients do) instead of simply deleting it?

I am using this to copy deleted message to a trash:

folder-hook .  'macro index d "+Trash"'
folder-hook =Trash 'macro index d '

It's working quite good except that this does not handle message
deleted using the delete-pattern (D).

> Michael Ludwig

Regards,
Baptiste

-- 
Baptiste Grenier  HealthGrid Systems Administrator
PGP: 0x069112E2Mobile: +33 628 822 270
http://healthgrid.org (Tel|Fax): +33 (0) 473 405 (155|002)
36 rue Charles de Montesquieu - 63430 Pont du Château - France


pgpih7ErQfeqm.pgp
Description: PGP signature


Re: Deleting messages trash-can-style

2010-08-23 Thread E. Prom
On Sunday, 22 August 2010, 18:51:31 +0200,
Michael Ludwig  wrote:
> Can I configure Mutt to save deleted messages to another folder or mbox
> (as GUI mail clients do) instead of simply deleting it?

What about the "trash" variable?

  Type: path
  Default: “”

  If set, this variable specifies the path of the trash folder where the mails
  marked for deletion will be moved, instead of being irremediably purged.
  NOTE: When you delete a message in the trash folder, it is really deleted, so
  that you have a way to clean the trash.


Re: what hours correspondent is most active in?

2010-08-23 Thread E. Prom
On Tuesday, 10 August 2010, 00:48:16 +0300,
Dennis Yurichev  wrote:
> Is there any plugin or script which is able to collect time stamps of
> all emails from some specific email address and to draw a statistical
> chart answering to question: what hours correspondent is most active in?

mailliststat.

Graphs in text mode, for mbox only. Stats about MUA also, and much more.


Re: what hours correspondent is most active in?

2010-08-23 Thread Patrick Shanahan
* Dennis Yurichev  [01-01-70 11:34]:
> 
> Is there any plugin or script which is able to collect time stamps of
> all emails from some specific email address and to draw a statistical
> chart answering to question: what hours correspondent is most active in?
> 

I have a perl script that won't draw charts but will give hourly traffic
and is for postfix rather than reading a particular maildir/mh/mdir/...
type, by James S. Seymour
 
 http://wahoo.no-ip.org/~pat/pflogsumm.pl
-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Deleting messages trash-can-style

2010-08-23 Thread Tim Gray

On Aug 22, 2010 at 08:11 PM +0200, Michael Ludwig wrote:

If not, you might want to look
at doing this:

  macro   index   d   "=.Trash\n"
  macro   pager   d   "=.Trash\n"

That should work, but you'll want to change .Trash to something else,


That works great, thanks! I think what  does is a combo of
 and . Exactly what I want.


I take this a step further.  I have a cronjob that goes through my Trash 
maildir and moves files older than 30 days to special maildir in my system 
Trash directory (I run OS X).


Anything I delete ends up in the mail Trash but I never have to routinely 
clean it out since it eventually gets cycled to my real Trash.  If I had to 
find something older than 30 days, I can use mutt to open up the special 
maildir in the system trash and look for the message I want.  I only empty 
my system trash every couple months, so I have a second level of trash 
safety net.


Re: Deleting messages trash-can-style

2010-08-23 Thread Michael Ludwig
> On Sunday, 22 August 2010, 18:51:31 +0200,
> Michael Ludwig  wrote:
> > Can I configure Mutt to save deleted messages to another folder or
> > mbox (as GUI mail clients do) instead of simply deleting it?
> 
> What about the "trash" variable?
> 
>   Type: path
>   Default: “”
> 
>   If set, this variable specifies the path of the trash folder where
>   the mails marked for deletion will be moved, instead of being
>   irremediably purged. NOTE: When you delete a message in the trash
>   folder, it is really deleted, so that you have a way to clean the
>   trash.

Thanks. This variable is mentioned here:

http://manpages.ubuntu.com/manpages/karmic/man5/muttrc.5.html

But not here:

http://www.mutt.org/doc/devel/manual.html#variables

And my Mutt [version 1.5.20 (2009-12-10)] doesn't like this variable:

  trash: Unbekannte Variable. = unknown variable

-- 
Michael Ludwig


Re: Deleting messages trash-can-style

2010-08-23 Thread E. Prom
On Monday, 23 August 2010, 23:34:54 +0200,
Michael Ludwig  wrote:
> And my Mutt [version 1.5.20 (2009-12-10)] doesn't like this variable:
>   trash: Unbekannte Variable. = unknown variable

Quite weird, I'm using Mutt 1.5.20 (2009-06-14), in debian unstable, and
it's fine. Maybe disabled at compile time in your version?


Re: Deleting messages trash-can-style

2010-08-23 Thread Michael Elkins

On Tue, Aug 24, 2010 at 12:53:05AM +0200, E. Prom wrote:

Quite weird, I'm using Mutt 1.5.20 (2009-06-14), in debian unstable, and
it's fine. Maybe disabled at compile time in your version?


The trash support is a 3rd party patch not present in upstream Mutt.

me


pgpVan1mVLc7i.pgp
Description: PGP signature