I use following procmailrc
with fetchmail:
PATH=/bin:/usr/bin:/usr/local/bin
VERBOSE=off
LOGFILE=$HOME/.procmaillog
DEFAULT=$HOME/mail/
MAILDIR=$HOME/mail/
# Recipes below this comment:
:0:
* ^(To|From):.*foo@mail.ru
QObject/
:0:
* ^(To|From|Reply-To):.*bar@googlegroups.com
BlackFlame/
So, It generates mailbox(with cur,tmp,new) folder ~/mail
and ~/mail/QObject
.
Now, I use mutt and expect it to show me all my messages, and two separated folders.
But I see only default mail box. Here is my muttrc:
set realname = "illusionoflife"
set from = "illusion.of.life92@gmail.com"
set use_from = yes
set envelope_from ="yes"
# Use a signature
set signature="~/.signature"
# Use msmtp rather than sendmail. Check that
# the path is correct for your system:
set sendmail="/usr/bin/msmtp"
# If not set in ~/.bashrc:
set spoolfile = "$HOME/mail"
#======================================================#
# Folders
set folder="$HOME/mail" # Local mailboxes stored here
set record="+sent" # Where to store sent messages
set postponed="+postponed" # Where to store draft messages
set mbox_type=mbox # Mailbox type
set move=no # Don't move mail from spool
#======================================================#
# Watch these mailboxes for new mail, useful only if
# Procmail or Maildrop is used to sort mail.
mailboxes ! +slrn +fetchmail +mutt
set sort_browser=alpha # Sort mailboxes by alpha(bet)
I feel I do not fully understand unix mail philosophy, but where exactly I am wrong?