On Wed, Jan 12, 2000 at 02:47:57PM -0800, Nick Jennings wrote:
> On Thu, Jan 13, 2000 at 12:20:23AM +0200, Mikko Hänninen wrote:
> > Nick Jennings <[EMAIL PROTECTED]> wrote on Wed, 12 Jan 2000:
> > > I've read the online documentation at www.mutt.org and I cant find specific
> > > information on how to get new mail put in folders based on patterns.
> > 
> > Mutt doesn't do this, it's not Mutt's job.  You need to use a mail
> > filtering tool such as procmail or maildrop.
> > 
> > This is getting to, or is already a FAQ.  Hmm.  Anyone volunteer to
> > write an entry about this for the FAQ list? :-)
> 
>       Argh! I despise procmail, yes its powerfull, and can do alot, but
> it's severly anoying. I think it _IS_ a mail clients job to do filtering,
> after all, it checks the /var/spool/mail/<username> for new mail and drops
> in in your inbox, if it drops it in the inbox, why not instead drop it in
> some other box and let you know?

Um, but /var/(spool/)?mail/* -is- the inbox.

Your mail client checks there for mail, your MDA drops mail there (it is
your inbox, after all, and a delivery agent delivers it).  Your client
may move it to a 'working' mailbox after you've read an item, but the
'inbox' is still /var/(spool/)?mail/*.

>       Thats why I started writing my own mail client, so the filtering
> would be easy to use, and built into the client, so you dont have to hassle
> with procmail. Since I started using Mutt, I stopped developing this mail
> client, but now I might start again, or maybe add this feature to mutt, is
> there a reason why this is something that is continuously not a feature in
> UNIX mail clients? yes procmail is powerfull, but its far too much of a
> hassle for just setting up a simple filter, something in the muttrc like
> this:

Because it's not as effective?

Quite a bit of my mail triggers external programs on receipt.  I don't
want that to wait until I get into work, login and start my mail client;
I want it to work 24 hours a day as the mail is received.

> newmail-hook ([EMAIL PROTECTED]) +mutt-users-mail
> 
> would be simple enough and very easy to impliment. It could just search the
> headers for that pattern, not even the body (since that would slow it down
> more). Sure its not as powerfull as procmail can get, but its certainly
> better for simple filtering wich is what most people need to do anyways.

More successful would be a gui-frontend to procmail, along the lines
of the dotfile generator.

-- 
Brian Moore                       | Of course vi is God's editor.
      Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
      Usenet Vandal               |  for it to load on the seventh day.
      Netscum, Bane of Elves.

Reply via email to