#549320 conky: Wrong mails_new count on mboxes with Status: O

Package:
conky
Source:
conky
Submitter:
"Fernando M. Maresca"
Date:
2010-04-13 13:27:03 UTC
Severity:
normal
#549320#5
Date:
2009-10-02 12:25:48 UTC
From:
To:
mails_news wrong count when used with mboxes and Status header is set to
O[ld] by the MUA.
( This is how mutt flags a mail as notified to the user, however this
is not the same as R[ead].)

Patch to mail.c:
254,255c254
<                                       if (strchr(buf + 7, 'R') == NULL
&&
<                             strchr(buf + 7, 'O') == NULL) {
---


Thanks,
Fer

#549320#10
Date:
2009-10-02 13:55:36 UTC
From:
To:
Also, I think the ctime of the mbox should be cheked along (or instead
of) mtime, because of noatime or relatime mount options (mail.c:186).

Thanks,

#549320#19
Date:
2010-04-13 10:38:25 UTC
From:
To:
This continues in 1.8.0 in Debian Sid
Conky 1.8.0 compiled Tue Apr  6 23:19:18 UTC 2010 for Linux
2.6.32.11-dsa-amd64 (x86_64)

Thanks,

#549320#24
Date:
2010-04-13 13:23:24 UTC
From:
To:
Considering that 1.8.0 doesn't close this bug, this isn't really a
surprise, is it?