[kdepim-users] Kontact does not see IMAP changes
Carsten Burghardt
carsten at cburghardt.com
Thu Mar 6 09:48:10 GMT 2008
Paul Waldo sagte:
> Thanks for the reply, Anne. Responses below.
>
> On Wednesday 05 March 2008 9:30:55 am Anne Wilson wrote:
>> On Wednesday 05 March 2008 13:45:48 Paul Waldo wrote:
>> > On Thursday 21 February 2008 12:23:26 pm Paul Waldo wrote:
>> > > Hi all,
>> > >
>> > > I'm running Kontact 1.2.4 on Kubuntu Gutsy AMD64. I have a Kontact
>> > > IMAP email account on a separate server. Sometimes I access this
>> > > account from Kontact, sometimes from Thunderbird, running on a
>> > > different machine.
>> > >
>> > > When I make message changes with Kontact, say moving a message to
>> > > trash, Thunderbird will see the change and update its display
>> > > accordingly. Not so the other way around. If I drag a message to
>> the
>> > > Trash in
>> > > Thunderbird, Kontact still shows me the message in my Inbox, even
>> after
>> > > a "Check Mail" action. The only way to have Kontact show the
>> updated
>> > > message structure is to restart it.
>> > >
>> > > Any ideas would be greatly appreciated!
>> > >
>> > > Paul
>> >
>> > Hmm, no takers... Maybe if I rephrase...
>> >
>> > When Kontact does a mail check, does it scan only for messages it
>> hasn't
>> > seen or does it examine everything in a folder? If it looks at the
>> > entire folder, what, if anything, does it do about removed messages?
At every mail check the status flags of all emails are checked. If a mail
is marked as deleted it is sent to trash. If a new email arrives the
headers are loaded.
>> > Would Kontact be smarter about external message changes if this were a
>> > disconnected IMAP account?
No.
>> Paul, I've been away for a few days, so I don't know if anyone has
>> already
>> asked you questions. We need to know a bit more about how you use
>> kmail.
>>
>> Do you use kmail to pull mail from your ISP, or from a local mail
>> server?
> KMail connects to separate IMAP server running Dovecot on my local network
>>
>> Do you use mbox or maildir format?
> maildir on IMAP server
>>
>> What version of kmail?
> $ kontact -v
> Qt: 3.3.7
> KDE: 3.5.8
> Kontact: 1.2.4 (enterprise 0.20070907.709405)
>
> $ kmail -v
> Qt: 3.3.7
> KDE: 3.5.8
> KMail: 1.9.6 (enterprise 0.20070907.709405)
>
>>
>> I use a local imap server with maildir, and it behaves exactly as you
>> would
>> expect, updating the screen when you cause an action. The more detail
>> you
>> can give us and the better our chance of finding your problem.
>>
> Here is a simple scenario:
> - Setup both Kontact and Thunderbird to connect to the IMAP server
> - In Kontact, drag an email to a different folder.
> - Go to Thunderbird. You can see that the source folder no longer has the
> email, and that the destination folder does have the email. This happens
> instantaneously.
Right, because Thunderbird uses the IDLE command so the server tells TB
that the message had changed. The current structure of Kontact (KDE 3)
does not support this therefore we need regular checks.
> - While in Thunderbird, drag an email from one folder to the other.
> - Switch to Kontact and look in the source folder. If the behavior was
> similar to Thunderbird, the email would be gone, and in the destination
> folder. It still shows in source folder.
> - Perform a mail check. Message still exists in source folder
> - Switch to a different folder then back to original folder. Message
> still
> exists in source folder.
Ouch. So the status flags are not correctly reported by the server or read
by kmail. The only thing I can think of what would help is a trace of the
communication between kmail and the server when a mailcheck is performed
to see if the message is really marked as deleted.
> - Exit Kontact and start again. Message finally shows up in destination
> folder
Maybe the UID validity changed and kmail doesn't get this.
> In the setup I am using, I am at a remote location, outside of the network
> where the IMAP server is running. I use NX to connect to a machine inside
> my
> local network, and this machine is running my KDE desktop (and Kontact).
>
> The Thunderbird application I am using is running on the remote location's
> Windows box, connecting directly to the IMAP server.
>
> Hopefully that's enough to go on, but I'd be happy to provide more info.
> Thanks in advance!
>
> Paul
Carsten
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users
More information about the kdepim-users
mailing list