[sylpheed:30987] New message counts, global search folders, IMAP blocking

Jason LeBrun gnome at jasonlebrun.info
Thu Feb 22 03:48:38 JST 2007


I've recently started using Sylpheed, and I am super-impressed with it! I'm so happy to find such a full-featured email client that is not BLOATED. 

I want to start digging around in the code to make a few modifications, but I wanted to hit the list first, to make sure that I'm not just missing a feature that already exists.

1. I subscribe to a lot of mailing lists. I want to know how much unread mail is in mailing list folders, but I don't want the messages to be included in the new message count. As far as I can tell, there is no way to enable functionality like this. I've considered two approaches:

	*Adding a filter action that makes a message no longer "new" (but still unread)
	*Adding a folder option that excludes new messages from the total "new message count"
>From my initial poking around in the code, it seems like the filter action would be easier to implement, since it would require no changes to the incorporation code. 

2. I like to use search folders to manage "TODO" emails. But I have multiple mailboxes, and it seems that I can only apply a search folder to one mailbox at a time. Is there anyway to create a global search folder that will search all mail managed by sylpheed?

3. If I attempt IMAP communication when there is no network connectivity, it causes the whole program to hang. I do have non-blocking SSL enabled. The backtrace during the hanging is:

#0  0xb7f2d410 in __kernel_vsyscall ()
#1  0xb74741fd in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x08135313 in fd_check_io (fd=6, cond=<value optimized out>)
    at socket.c:588
#3  0x0813541f in ssl_peek (ssl=0x85b9f50, buf=0xbf897268 "\t", len=8191)
    at socket.c:1635
#4  0x081359a2 in ssl_gets (ssl=0x85b9f50, buf=0xbf897268 "\t", len=8191)
    at socket.c:1529
#5  0x08135a8e in ssl_getline (ssl=0x85b9f50, line=0xbf8992f0) at socket.c:1589
#6  0x08135d83 in sock_getline (sock=0xfffffdfe, line=0xbf897134)
    at socket.c:1614
#7  0x0811175e in imap_cmd_gen_recv (session=0x85ba260, ret=0x0) at imap.c:3952
#8  0x08111b16 in imap_cmd_ok (session=0x85ba260, argbuf=0x0) at imap.c:3867
#9  0x08117afb in imap_session_get (folder=0x84a2010) at imap.c:3406
#10 0x08118d4d in imap_scan_folder (folder=0x84a2010, item=0x84a2288)
    at imap.c:1683
#11 0x0810c9d8 in folder_item_scan (item=0xbf897134) at folder.c:942
#12 0x08065e4f in folderview_check_new (folder=0x84a2010) at folderview.c:984

Thanks for any feedback!



More information about the Sylpheed mailing list