xfce4-mailwatch-plugin issueshttps://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues2024-03-09T16:50:31Zhttps://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/77Memory leak2024-03-09T16:50:31ZPhoton89Memory leakI frequently leave my laptop on for many days. Just put it to standby by closing the lid. Today I noticed that xfce4-mailwatch-plugin takes quite a chunk of RAM:
![Auswahl_027](/uploads/0af7a0875d62c6b90e4ecf83ac3e89b5/Auswahl_027.png)
...I frequently leave my laptop on for many days. Just put it to standby by closing the lid. Today I noticed that xfce4-mailwatch-plugin takes quite a chunk of RAM:
![Auswahl_027](/uploads/0af7a0875d62c6b90e4ecf83ac3e89b5/Auswahl_027.png)
Uptime is around one week:
```
$ uptime
20:58:51 up 6 days, 10:49, 1 user, load average: 2,98, 2,12, 1,73
```https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/76Mailwatch hangs and traps when opening Properties2023-04-13T11:24:56ZDale WMailwatch hangs and traps when opening PropertiesMail Watcher periodically stops updating. Opening Properties and clicking on Edit will cause a trap. MailWatch then restarts and continues normal operation, showing correct info with mouse hover over it.
From kern.log:
kernel: [417277.9...Mail Watcher periodically stops updating. Opening Properties and clicking on Edit will cause a trap. MailWatch then restarts and continues normal operation, showing correct info with mouse hover over it.
From kern.log:
kernel: [417277.934203] traps: panel-5-mailwat[2251] trap int3 ip:7fb5ef80eca7 sp:7ffe8090cd20 error:0 in libglib-2.0.so.0.6600.8[7fb5ef7d2000+88000]
What an int 3 is doing in any release code should raise a few eyebrows. Not good!https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/73No support for listing of unseen messages per mailbox (not per server)2021-11-19T16:11:26Zp01arbearNo support for listing of unseen messages per mailbox (not per server)Plugin has messed basic terminology: mailbox is a _folder_ on a _server_ (due to [rfc](https://datatracker.ietf.org/doc/html/rfc9051)):
```
The Internet Message Access Protocol Version 4rev2 (IMAP4rev2) allows
a client to access...Plugin has messed basic terminology: mailbox is a _folder_ on a _server_ (due to [rfc](https://datatracker.ietf.org/doc/html/rfc9051)):
```
The Internet Message Access Protocol Version 4rev2 (IMAP4rev2) allows
a client to access and manipulate electronic mail messages on a
server. IMAP4rev2 permits manipulation of mailboxes (remote message
folders)
```
So bulk renaming is necessary.
And `xfce_mailwatch_signal_new_messages()` pass total per server `new_messages`
count into `_XfceMailwatch.mailboxes` instead of `_XfceMailwatch.servers.mailboxes`.https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/72Segfault due to infinite recursion in imap_populate_folder_tree() with some s...2021-11-11T08:35:53ZGhost UserSegfault due to infinite recursion in imap_populate_folder_tree() with some servers`imap_populate_folder_tree()` relies on `\HasNoChildren` mailbox attribute, but it doesn't check required server capabilities. This attribute is defined in IMAP4 extensions. IMAP4 servers that support these extensions must list the keywo...`imap_populate_folder_tree()` relies on `\HasNoChildren` mailbox attribute, but it doesn't check required server capabilities. This attribute is defined in IMAP4 extensions. IMAP4 servers that support these extensions must list the keywords `CHILDREN` or `LIST-EXTENDED` in their `CAPABILITY` response. See [RFC 3348](https://datatracker.ietf.org/doc/html/rfc3348) and [RFC 5258](https://datatracker.ietf.org/doc/html/rfc5258).
If server doesn't support these extensions, it leads to infinite recursion in imap_populate_folder_tree(). For example, see debug output for imap.mail.ru:
```
DBG[mailwatch-mailbox-imap.c:362] imap_send_login_info(): response from login (101): * CAPABILITY IMAP4rev1 ID XLIST UIDPLUS UNSELECT MOVE LIST-STATUS
00002 OK Authentication successful
TRACE[mailwatch-mailbox-imap.c:377] imap_send_login_info(): leaving (success)
TRACE[mailwatch-mailbox-imap.c:919] imap_populate_folder_tree(): entering (0x55bacc99fa40, , 0x55bacca08b30)
DBG[mailwatch-mailbox-imap.c:925] imap_populate_folder_tree(): sent LIST: '00003 LIST "" "%"
'
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Inbox) "/" "INBOX"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Spam) "/" "&BCEEPwQwBDw-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Sent) "/" "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Drafts) "/" "&BCcENQRABD0EPgQyBDgEOgQ4-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Trash) "/" "&BBoEPgRABDcEOAQ9BDA-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: 00003 OK LIST done
TRACE[mailwatch-mailbox-imap.c:919] imap_populate_folder_tree(): entering (0x55bacc99fa40, INBOX/, 0x55bacca08b60)
DBG[mailwatch-mailbox-imap.c:925] imap_populate_folder_tree(): sent LIST: '00004 LIST "INBOX/" "%"
'
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Inbox) "/" "INBOX"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Spam) "/" "&BCEEPwQwBDw-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Sent) "/" "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Drafts) "/" "&BCcENQRABD0EPgQyBDgEOgQ4-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Trash) "/" "&BBoEPgRABDcEOAQ9BDA-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: 00004 OK LIST done
TRACE[mailwatch-mailbox-imap.c:919] imap_populate_folder_tree(): entering (0x55bacc99fa40, INBOX/INBOX/, 0x55bacca08b90)
DBG[mailwatch-mailbox-imap.c:925] imap_populate_folder_tree(): sent LIST: '00005 LIST "INBOX/INBOX/" "%"
'
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Inbox) "/" "INBOX"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Spam) "/" "&BCEEPwQwBDw-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Sent) "/" "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Drafts) "/" "&BCcENQRABD0EPgQyBDgEOgQ4-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Trash) "/" "&BBoEPgRABDcEOAQ9BDA-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: 00005 OK LIST done
TRACE[mailwatch-mailbox-imap.c:919] imap_populate_folder_tree(): entering (0x55bacc99fa40, INBOX/INBOX/INBOX/, 0x7f2854017a10)
DBG[mailwatch-mailbox-imap.c:925] imap_populate_folder_tree(): sent LIST: '00006 LIST "INBOX/INBOX/INBOX/" "%"
'
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Inbox) "/" "INBOX"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Spam) "/" "&BCEEPwQwBDw-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Sent) "/" "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Drafts) "/" "&BCcENQRABD0EPgQyBDgEOgQ4-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Trash) "/" "&BBoEPgRABDcEOAQ9BDA-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: 00006 OK LIST done
...
TRACE[mailwatch-mailbox-imap.c:919] imap_populate_folder_tree(): entering (0x55bacc99fa40, INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/I, 0x7f28540d7350)
DBG[mailwatch-mailbox-imap.c:925] imap_populate_folder_tree(): sent LIST: '00454 LIST "INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/I" "%"
'
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Inbox) "/" "INBOX"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Spam) "/" "&BCEEPwQwBDw-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Sent) "/" "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Drafts) "/" "&BCcENQRABD0EPgQyBDgEOgQ4-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: * LIST (\Trash) "/" "&BBoEPgRABDcEOAQ9BDA-"
DBG[mailwatch-mailbox-imap.c:237] imap_recv_command(): trying to get line
DBG[mailwatch-mailbox-imap.c:239] imap_recv_command(): got line: 00454 OK LIST done
xfce4-panel(external): mailwatch-14: child is unembedded
xfce4-panel(external): mailwatch-14: child exited with status 139
xfce4-panel-Message: 21:59:17.716: Plugin mailwatch-14 has been automatically restarted after crash.
xfce4-panel(external): mailwatch-14: scheduled a respawn of the child
```
```
$ journalctl | grep 'mailwatch'
nov 09 21:59:17 xubuntu kernel: panel-14-mailwa[7781]: segfault at 7f285e08d8a8 ip 00007f28632a0202 sp 00007f285e08d890 error 7 in libmailwatch.so[7f2863291000+2a000]
```https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/71Mailwatch 1.3.0 incorrectly shows unread messages2023-06-16T05:44:27ZDale WMailwatch 1.3.0 incorrectly shows unread messagesIn summary. Usually after 24hrs, or overnight, mailwatch continues to show unread messages when this is not the case.
Reason: threads are no longer being spawned to to check mailboxes (in this case Maildir).
System info in brief:
Mail...In summary. Usually after 24hrs, or overnight, mailwatch continues to show unread messages when this is not the case.
Reason: threads are no longer being spawned to to check mailboxes (in this case Maildir).
System info in brief:
Mail format is: MailDir
Debian 11.0
Kernel 5.14.3 - probably not relevant, same behaviour on 5.13 kernels and currently 5.14.6
mailwatch 1.3.0-1 (debian)
With some pointers or hints or additional info, I'm happy to debug further and rebuild code to try out issues. But the SIGTRAP that's generated is very odd. Someone left debug code in there or deliberate?
Digging deeper.
In 'failed' state:
Right-click on mailwatch icon -> Open Properties
Click on Edit - mailwatch traps (SIGTRAP) and restarts (see debug info below)
SIGTRAP occurs in g_logv()
In non-failed state, this brings up expected mailbox edit.
Note also that mailwatch stops spawning threads during the failed state period.
1. attach with gdb to mailwatch when in failed state
2. observe - no thread activity
3. send mailwatch SIGHUP
4. mailwatch restarts and runs normally
What follows is a bunch of output from a gdb session:
===============================
```root at nuc:~$ps aux | grep mailwatch
dale 1994 0.0 3.5 267743920 574960 ? Sl Sep15 0:06 /usr/lib /x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libmailwatch.so 5 27262987 mailwatch Mail Watcher Check mail from multiple mailboxes
```
```root at nuc:~$gdb -p 1994
Attaching to process 1994
[New LWP 2001]
[New LWP 2004]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007ff1095393ff in __GI___poll (fds=0x559adabe8de0, nfds=3, timeout=10000) at ../sysdeps/unix/sysv/linux/poll.c:29
29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) cont
Continuing.
[Detaching after fork from child process 144084]
Thread 1 "panel-5-mailwat" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ff109663ca7 in g_log_structured_array () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) cont
Continuing.
Thread 1 "panel-5-mailwat" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ff109664332 in g_logv () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) backtrace
#0 0x00007ff109664332 in g_logv () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ff10966459f in g_log () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ff1098a684a in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#3 0x00007ff10976b306 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00007ff10976b6d4 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ff10976d264 in g_object_new_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ff10976d5c9 in g_object_new () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ff109db61fc in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#8 0x00007ff109db77a0 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#9 0x00007ff109db1776 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ff1097660a2 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ff109778413 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ff10977e6cf in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ff10977ee5f in g_signal_emit_by_name () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ff109dc2d19 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007ff10976b306 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ff10976d74c in g_object_setv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ff10976e42b in g_object_set_property () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ff10976b306 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ff10976d74c in g_object_setv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ff10976e42b in g_object_set_property () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ff10976b306 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ff10976d74c in g_object_setv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ff10976e42b in g_object_set_property () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ff109db122f in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007ff10976b306 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ff10976b738 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ff10976d264 in g_object_new_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ff10976d5c9 in g_object_new () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ff107ebf520 in maildir_get_setup_page (mailbox=0x559adaaa0030) at mailwatch-mailbox-maildir.c:340
#30 0x00007ff107ec9939 in config_run_addedit_window
(title=0x7ff0a02281d0 "Edit Mailbox: 4d", parent=0x559adbc6e400, mailbox_name=0x7ff0a022b550 "4d", mailbox=0x559adaaa0030, new_mailbox_name=0x7fffa776ceb8) at mailwatch.c:608
#31 0x00007ff107ec9fd3 in config_do_edit_window (sel=0x559ada9aa350, parent=0x559adbc6e400) at mailwatch.c:708
#32 0x00007ff107eca897 in config_edit_btn_clicked_cb (w=0x559adac58dc0, mailwatch=0x559adaa5bb00) at mailwatch.c:866
#33 0x00007ff1097662ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ff10977ea48 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#35 0x00007ff10977ec3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#36 0x00007ff109d14310 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007ff1097662ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007ff10977ea48 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ff10977ec3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#40 0x00007ff109d125d0 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#41 0x00007ff109fcfccb in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#42 0x00007ff1097662ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#43 0x00007ff10977ea48 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#44 0x00007ff10977ec3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#45 0x00007ff109dde2d4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#46 0x00007ff109769100 in g_cclosure_marshal_VOID__BOXEDv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#47 0x00007ff1097662ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#48 0x00007ff10977ea48 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#49 0x00007ff10977ec3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#50 0x00007ff109ddb387 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#51 0x00007ff109ddca1b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#52 0x00007ff109ddfaaf in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#53 0x00007ff109da5fdc in gtk_event_controller_handle_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#54 0x00007ff109f71c4d in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#55 0x00007ff109fc99f8 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#56 0x00007ff1097662ee in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#57 0x00007ff10977ddf9 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#58 0x00007ff10977ec3f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#59 0x00007ff109f73d04 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#60 0x00007ff109e26e00 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#61 0x00007ff109e28a63 in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#62 0x00007ff109b11785 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#63 0x00007ff109b452e2 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#64 0x00007ff10965ce6b in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007ff10965d118 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007ff10965d40b in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007ff109e27a55 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#68 0x0000559ada42aaea in main ()
(gdb) cont
Continuing.
```
=== Now manually send mailwatch SIGHUP ===
```Thread 1 "panel-5-mailwat" received signal SIGHUP, Hangup.
0x00007ff1098a684a in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
(gdb) cont
Continuing.
```
=== restart gdb with new PID ===
```root at nuc:~$gdb -p 144445
Attaching to process 144445
[New LWP 144446]
[New LWP 144447]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4de63163ff in __GI___poll (fds=0x558770f457e0, nfds=3, timeout=9999) at ../sysdeps/unix/sysv/linux/poll.c:29
29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) cont
Continuing.
[New Thread 0x7f4d2e7b4700 (LWP 144661)]
[New Thread 0x7f4d2dfb3700 (LWP 144662)]
[Thread 0x7f4d2e7b4700 (LWP 144661) exited]
[New Thread 0x7f4d2d7b2700 (LWP 144663)]
[Thread 0x7f4d2dfb3700 (LWP 144662) exited]
[New Thread 0x7f4d2cfb1700 (LWP 144664)]
[Thread 0x7f4d2d7b2700 (LWP 144663) exited]
[New Thread 0x7f4d2c7b0700 (LWP 144665)]
[Thread 0x7f4d2cfb1700 (LWP 144664) exited]
[New Thread 0x7f4d2bfaf700 (LWP 144666)]
[Thread 0x7f4d2c7b0700 (LWP 144665) exited]
[Thread 0x7f4d2bfaf700 (LWP 144666) exited]
[New Thread 0x7f4d2b7ae700 (LWP 144667)]
[Thread 0x7f4d2b7ae700 (LWP 144667) exited]
[New Thread 0x7f4d2afad700 (LWP 144668)]
[New Thread 0x7f4d2a7ac700 (LWP 144669)]
[Thread 0x7f4d2afad700 (LWP 144668) exited]
[New Thread 0x7f4d29fab700 (LWP 144670)]
[Thread 0x7f4d2a7ac700 (LWP 144669) exited]
[New Thread 0x7f4d297aa700 (LWP 144671)]
[Thread 0x7f4d29fab700 (LWP 144670) exited]
[New Thread 0x7f4d28fa9700 (LWP 144672)]
[Thread 0x7f4d297aa700 (LWP 144671) exited]
[New Thread 0x7f4d287a8700 (LWP 144673)]
[Thread 0x7f4d28fa9700 (LWP 144672) exited]
[New Thread 0x7f4d27fa7700 (LWP 144674)]
[Thread 0x7f4d287a8700 (LWP 144673) exited]
[New Thread 0x7f4d277a6700 (LWP 144675)]
[Thread 0x7f4d27fa7700 (LWP 144674) exited]
[New Thread 0x7f4d26fa5700 (LWP 144676)]
[Thread 0x7f4d277a6700 (LWP 144675) exited]
[New Thread 0x7f4d267a4700 (LWP 144677)]
[Thread 0x7f4d26fa5700 (LWP 144676) exited]
[New Thread 0x7f4d25fa3700 (LWP 144678)]
[Thread 0x7f4d267a4700 (LWP 144677) exited]
```https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/70Tooltip listing inbox repeat redundant helper sentence.2021-08-12T18:47:34ZLudovic BellièreTooltip listing inbox repeat redundant helper sentence.The tooltip desperately wants the user to know that the numbers shown « *tells how many new messages in each mailbox* ». So much so that it repeats it for each inbox with new emails. It makes the tooltip quite busy.
Offending bit:
https...The tooltip desperately wants the user to know that the numbers shown « *tells how many new messages in each mailbox* ». So much so that it repeats it for each inbox with new emails. It makes the tooltip quite busy.
Offending bit:
https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/blob/a1ca1d6e13357134bf06c99eb437a53021fcb139/panel-plugin/mailwatch-plugin.c#L178-199https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/67New app icon and symbolic icons2021-09-24T10:11:29ZMaurizio Galli (m4u9)New app icon and symbolic iconsI attached some new icons. If ok would it be possible to adapt the code to use symbolic icons?
![xfce-newmail-symbolic.svg](/uploads/6143f1a41845635613eb67591acbed80/xfce-newmail-symbolic.svg)
![xfce-nomail-symbolic.svg](/uploads/64dcd...I attached some new icons. If ok would it be possible to adapt the code to use symbolic icons?
![xfce-newmail-symbolic.svg](/uploads/6143f1a41845635613eb67591acbed80/xfce-newmail-symbolic.svg)
![xfce-nomail-symbolic.svg](/uploads/64dcd47676f00c23023afd78e9523a53/xfce-nomail-symbolic.svg)
![org.xfce.mail.svg](/uploads/a47c53dcc0764d089fc73874c507c419/org.xfce.mail.svg)https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/66[GMail] Connection timed out / Operation aborted2021-09-24T10:11:29Zadder46[GMail] Connection timed out / Operation abortedI've set up `xfce4-mailwatch-plugin` for a GMail account via `Add -> Remote IMAP Mailbox`. The parameters are:
```
Mailbox Name: GMail
IMAP Server
Mail server: imap.gmail.com
Username: my_username@gmail.com
Password: my_password
`...I've set up `xfce4-mailwatch-plugin` for a GMail account via `Add -> Remote IMAP Mailbox`. The parameters are:
```
Mailbox Name: GMail
IMAP Server
Mail server: imap.gmail.com
Username: my_username@gmail.com
Password: my_password
```
...where `my_password` is a Google app password specifically generated for Mail Watcher, because my account has two-factor authentication enabled.
It **worked** for a week or so, however, just now I've noticed a red dot in the panel, indicating that something went wrong. When I checked the logs, I could see this:
```
[GMail] Connection timed out
[GMail] Operation aborted
```
What could be causing this?https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/65RFE: port to openssl2021-09-27T18:11:41ZTomasz KłoczkoRFE: port to opensslAlmost all typical desktop components are using openssl.
It would be good to have possibility to build xfce4-mailwatch-plugin against openssl.Almost all typical desktop components are using openssl.
It would be good to have possibility to build xfce4-mailwatch-plugin against openssl.https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/61[Enhancement] Different color for new mail to differentiate accounts2021-09-24T10:11:28ZBugzilla Migration[Enhancement] Different color for new mail to differentiate accounts## Submitted by Camaleon
Assigned to **Florian Rivoal**
**[Link to original bug (#16836)](https://bugzilla.xfce.org/show_bug.cgi?id=16836)**
## Description
It would be a nice feature having the option to choose different icon colo...## Submitted by Camaleon
Assigned to **Florian Rivoal**
**[Link to original bug (#16836)](https://bugzilla.xfce.org/show_bug.cgi?id=16836)**
## Description
It would be a nice feature having the option to choose different icon colors for every account when new mail arrives. E.g., account1 → yellow envelope icon, account2 → blue envelope icon and so on.
It can be also used as a kind of identifier for group matching accounts. E.g, work accounts (account1, account2, account3) → red envelope, familiy accounts (account 4, account5) → green envelope icon and so on.
That way it's easier for the user to know what account (or what group of accounts) is the new mail coming from without needing to see the tooltip.
This feature would require some kind of icon rotation setting when checking every account to allow the user view the icon (e.g., 5 seconds by default, but configurable).
Now using 1.2.0 version.https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/60Нет настройки плагина по количеству занимаемых строк на панели2021-09-24T10:11:28ZBugzilla MigrationНет настройки плагина по количеству занимаемых строк на панели## Submitted by Denis
Assigned to **Florian Rivoal**
**[Link to original bug (#16499)](https://bugzilla.xfce.org/show_bug.cgi?id=16499)**
## Description
Created attachment 9525
Настройка количества строк, занимаемых плагином
Здра...## Submitted by Denis
Assigned to **Florian Rivoal**
**[Link to original bug (#16499)](https://bugzilla.xfce.org/show_bug.cgi?id=16499)**
## Description
Created attachment 9525
Настройка количества строк, занимаемых плагином
Здравствуйте.
Если в "Параметры панели" во вкладке "Экран" выбрать "Количество строк" больше 1, то плагин Xfce4-mailwatch-plugin занимает все строки, а надо, чтобы занимал 1 строку.
В настройках плагина нет соответствующих настроек.
Я приложил файл панели.
В нём видно, как данный плагин занимает всю ширину панели, а надо, чтобы он занимал столько же места, как плагин раскладки клавиатуры выше.
**Attachment 9525**, "Настройка количества строк, занимаемых плагином":
![panel](/uploads/b6a0c1d77a2d8a74757085db184d84bb/panel.jpg)https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/58Use keyring for passwords2023-04-20T18:31:25ZBugzilla MigrationUse keyring for passwords## Submitted by mia..@..@pm.me
Assigned to **Florian Rivoal**
**[Link to original bug (#16330)](https://bugzilla.xfce.org/show_bug.cgi?id=16330)**
## Description
To set up Xfce4-mailwatch-plugin, one naturally needs to supply the ...## Submitted by mia..@..@pm.me
Assigned to **Florian Rivoal**
**[Link to original bug (#16330)](https://bugzilla.xfce.org/show_bug.cgi?id=16330)**
## Description
To set up Xfce4-mailwatch-plugin, one naturally needs to supply the passwords for the accounts to monitor. Those passwords should be stored in a keyring (e.g. Gnome keyring in my case).
To my opinion they MUST be stored in a keyring, unencrypted storage of passwords should be considered an important security bug.
I use the version supplied with Xubuntu 18.04 LTS.https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/57Additional Logging2021-09-24T10:11:28ZBugzilla MigrationAdditional Logging## Submitted by tha..@..il.com
Assigned to **Florian Rivoal**
**[Link to original bug (#15980)](https://bugzilla.xfce.org/show_bug.cgi?id=15980)**
## Description
When applying the same settings to the xfce4 mailwatch plugin as wha...## Submitted by tha..@..il.com
Assigned to **Florian Rivoal**
**[Link to original bug (#15980)](https://bugzilla.xfce.org/show_bug.cgi?id=15980)**
## Description
When applying the same settings to the xfce4 mailwatch plugin as what works with Thunderbird, the mailwatch log panel shows:
* 2019-09-10 07:00:23: [First Last (domain)] Connection timed out
* 2019-09-10 07:00:23: [First Last (domain)] Failed to connect to
server "mail.domain.ca": Operation now in progress
Without knowing why the server connection failed, the problem cannot be fixed. Please provide more detailed log messages to help debug issues. For example:
* Failed to connect to "mail.domain.ca" on port 993 using SSL/TLS. Reason: Host unreachable
Where "Reason" could include issues such as: "Invalid credentials", "Server not listening on port", "Incorrect SSL protocol version", or any other issues that have actionable resolution. As it stands, "Operation now in progress" and "failed to connect to server" offer no insight into how to resolve the issue.
Version: Xfce4 Mailwatch Plugin 1.2.0
Adding detailed log messages to /var/log/messages (or similar) would also be welcome.https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/56Change applet to plugin2021-09-24T10:11:28ZBugzilla MigrationChange applet to plugin## Submitted by sco..@..il.com
Assigned to **Florian Rivoal**
**[Link to original bug (#15583)](https://bugzilla.xfce.org/show_bug.cgi?id=15583)**
## Description
Maybe change applet to plugin in the following strings:
The mai...## Submitted by sco..@..il.com
Assigned to **Florian Rivoal**
**[Link to original bug (#15583)](https://bugzilla.xfce.org/show_bug.cgi?id=15583)**
## Description
Maybe change applet to plugin in the following strings:
The mailwatch applet cannot be added to the panel.
A featureful mail-checker applet for the Xfce Panel
Version: githttps://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/55Problems with icon size (4 times bigger)2021-09-24T10:11:28ZBugzilla MigrationProblems with icon size (4 times bigger)## Submitted by sco..@..il.com
Assigned to **Florian Rivoal**
**[Link to original bug (#15535)](https://bugzilla.xfce.org/show_bug.cgi?id=15535)**
## Description
There are some problems with the icon showed on the panel.
It does ...## Submitted by sco..@..il.com
Assigned to **Florian Rivoal**
**[Link to original bug (#15535)](https://bugzilla.xfce.org/show_bug.cgi?id=15535)**
## Description
There are some problems with the icon showed on the panel.
It does not seems to follow the row height settings selected in the panel preferences.
If i select 16 pixel row height the plugin icon is 64.
The scaling looks pixelated like a small raster image have been streached bigger.
And the background is a grey color instead of transparent so i can see where the square plugin area ends on the panel.
If i open the plugin preferences there are two icons. Normal and new mail.
For some reason their size is affected by the panel row size settings.
so if i select 128 row size and open the plugin dialog the icons are huge.
Not 128x128 but 512x512 it seems.
I suggest using icons that looks good up to at least 128 pixels since that is the max panel settings size.
Version 1.2.0
Version: githttps://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/53IMAP IDLE support (not a bug)2021-09-24T10:11:28ZBugzilla MigrationIMAP IDLE support (not a bug)## Submitted by Anton Karmanov
Assigned to **Florian Rivoal**
**[Link to original bug (#14902)](https://bugzilla.xfce.org/show_bug.cgi?id=14902)**
## Description
It will be great to have instant notifications for IMAP boxes throug...## Submitted by Anton Karmanov
Assigned to **Florian Rivoal**
**[Link to original bug (#14902)](https://bugzilla.xfce.org/show_bug.cgi?id=14902)**
## Description
It will be great to have instant notifications for IMAP boxes through IDLE specification.
Version: githttps://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/52reports non-existent new mail in maildir mailboxes2021-09-24T10:11:28ZBugzilla Migrationreports non-existent new mail in maildir mailboxes## Submitted by Ernest Adrogué
Assigned to **Florian Rivoal**
**[Link to original bug (#13992)](https://bugzilla.xfce.org/show_bug.cgi?id=13992)**
## Description
Created attachment 7426
ignore filenames that start with a dot
Some...## Submitted by Ernest Adrogué
Assigned to **Florian Rivoal**
**[Link to original bug (#13992)](https://bugzilla.xfce.org/show_bug.cgi?id=13992)**
## Description
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
**Patch 7426**, "ignore filenames that start with a dot":
[0001-maildir-Ignore-filenames-that-start-with-a-dot.patch](/uploads/1799f015de17576bc1921be39bf938da/0001-maildir-Ignore-filenames-that-start-with-a-dot.patch)https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/49Plugin not working with dovecot imap server over unencrypted connection2021-09-24T10:11:27ZBugzilla MigrationPlugin not working with dovecot imap server over unencrypted connection## Submitted by Martin Thierer
Assigned to **Florian Rivoal**
**[Link to original bug (#13443)](https://bugzilla.xfce.org/show_bug.cgi?id=13443)**
## Description
Created attachment 7052
Check for CRAM-MD5 capability before checkin...## Submitted by Martin Thierer
Assigned to **Florian Rivoal**
**[Link to original bug (#13443)](https://bugzilla.xfce.org/show_bug.cgi?id=13443)**
## Description
Created attachment 7052
Check for CRAM-MD5 capability before checking for LOGINDISABLED
I can't use the plugin to check for new mail on my local dovecot server, which doesn't support encryption but hashed passwords (cram-md5) and has disabled plaintext logins as per dovecot default (disable_plaintext_auth=yes).
To prevent clients from sending credentials over an unencrypted connection when plaintext logins are disabled, it includes "LOGINDISABLED" in its capabilities if queried over an unsecure connection.
It also includes "CRAM-MD5" in the capabilities, but unfortunately that doesn't work with the mailwatch plugin because it checks for "LOGINDISABLED" *first*.
So I suggest to move the check for "LOGINDISABLED" behind the check for "CRAM-MD5" in libmailwatch-core/mailwatch-mailbox-imap.c.
The plugin works for me with this change and I can't see a harm in doing so.
**Patch 7052**, "Check for CRAM-MD5 capability before checking for LOGINDISABLED":
[login.patch](/uploads/0745e4a4467930fa60a84722ce87d7aa/login.patch)https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/48Can't disable accounts2021-09-24T10:11:27ZBugzilla MigrationCan't disable accounts## Submitted by José Luis González
Assigned to **Florian Rivoal**
**[Link to original bug (#13229)](https://bugzilla.xfce.org/show_bug.cgi?id=13229)**
## Description
I can't find a way to disable accounts other than removing them ...## Submitted by José Luis González
Assigned to **Florian Rivoal**
**[Link to original bug (#13229)](https://bugzilla.xfce.org/show_bug.cgi?id=13229)**
## Description
I can't find a way to disable accounts other than removing them altogether. Sometimes it makes sense to disable an account if you don't want notifications for the time being but expect to want them in the future, so the account remained saved. Please, if you think it makes sense, provide such an option.
Thank you so much in advance.https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/47Read messages are reported as new in POP3 accounts2021-09-24T10:11:27ZBugzilla MigrationRead messages are reported as new in POP3 accounts## Submitted by José Luis González
Assigned to **Florian Rivoal**
**[Link to original bug (#13228)](https://bugzilla.xfce.org/show_bug.cgi?id=13228)**
## Description
Read messages in POP3 accounts are reported as new when they obv...## Submitted by José Luis González
Assigned to **Florian Rivoal**
**[Link to original bug (#13228)](https://bugzilla.xfce.org/show_bug.cgi?id=13228)**
## Description
Read messages in POP3 accounts are reported as new when they obviously aren't new since they have been read. If behaviour to report also read messages was desired I think an option would be necessary to enable it and IMHO it should be off by default. Not reporting read messages is what is already done for IMAP, so nothing strange or unusual here.
I'm seeing this on 1.2.0, though I'm not able to select it from Version list, so selecting unspecified instead.