On 4 říj, 20:04, Chet Ramey <chet.ra...@case.edu> wrote: > Yarda wrote: > > With bash-4.0 the mailcheck behaviour is annoying when there is a pseudo > > message in a mailbox, e.g.: > > It's unfortunate that the system's implementors chose a metadata format > that is indistinguishable from a valid mail message. Since bash doesn't > read the contents of a mail file at all, it's not a good idea to make it > parse mail messages to work around this problem. > > Chet > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/
I think it would be worth adding a switch or option to disable old/ read mail reporting (report only new unread mails) or maybe adding a possibility to use custom script for mailchecking. The bash-3 worked OK for me. There are several users reporting the same problem with bash-4 on various distros bugzillas/forums and mostly solving this by mailcheck disable that I think is not good solution.