On 2000-01-13 11:23:37 -0600, Jeremy Blosser wrote:
> Matthew Hawkins [[EMAIL PROTECTED]] wrote:
> > Actually I think you can use folder-hook to implement a poor-man's
> > procmail.  Personally, I use procmail :)
> 
> This would work, but only to sort when you first entered a folder.  It
> wouldn't do anything with newly arrived mail.

This isn't too bad if you think about how the user would go about
reading the mail.  After reading the "inbox" they would then go check
their other folders that the folder-hook dumped mail in.  Changing back
to the inbox would rerun the folder-hook and move any newly-arrived
mail.

Any mail that should be automatically moved that arrives while the inbox
is being read can either be dealt with by a save-hook, or the user can
wait till they reenter the mailbox for the folder-hook to run again.

It's not as elegant as using a proper filtering delivery agent, but it's
better than no filtering at all...

-- 
Matt

Reply via email to