[Gllug] mutt configuration revisited
Stig Brautaset
stigbrau at start.no
Mon Sep 9 12:47:18 UTC 2002
On Sep 07 2002, Paul was overheard saying:
> On Fri, Sep 06, 2002 at 06:23:21PM +0100, Kim Hawtin wrote:
> > Stig wrote:
>
> > procmail has some very neat features for moving mail to folders as it
> > gets delivered, which is nice for maildir, but an arse for imap...
>
> Just to add to Kim's suggestion, if you have cyrus imap you may consider sieve.
I don't have imap, and I don't like/use maildir. I just want to know
whether I can make mutt iterate over the messages in a folder and take
actions on each one _individually_ when I either: a) exit the folder b)
call sync-mailbox c) call some user-specified macro.
And yes, I know I can move mail to different folders with procmail. I
use it currently to split duplicates and detected spam into different
folders.
I get all new mail delivered to ~/Mail/inbox. I then read it, and,
depending on how interresting it is, I hit 's' to save it to a folder
(I have a large collection of save-hook's to decide where mail are
saved). I also have a macro that saves a whole thread to the same
folder, which saves me a few keystrokes. I just want to know if anybody
know of a way to automate this? I could probably set up a macro that
calls formail -s on the mailbox and pipe the output into procmail -m
with an appropriate rc-file, but I want to know if I can do it with
mutt. It appears to be a cleaner way, if at all it can be done.
Stig
--
brautaset.org
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list