save to different folder

2001-07-13 Thread Szabo Attila

Hi ,

How can I set a different folder to save messages from
the mutt mailing-list automatically when I quit.
Is it possible ??

And if I want to save the messages
sent from mutt-users@... to a different folder,
I set it like this:
save-hook mutt-users@ +mutt
It does'nt work. Why

it's good for linux@:
save-hook linux@ +linux is OK.Why is that???

-- 
-
Attila | [EMAIL PROTECTED] | Szabo
-



Re: save to different folder

2001-07-13 Thread darren chamberlain

Szabo Attila <[EMAIL PROTECTED]> said something to this effect on 
07/13/2001:
> How can I set a different folder to save messages from
> the mutt mailing-list automatically when I quit.
> Is it possible ??
> 
> And if I want to save the messages
> sent from mutt-users@... to a different folder,
> I set it like this:
> save-hook mutt-users@ +mutt
> It does'nt work. Why
> 
> it's good for linux@:
> save-hook linux@ +linux is OK.Why is that???

Save-hook is expecting a regex as it's first argument (or whatever),
mutt-users@ is not being translated literally:

  3.13.  Specify default save filename

  Usage: save-hook [!]pattern filename

  This command is used to override the default filename used when
  saving messages.  filename will be used as the default filename
  if the message is From: an address matching regexp or if you are
  the author and the message is addressed to: something matching
  regexp.

  See ``matching messages'' for information on the exact format
  of pattern.

Try:

save-hook mutt\\-user@ +mutt

(darren)

-- 
To do nothing is to be nothing.