SLUG Mailing List Archives
Re: [SLUG] IMAP and procmail
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] IMAP and procmail
- From: Peter Hardy <peter@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 4 Jun 2003 20:34:37 +1000
On Wed, 4 Jun 2003 19:31:22 +1000, Mary <mary-slug@xxxxxxxxxxxx> wrote:
> 1. I want to use procmail to filter my mail into the mailboxes
> 2. I want to use IMAP to read mail in those mailboxes
This is how I read all of my mail. :-)
> however, I can't figure out a way to get my IMAP client to notice new
> folders being created, on start-up or while running. I don't need to
> know about them instantly, but I would like to know about them within
> a day or so.
> This is a general problem for any mail filtering solution that creates
> new folders on the fly, even if you have some kind of find command
> locally (as per many people's .muttrc files), you still need to
> restart the MUA to run it.
> Does anyone have an MUA that handles new folders being created, or
> another solution for the problem that is MUA independent?
sylpheed and evolution can be set to display all available imap folders,
not just what you're subscribed to. I haven't yet found a way for
sylpheed to automatically scan for new folders, but just rely on the
fact that I usually know if I've been subscribed to a new list, and just
rescan the folder tree shortly after. This usually takes a fair while,
I think sylpheed is reconstructing its entire cache.
Not an ideal, automagic solution, but it works. :-)
The only other, also non-ideal suggestion I can think of is have
procmail mail you whenever it creates a new folder. I suppose this
could be tied in with some local MUA filter hackery to do stuff locally,
but that's just being silly.
Incidentally, I've been using extra variables with the magic list doobey
to group lists into subfolders. As an example, I have a slug folder,
where mail from this list goes, with subfolders for chat, committee,
etc. It all gets delivered by:
# Deliver main list mail seperately
* LISTID ?? ^\/[^@\.]*