[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

exim/procmail & mutt: some mboxes read as 'new', others don't



i've got an interesting glitch happening with procmail (exim) and mutt,
and haven't figured it out: mutt's confused about which mboxes have new
mail....

based on various patterns found in incoming mail, i have my ~/.procmailrc
splitting it up to various mbox's in ~/Mail. when i run mutt and 'c'hange
from mbox to mbox, it defaults to the next mbox with new mail -- or it
should, but only sees three as ever having new mail:



	#  based on settings from aclark@ghoti.org ('fish'.org')

	PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin

	MAILDIR=$HOME/Mail
	PROCMAILDIR=$HOME/.procmail
	LOGFILE=$PROCMAILDIR/procmail.log

	DEBIAN=$MAILDIR/debian
	DEFAULT=$MAILDIR/inbox

	:0:
	* ^(Sender|From):.*@.*(internic|networksolutions)
	internic

	:0:
	* ^X-Loop: debian-.+@lists.debian.org
	* ^X-Loop: debian-\/[^@]+
	$DEBIAN/$MATCH

	:0:
	* ^(Sender|From):.*@(agf(in(ance)?)?\.com)
	agf

	:0:
	* ^Subject:.*system check
	root

	:0:
	* ^(To|Envelope-to):.*webmaster@\/.*
	webmaster-$MATCH

	:0:
	* ^To:.*@24x7.*4u.com
	!rdt

	:0:
	* ^(Sender|From):.*@(pinncomp|speedex)
	trillich

	:0:
	* ^(Sender|From):.*(drw99@|tharp@|@.*serensoft)
	serensoft

mutt correctly knows when 'inbox', 'debian/user' and 'serensoft'
contain new mail, but not 'webmaster*', 'root', or any of the
others.

% ls -lF ~/Mail
total 1101
-rw-------    1 will     serensof    50120 Jul 10 15:21 agf
drwxr-sr-x    2 will     serensof     1024 Jul 24 11:26 debian/
-rw-------    1 will     serensof   145499 Jul 24 03:51 inbox
-rw-------    1 will     serensof   272786 Jul 14 21:20 internic
-rw-------    1 will     serensof   567558 Jul 24 11:02 root
-rw-------    1 will     serensof    56148 Jul 24 05:20 serensoft
-rw-------    1 will     serensof    21805 Jul 14 05:47 trillich
-rw-------    1 will     serensof        0 Jul 15 19:45 webmaster-bestop.serensoft.com
-rw-------    1 will     serensof        0 Jul 15 19:46 webmaster-dontuthink.com
-rw-------    1 will     serensof        0 Jul 24 00:33 webmaster-puz.serensoft.com
-rw-------    1 will     serensof        0 Jul 15 19:45 webmaster-serensoft.com

is it me? is there a bug?



Reply to: