[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAILPATH stopped working after update to Bash 4.0
From: |
Chet Ramey |
Subject: |
Re: MAILPATH stopped working after update to Bash 4.0 |
Date: |
Tue, 26 May 2009 16:11:23 -0400 |
User-agent: |
Thunderbird 2.0.0.21 (Macintosh/20090302) |
Nikos Chantziaras wrote:
> I have:
>
> MAILPATH="/home/me/.maildir/new?You have new mail."
> MAILCHECK=60
>
> Bash 3.2 was correctly telling me about new mail arriving. However,
> after I updated to Bash 4.0, I constantly get a "You have new mail."
> message every minute even though I actually don't have new mail. Has
> the mail notification feature changed in Bash 4.0? I can't see anything
> relevant in the man page or NEWS file.
There was a small change made to the mail file initialization code, to
keep from dropping the first "new mail" notification. (In April, 2007,
though, so you'd figure one of the testers would have caught a problem
before now.)
I don't use a maildir-aware mail program, but you can debug this by
setting a breakpoint in mailcheck.c:check_mail().
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/