! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
reports non-existent new mail in maildir mailboxes
Status:
RESOLVED: MOVED
Product:
Xfce4-mailwatch-plugin
Component:
Local mail spool

Comments

Description Ernest Adrogué 2017-11-11 16:08:20 CET
Created attachment 7426 
ignore filenames that start with a dot

Some MUAs create dot files in maildir mailboxes for various purposes, e.g.

    ls -a ~/.mail/.comp/new/
    .  ..  .sylpheed_cache	.sylpheed_mark

This causes the mailwatch plugin to misreport the number of messages in such mailboxes.

The maildir specification states that message files must not start with a dot [1], so it seems
clear that these files should be ignored when performing message counts.

Patch attached.

[1] https://cr.yp.to/proto/maildir.html
Comment 1 Git Bot editbugs 2020-05-24 00:46:10 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/52.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13992

Reported by:
Ernest Adrogué
Reported on: 2017-11-11
Last modified on: 2020-05-24

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Version:
unspecified

Attachments

ignore filenames that start with a dot (941 bytes, patch)
2017-11-11 16:08 CET , Ernest Adrogué
no flags

Additional information