Trash folder

2007-04-14 Thread Matthew Daubenspeck
I am trying to use some folder hooks to create a move-to-trash setup
with mutt (1.5.15). However, I only want two of my many folders to work
with this. Here is what I have tried:

folder-hook =INBOX   'macro index d save-message=INBOX.Trashenter'
folder-hook =INBOX.Work  'macro index d save-message=INBOX.Trashenter'
folder-hook =INBOX.Trash 'macro index d delete-message'

It works, but too well. It seems to ignore that I only want it to copy
when in INBOX and INBOX.Work. However, it is using the setup in ALL
folders. Any suggestions?

-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
09:42:49 up 70 days, 23:30, 1 user, load average: 0.05, 0.02, 0.00


Re: no fcc with command-line sending

2007-04-14 Thread Rado S
Moin Greg Novack,

if you recall, we had some discussion about -i and '' or '|'
cmd-line sending behave differently with regard to fcc.
I just noticed that even though using script | mutt the mails
_are_ fcc'ed normally. But I'm not using fcc to IMAP, so there
might be a difference.

Did you observe your behaviour with local fcc folders, too?
Do you use fcc-hooks or just record+copy?
Have you upgraded to the latest mutt (1.5.15)?

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.


Re: Trash folder

2007-04-14 Thread Nicolas Rachinsky
* Matthew Daubenspeck [EMAIL PROTECTED] [2007-04-14 09:48 -0400]:
 folder-hook =INBOX   'macro index d save-message=INBOX.Trashenter'

This hook is applied to all folders that contain =INBOX.

 when in INBOX and INBOX.Work. However, it is using the setup in ALL
 folders. Any suggestions?

Add $ at the end of the mailboxname.

Nicolas

-- 
http://www.rachinsky.de/nicolas


Re: Trash folder

2007-04-14 Thread Matthew Daubenspeck
On Sat, Apr 14, 2007 at 04:22:11PM +0200, Nicolas Rachinsky wrote:
 * Matthew Daubenspeck [EMAIL PROTECTED] [2007-04-14 09:48 -0400]:
  folder-hook =INBOX   'macro index d save-message=INBOX.Trashenter'
 
 This hook is applied to all folders that contain =INBOX.
 
  when in INBOX and INBOX.Work. However, it is using the setup in ALL
  folders. Any suggestions?
 
 Add $ at the end of the mailboxname.

I must have the syntax wrong, as I tried that and it makes no
difference:

folder-hook =INBOX.$  'macro index d save-message=INBOX.Trashenter'
folder-hook =INBOX.Work$  'macro index d save-message=INBOX.Trashenter'
folder-hook =INBOX.Trash$ 'macro index d delete-message'

And I have tried:

folder-hook =INBOX$  'macro index d save-message=INBOX.Trashenter'
folder-hook =INBOX.Work$  'macro index d save-message=INBOX.Trashenter'
folder-hook =INBOX.Trash$ 'macro index d delete-message'

-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
10:53:57 up 71 days, 41 min, 1 user, load average: 0.00, 0.00, 0.00


folder-hooks applying too often

2007-04-14 Thread Rado S
=- Matthew Daubenspeck wrote on Sat 14.Apr'07 at 10:55:49 -0400 -=

  * Matthew Daubenspeck [EMAIL PROTECTED] [2007-04-14 09:48 -0400]:
   folder-hook =INBOX   'macro index d 
   save-message=INBOX.Trashenter'
  
  This hook is applied to all folders that contain =INBOX.
  
   when in INBOX and INBOX.Work. However, it is using the setup in ALL
   folders. Any suggestions?
  
  Add $ at the end of the mailboxname.
 
 I must have the syntax wrong, as I tried that and it makes no
 difference:

Please re-check how folder-hooks work, maybe
http://WIKI.mutt.org/?DebugConfig can help you.
catch-all default is what you miss.

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.


Mutt and GPG: how to manually verify the signature of a message?

2007-04-14 Thread Stefano Sabatini
Hi to all mutters, and sorry for the likely dumb question I'm posting.

I'm testing mutt and gnupg, I can verify with no problem messages
signatures, but it fails when I do it manually, saving in distinct
files the message and the signature.

For example if I save the (clear) message in message, and the
signature in signature.asc, then the command:

gpg --verify signature.asc message

issues a bad signature message.

I have setted:
set pgp_verify_command=gpg --no-verbose --batch --output - --verify %s %f
in the configuration.

With no doubt there is on my a part a big misunderstanding of how gpg
works, and after much thinkering I'm definitively puzzled.
So, which is the correct way to verify by hand the signature of a
message?

Many thanks in advance.
Cheers
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


Re: no fcc with command-line sending

2007-04-14 Thread Trey Sizemore
On Sat, 14 Apr 2007 16:13:07 +0200
Rado S [EMAIL PROTECTED] wrote:

 Moin Greg Novack,
 
 if you recall, we had some discussion about -i and '' or '|'
 cmd-line sending behave differently with regard to fcc.
 I just noticed that even though using script | mutt the mails
 _are_ fcc'ed normally. But I'm not using fcc to IMAP, so there
 might be a difference.
 
 Did you observe your behaviour with local fcc folders, too?
 Do you use fcc-hooks or just record+copy?
 Have you upgraded to the latest mutt (1.5.15)?
 

How are you getting 1.5.15cvs?  CVS still appears to provide me with
1.5.14 from February :-(

Thanks.


Re: no fcc with command-line sending

2007-04-14 Thread Michael Elkins
On Sat, Apr 14, 2007 at 08:31:54PM -0400, Trey Sizemore wrote:
 How are you getting 1.5.15cvs?  CVS still appears to provide me with
 1.5.14 from February :-(

There are nightly snapshots from the mercurial repository at
http://dev.mutt.org/nightlies/

me