[Users] new-mail notifications on message open
Pierre Fortin
pf at pfortin.com
Tue Nov 6 16:30:20 CET 2018
On Sun, 4 Nov 2018 14:12:24 -0500 Pierre Fortin wrote:
>I've noticed some new (New vs Unread) messages (already filtered to
>folders) trigger the new-mail sound when opened.
Looks like some messages come in as duplicates with the same message-id
and this triggers the new-mail sound. It appears that some senders have
harvested multiple email addresses and are sending one message to more
than one of my addresses resulting in duplicate copies with the same
message-id in one folder. When I open these duplicates (sometimes more
than 2), the first 2 opened trigger the new-mail sound on open.
In the case of the devel mailing list; I get 3 copies, sent as 3
separate originating messages, with the same message-id in all 3...
eg,
482:Message-ID: <20181106082139.qenesy4salbszrag at busgosu>
483:Message-ID: <20181106082139.qenesy4salbszrag at busgosu>
484:Message-ID: <20181106082139.qenesy4salbszrag at busgosu>
All 3 took different paths...
>If I get multiple copies of a message (as I do on devel list -- leftover
>from previous testing), it does not matter what order the copies arrive;
>they are all filtered into my claws-mail-dev folder. I don't know if they
>trigger the new-mail sound when they arrive; but they do while still
>marked as "new" and only if they are opened 1st or 2nd, never 3rd.
>
>NS = Notification Sound
>ie, messages arrive as A1 A2 A3 B2 B1 B3 C3 C2 C1
>Opened in order: NS NS NS NS NS NS
> in reverse order: NS NS NS NS NS NS
>
>Opened in this order: A3 B1 C2 B2 C3 C1 A1 A2 B3
> NS NS NS NS NS NS
>
>The first 2 copies opened give:
>[11:47:21] notification_core.c:440:Notification Plugin: Found msg 20181104115538.389dc8f8 at sleipner.datanom.net, checking if it is in hash...
>[11:47:21] notification_core.c:449:no, added to table.
>[11:47:21] notification_core.c:452:notification_new_unnotified_do_msg
>[11:47:21] notification_core.c:472:notification_new_unnotified_do_msg
>while the 3rd gives:
>[11:47:29] notification_core.c:440:Notification Plugin: Found msg 20181104130414.47e84bd8 at sleipner.datanom.net, checking if it is in hash...
>[11:47:29] notification_core.c:444:yes.
>
>If I exit the folder and return before reading all the messages, they are
>now "unread" and do not trigger a notification sound.
>
>Is this a bug, or undocumented feature?
>
>Pierre
>_______________________________________________
>Users mailing list
>Users at lists.claws-mail.org
>https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list