...about filtering mail, when using mutt 1.3.15i and procmail 3.15.1.

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.

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

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?

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

Right now my .procmailrc looks like this:

MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/inbox
LOGFILE=$MAILDIR/from 

:0:
* ^[EMAIL PROTECTED]
golem-devel

:0:
* ^[EMAIL PROTECTED]
mutt-users

In fact, I'm not even sure what that LOGFILE-line means, I just took it from
one of the example files. :-)

And my .muttrc looks like this:

set folder=~/Mail
set editor="jed"                # editor to use when composing messages
set help                        # show the help lines
set indent_string="> "          # how to quote replied text
set from="[EMAIL PROTECTED]"
set move=no
set include
set sort=threads

set charset=iso-8859-1
set mark_old=no
#set allow_8bit=no
set envelope_from=yes

#set postpone=ask-yes

#color normal white default
color hdrdefault red default
color quoted brightblue default
color signature red default
color indicator brightyellow red
color error brightred default
color status yellow blue
color tree magenta default      # the thread tree in the index menu
color tilde magenta default
color message brightcyan default
color markers brightcyan default
color attachment brightmagenta default
color search default green      # how to hilite search patterns in the pager

color header brightred default ^(From|Subject):
color body magenta default "(ftp|http)://[^ ]+" # point out URLs
color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+    # e-mail addresses
color underline brightgreen default

# attributes when using a mono terminal
#mono header underline ^(From|Subject):
mono quoted bold

And finally, because I use modem connection, when I send messages with
sendmail -q, it would be very nice to know when the messages are sent, so I
know when I can close connection. Checking the situation all the time with
sendmail -bp is frustrating, because sendmail gives no output.

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... =)

Reply via email to