<<< Date Index >>>     <<< Thread Index >>>

Re: mail_check_recent does not work with homespool



* Michael Elkins on Thursday, September 16, 2010 at 17:42:13 -0700
> On Fri, Sep 17, 2010 at 01:46:41AM +0200, Christian Ebert wrote:
>> I have the new mail_check_recent variable set to yes. It works,
>> except for my spoolfile which is compiled in:
>> 
>> ./configure --with-homespool=Maildir ...
>> 
>> At least I guess it's because of this. It would be nice to have
>> this working on my spool again.
> 
> I presume you are using Maildir format mailboxes?

Yes. Sorry, should have said that explicitly.

> Does it work with any maildir mailbox?

Yes, it works for all other mailboxes, except for the homespool.

> One thing to check is "stat $Maildir/new" and see if the mtime value
> on the directory is updated when a new message is placed in that
> directory.

$ mutt -Q spoolfile mbox_type
spoolfile="~/Maildir"
mbox_type=Maildir
$ stat ~/Maildir/new
234881026 1168278 drwx------ 2 chris chris 0 68 "Sep 17 12:02:50 2010" "Sep 17 
01:41:20 2010" "Sep 17 01:41:20 2010" "Nov 17 13:45:43 2008" 4096 0 0 
/Users/chris/Maildir/new

Copy new message to homespool. Then:

stat ~/Maildir/new
234881026 1168278 drwx------ 3 chris chris 0 102 "Sep 17 12:02:50 2010" "Sep 17 
13:52:08 2010" "Sep 17 13:52:08 2010" "Nov 17 13:45:43 2008" 4096 0 0 
/Users/chris/Maildir/new

This is on MacOS 10.5.8 if it matters:

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.5.8
BuildVersion:   9L30

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions