If a message is not \SEEN on an imap server and we get an initial folder listing telling us about it, trust the server and set the mail to new or unread  no matter what our local index tells us the status is. This is necessary because if we set a message to read locally but fail to set \SEEN on the server for some reason, the count of unread mails will be henceforth out of sync. That will not do, now, will it?
If a message is not \SEEN on an imap server and we get an initial folder
listing telling us about it, trust the server and set the mail to new
or unread  no matter what our local index tells us the status is. This
is necessary because if we set a message to read locally but fail to set
\SEEN on the server for some reason, the count of unread mails will be
henceforth out of sync. That will not do, now, will it?

svn path=/trunk/kdepim/; revision=291996

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi