On Mon, May 01, 2000 at 11:24:06AM +0200, Antonio Fragola - MrShark
([EMAIL PROTECTED]) said:
> Hi! I've problems with mbox-hook. I've this 3 lines in may .muttrc:
>
> set mbox=+inbox
> mbox-hook '~h ^From.*palleria.*' +Friends/vito
> mbox-hook '~h ^From.*colosimo.*' +Friends/franco
>
> but read emails from palleria and colosimo continues to go in inbox,
> instead of the other 2 mailboxes, Why?
I believe you want save-hook. mbox-hook is used to specify the
default save filename from a particular mail folder. So if you wanted
read mail from +fred to go to +barney, you'd specify
mbox-hook 'fred' '+barney'
So what you probably want is more like:
set mbox=+inbox
save-hook '~h ^From.*palleria' +Friends/vito
save-hook '~h ^From.*colosimo' +Friends/franco
(You can drop the .* at the end of the pattern.)
--
Jim Toth
[EMAIL PROTECTED]
"Abraham Lincoln did not die in vain. He died in Washington, DC."
--The Firesign Theatre