[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2021-01-05 Thread kernel_panic
https://bugs.kde.org/show_bug.cgi?id=417206

kernel_panic  changed:

   What|Removed |Added

 Resolution|WORKSFORME  |FIXED

--- Comment #18 from kernel_panic  ---
Sorry for the [very] late update. Following some tests, I can confirm that your
patch fixes both the issue that you raised as well as the original issue that I
had reported.

I have tested it both against 20.04.x (with the patch) as well as the upstream
20.08.x release where the patch is already included.

Thanks for the insight and the patch!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2020-10-15 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=417206

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #17 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2020-09-30 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=417206

--- Comment #16 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2020-09-16 Thread Erik Quaeghebeur
https://bugs.kde.org/show_bug.cgi?id=417206

Erik Quaeghebeur  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|CONFIRMED   |NEEDSINFO

--- Comment #15 from Erik Quaeghebeur  ---
(In reply to Erik Quaeghebeur from comment #13)
> I'm hoping to get it into a later 20.08.z version.

It should appear in the 20.08 branch in 20.08.2:
https://invent.kde.org/pim/kdepim-runtime/-/commit/40797e87f8a772ee0bb5df301b41824b1b5007b3

I've asked the maintainers to add it to master as well, so that it'll be
present in 20.12 and beyond.

@kernel_panic: Do you have the opportunity to test the patch? If it solves your
issue as well, we can close this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2020-09-13 Thread Erik Quaeghebeur
https://bugs.kde.org/show_bug.cgi?id=417206

--- Comment #14 from Erik Quaeghebeur  ---
(In reply to Erik Quaeghebeur from comment #13)
> For (current stable) Gentoo users: place it beneath
> /etc/portage/kde-apps/kdepim-runtime-20.04.3/ and re-emerge kdepim-runtime.

Typo alert. It should be

/etc/portage/patches/kde-apps/kdepim-runtime-20.04.3/

Note the ‘patches’.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2020-09-13 Thread Erik Quaeghebeur
https://bugs.kde.org/show_bug.cgi?id=417206

--- Comment #13 from Erik Quaeghebeur  ---
Created attachment 131589
  --> https://bugs.kde.org/attachment.cgi?id=131589=edit
patch that makes sure internal date is used in changeitem-task

This patch fixed my issue (limited testing, however).

For (current stable) Gentoo users: place it beneath
/etc/portage/kde-apps/kdepim-runtime-20.04.3/ and re-emerge kdepim-runtime.
Restart akonadi and check whether or not this solves your issue. (It should
apply as well to earlier versions and current 20.08.z versions. I'm hoping to
get it into a later 20.08.z version.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2020-09-08 Thread kernel_panic
https://bugs.kde.org/show_bug.cgi?id=417206

--- Comment #12 from kernel_panic  ---
(In reply to Erik Quaeghebeur from comment #10)
> (In reply to kernel_panic from comment #8)
> > For example, GMail uses the timestamp provided in the APPEND command to
> > store, index, and display messages in its web interface. This timestamp may
> > be different to the one provided in the message header. However, it appears
> > that this timestamp is stored separately (presumably in some indexing
> > database) since the original message's Date header is left intact and
> > showing the correct timestamp. […]
> 
> I think there is a misunderstanding. The INTERNAl DATE is *not* the same as
> the Date header value and it should not be according to the RFC. (Usually,
> it will be close, but can differ significantly[*] if message delivery is
> delayed.) Please read https://tools.ietf.org/html/rfc3501#section-2.3.3 for
> a description. 
> 
> GMail does follow the RFC here AFAICT and uses the ‘REFS’ threading option.
> (As does, e.g., Fastmail.)
> 
> [*] So that order of mails in a thread differs based on INTERNAL DATE or
> Date header.

I was aware of the difference, though admittedly I may have been using
"internal" a bit more loosely then I should have - it has been a while since I
last properly referred to the RFC. Thanks for pointing this out. In any case,
as I mentioned, the RFC does not seem to specify how clients ought to pick the
timestamp they supply to the APPEND command - if they wish to do so.

I suspect, from an IMAP client perspective, the "internal" date can only be
inferred from the "Received" header for the final destination. Alternatively,
the "Date" header ought to suffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 417206] KMail wrong date in IMAP APPEND command

2020-09-08 Thread Erik Quaeghebeur
https://bugs.kde.org/show_bug.cgi?id=417206

Erik Quaeghebeur  changed:

   What|Removed |Added

  Component|commands and actions|IMAP resource
Product|kmail2  |Akonadi

--- Comment #11 from Erik Quaeghebeur  ---
(In reply to kernel_panic from comment #9)
> […] We should probably
> update this to "kdepim" or "kdepimlibs". I suspect the latter would be more
> appropriate, what do you think?
Akonadi contains the IMAP resource, so that.

We may need to go back to kmail2 in case it is kmail that determines the value
of msg->date()->datetime().

-- 
You are receiving this mail because:
You are the assignee for the bug.