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

Mutt, unnoticed new mail and improper access/change times



Hai,

lately I've problems with mutt detecting the arrival of new mail.

I use procmail to sort my mail in folders, for each list a seperate
folder.  In order to weed out the empty mailboxes in the "c tab-tab"
window, I've "unset save_empty" and now mutt doesn't seem to notice
the first arrived mail. Second mails to the same mailbox do trigger
mutt's new mail has arrived mechanismes.

It seems to have to do with access and modification times, the first
mail to be delivered to a non-existing mailbox sets those times to the
same value, and mutt thinks it's old mail. Further mail to that mailbox
only changes the modification time, so mutt is happy. But I'm not:)

As a work around I've complicated my procmail recipy like:

    :0
    * ^List-Id: [^<]*<gibraltar.mail\.vianova\.at>
    {
    	    :0 c:
    	    $LISTDIR/gibraltar
    
    	    :0 A
    	    | touch -m -d "next sec" $LISTDIR/gibraltar
    }
    
but I hope there is a better way out of this.


-- groetjes, carel



Reply to: