Jani --

...and then Jani Alanko said...
% 
% ...about filtering mail, when using mutt 1.3.15i and procmail 3.15.1.

You should, then, go and subscribe to the procmail list, since all of the
filtering happens whether or not you're using mutt.

However, since we're such a nice bunch here, you might get a tidbit or
two from this list...


% 
% After god knows how long struggle I have managed to get my internet
% connection and email work without KDE (I don't like it, it just feels too
% "ready", Windows of the Unix-world) and now that everything works it is
% time to mess up everything with filters.

Good for you :-)


% 
% I have read man pages and a couple of Linux-books, but I still don't quite
% understand how this thing works.

It seems pretty clear to me, so I'm not sure what's to not understand,
so I'll take a shot and you can then say specifically what is still grey.

Someone sends you mail; an electronic envelope is winging its way to
your system.  Yay.

The computer carrying the mail (quite possibly the sender's computer, but
maybe an ISP stop along the way) calls your computer on port 25 and says
"you've got mail" (sorry :-)  Your sendmail/qmail/exim/postfix program,
which has been waiting to answer such a call, catches the message.

Now your delivery agent, with its hands full of new mail, checks its
config files and your .forward file and maybe a few other places (in
qmail there are $HOME/.qmail* files, for instance) to see where and
how you want your mail delivered.  Maybe you want a copy handed to the
vacation program to tell everyone you're out of town (don't really do
this; it will get you flamed fast).  Maybe you want the message handed
to procmail to let procmail figure out where to store it.  In the absence
of any other instructions, it will land in your system-defined mailbox.

So procmail gets a tap on the shoulder and is handed the message by
the delivery agent.  procmail is in fact a delivery agent itself, so it
consults its list of rules (your .procmailrc file) to see what to do --
maybe make a copy, maybe hand off to the vacation program, maybe put into
the mutt-users folder, and so on).  It puts the mail wherever it should
go and goes back to listening to MP3s until the next message comes in.

Eventually you fire up mutt and read your mail, one very happy camper
indeed.



% 
% Is it somehow possible to do things so, that procmail filters the messages
% to the ~/Mail -directory and mutt reads that directory directly instead of
% /var/spool/mail/jani?

Yes and yes.


% 
% Can I also put mutt to show list of folders in my ~/Mail -directory at
% startup?

Yep; Rocco already answered that one.


...
% I hope that I even managed to explain my problem so that at least somebody
% in this list understands what I'm trying to say... =)

I think we're there.  If you have procmail-specific questions, take them
to the procmail list.  Congratulations on getting your mail system
configured, and I hope you can figure out how to have it drop your modem
connection automatically.  Enjoy mutt!


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg27803/pgp00000.pgp
Description: PGP signature

Reply via email to