l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Mar 01 04:34

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] mutt and mail folders...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] mutt and mail folders...

Hi all,

  So I've been wondering how to get mutt to work with a bunch of mail
folders, which procmail is so willing to make for me.  I used to keep a
screen session running X copies of mutt, one for each folder and I would
toggle between them.  With how quickly lugod is expanding it's mail list
collection in the last few months I've run out of available windows, and
had to find a different solution.

  I've never read the mutt manual, now have it on my list todo...
this stuff is from skimming.

  So here is what I started doing today... anyone else have suggestions?

mailboxes ! =list/calteg =list/cgiwrap =list/cvbig =list/java \
  =list/mm =list/picnix =list/sc2 =list/va =list/vo =list/vout =list/vt
# more boxes, etc...

set mbox=!       # leave mail in incoming spool

set mark_old=no  # do *NOT* mark as 'old' when leaving a folder
bind  index \'  next-unread   # a way to move among old mail

  When starting mutt use '-q' it will bring you to a menu allowing
you to pick which folder to enter.  The folders come for the mailboxes

  When in a folder 'c', then TAB, then TAB will bring you back to this
folder list.

  The following grepmail tells me how many 'New' messages I have in each

alias mc="grepmail -r -h -v '^Status: RO$' ~/Mail/list/* /var/mail/msimons | grep -v ' 0$'"
msimons@moria:~$ mc
/home/msimons/Mail/list/vo: 7
/home/msimons/Mail/list/vt: 2
/var/mail/msimons: 40

  The down side is that it changes the access timestamp of the files so
that things like mutt don't think there is "new mail" until it opens the

  I'll follow up with a revised perl version that sets the time stamp
in when I get a chance.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.