Re: Save Hook Problem

2001-05-08 Thread Lawrence Mitchell

* On [010508 06:29] Dale Morris [EMAIL PROTECTED] wrote:
 [...]But I'm having a hard time
 getting mutt to put a copy of the message *I've sent* to the
 list in my =out mailbox. Here's what I have in my .muttrc
 thus far:
 
 save-hook  '~C mutt-users' =support
 fcc-save-hook '~C mutt-users' =out
 [...]
I don't have anything quite as complicated, using 1.2.5i, I save a copy of my
messages to the list with:
fcc-hook '~t mutt-users' =muttsent
the fcc-save-hook is if you want the save-hook and the fcc­hook to be the same
for a particular pattern, saves on typing. That might be your problem.
hope that helps

Lawrence

-- 
Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/
[EMAIL PROTECTED]  | All my friends and I are crazy.  
That's the only thing that keeps us sane.



Re: Save Hook Problem

2001-05-08 Thread Dale Morris

Lawrence Mitchell [[EMAIL PROTECTED]] wrote:
 fcc-hook '~t mutt-users' =muttsent
 the fcc-save-hook is if you want the save-hook and the fcc­hook to be the same
 for a particular pattern, saves on typing. That might be your problem.
 hope that helps
thanks, I'll give it try. 



Re: save-hook problem PART-II

2000-06-01 Thread Michael Tatge

Sergei Gerasenko muttered:

 save-hook [EMAIL PROTECTED] +test
 
 This is supposed to move all read mail coming from
 [EMAIL PROTECTED] (my email address) to "test".
 
 The above hook is the only save-hook in the muttrc right now. So,
 there shouldn't be any conflict there. I also have a couple of ignore
 statements at the very beginning. Initially I thought that the
 "From:" field was weeded out somehow and I commented out all the
 ignore lines. But alas that didn't help either.

As Mikko already told save-hooks only get executed when you're (s)aving
mail. If you want to sort your mail to different folders automaticly
use procmail instead.
 

HTH,

Michael
-- 
It was kinda like stuffing the wrong card in a computer, when you're
stickin' those artificial stimulants in your arm.
-- Dion, noted computer scientist

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Re: save-hook problem

2000-05-31 Thread David T-G

Sergei --

...and then Sergei Gerasenko said...
% Hi guys,
% 
% I recently unsubscribed from the list because I was overwhelmed by the
% amount of mail I was getting. I'm now going to use procmail. Anyway, the

Welcome back :-)


% question I have is probably trivial for most of you. I've tried to define a
% couple of save-hooks in my muttrc and none of them have any effect on what I
% think they should have an effect on. Let me explain it a little bit what I
% mean.

In fact, I wasn't able to glean enough detail from your message, and
others may not be able to, either.  Can you provide us with some
examples?

Yes, save-hooks specify where to save messages.  No, all hooks should
work regardless of how your mail is delivered (what POP3 is really
doing).


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: save-hook problem

2000-05-31 Thread Wolfram Stoermer

On Wed, May 31, 2000 at 01:03:51PM -0400, Sergei Gerasenko wrote:
 Hi guys,
 
 
 As I understand the concept of save-hooks, they are intended for routing
 messages to various places after they have been read. The routing is done
 according to some rules. Now, none of that is happening on my computer
 whether I use just regular expressions or message matching rules.

you have to write in your .muttrc a line like this:

fcc-save-hook '~L geier' +geier 
 
 One more nuance I should tell you about is that I use fetchmail for
 retrieving my mail. Therefore, the only explanation I've got is that the
 hooks will work only if I use the built-in POP3 client. All the other hooks
 including fcc-hooks work fine.

In my configuration  on Linux with fetchmail and sendmail it's ok.
 Wolfram :)



Re: save-hook problem

2000-05-31 Thread Mikko Hänninen

Sergei Gerasenko [EMAIL PROTECTED] wrote on Wed, 31 May 2000:
 As I understand the concept of save-hooks, they are intended for routing
 messages to various places after they have been read. The routing is done
 according to some rules. Now, none of that is happening on my computer
 whether I use just regular expressions or message matching rules.

Well, I'm not sure based on your description whether you've understood
save-hooks correctly or not.

When you specify a save-hook, you set a *default* folder for saving a
message to.

For example,

  save-hook ~t [EMAIL PROTECTED] +mutt-users

specifies that the default save folder for emails which are addressed
to [EMAIL PROTECTED] will be the folder +mutt-users.  This doesn't
mean they will be *automatically* saved there, it only means that when
you press "s" for saving a message, that +mutt-users will be the default
value in the prompt, and you can just press enter to save the message
there.

So it doesn't do automatic saving, it only affects things when you're
saving a message yourself.


I hope that helps, even if I'm not sure if I'm answering your question.
:-)

Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Despite the high cost of living, it remains very popular.