Commit Graph
428 Commits
Author SHA1 Message Date
Jorge Lobo 1ed977528c fix(eas): answer Sync of non-selectable mail folders as empty folders
FolderSync also advertises mail folders that can't be opened, so that their
subfolders keep their place in the hierarchy: the "Other Users"/"Shared"
namespace roots, Dovecot's per-user parents ("Shared/jdoe@example.com") and
other \Noselect or \NonExistent parents. A Sync with SyncKey 0 on them gets no
collection, because the IMAP STATUS behind -collectionFromId:type: fails, so
the reply carries no SyncKey for them (an empty HTTP 200 on 12.1 and later).
iOS then repeats its initial Sync forever, 50 to 170 times per minute per
device.

Answer these folders exactly like an empty folder: SyncKey -1 and Status 1,
pushed on the initial Sync. Any other SyncKey dates from when the folder could
be opened, so ask for a complete resync (Status 3, also pushed) and the client
drops what it still holds. A folder qualifies only if the IMAP server confirms
it can't be opened (LIST \Noselect/\NonExistent, or a namespace root that LIST
omits); anything else, such as a real folder that failed to open, keeps the
current behaviour.

Fixes #5872
2026-11-20 09:34:55 +01:00
Hivert Quentin 7bee193413 fix(mail): preoperly generates the message-id header value 2025-07-28 17:40:14 +02:00
WoodySlum 4ee6d5af9d Merge pull request #361 from jmallach/wbxml2-include
chore(packaging): Use pkgconfig to compute cflags for wbxml2 instead of hardcoding them
2024-10-01 11:19:57 +02:00
Jordi Mallach 196e10f44c Use pkgconfig to compute cflags for wbxml2 instead of hardcoding them
libwbxml2 recently changed their API version from 1.0 to 1.1. Avoid
a build failure by retrieving the include dir from the provided
pkgconfig definition.
2024-09-05 08:44:38 +02:00
leecher1337 063fb2be3d Fix for excessive memory usage on mailboxes with thousands of folders 2023-10-16 16:12:24 +02:00
smizrahi 39ab482b7f fix(activesync): Wrong decoding emails in Outlook via EAS. Force utf-8 when contnet-type is different than html part. Original fix from tfu. Fixes #5664 2023-04-26 09:49:54 +02:00
smizrahi 8001e3f6ab feat(alarms): Add possibility to use SMTP master account for system alarms. Fixes #5565. 2023-02-16 18:51:28 +01:00
root dff907a158 fix(eas) ensure correct encoding of attachments(fixes #5330) 2022-11-21 11:05:33 +01:00
root e1c7e32f84 fix(eas) improvement for bug #5612 (fixes #5640) 2022-11-12 22:37:15 +01:00
WoodySlum (Le Programmeur) 2d4a700700 Merge pull request #330 from tfux/5612
fix(eas) use bare email address (fixes #5612)
2022-11-08 08:19:24 +01:00
root 2d9a70944b fix(eas) use bare email address (fixes #5612) 2022-10-30 16:55:54 +01:00
root 2ffe3d79d2 fix(eas) ensure Templates and Junk folder exits (fixes #5626) 2022-10-30 16:11:42 +01:00
Francis Lachapelle a0f6842267 fix(eas): improve error logging 2022-04-19 15:15:01 -04:00
Francis Lachapelle 45db044a63 style(obj-c): replace tabs by spaces 2022-01-13 08:46:25 -05:00
Francis Lachapelle 39e1ef5319 fix(eas): handle module constraints
Fixes #5456
2022-01-13 08:42:07 -05:00
Francis Lachapelle 73edd45a96 fix(eas): handle module constraints
Fixes #5456
2022-01-12 16:01:07 -05:00
Francis Lachapelle cf341822ee fix(eas): handle module constraints
Fixes #5456
2022-01-11 13:41:49 -05:00
tfux f8b4187d1d feat(eas): implement replyTo element 2022-01-04 07:51:18 -05:00
tfux 33b2406bf1 fix(eas): handle attachments of type message/rfc822 when sanitize emails (fixes #5427) (#304) 2021-11-18 12:44:13 -05:00
tfux bfcb0b9234 fix(eas): use base64 encoding for attachments when sanitize emails + content-length
Fixes #5408
2021-10-27 08:34:14 -04:00
jkellerer f70d60004d fix(eas): proxy authentication in _sendMail 2021-10-26 16:08:35 -04:00
root b2008cd309 fix(eas): improve EAS parameters parsing (fixes #5266) 2021-02-28 14:49:57 +01:00
root dd8ebd1922 fix(eas): handle fileAs element (fixes #5239) 2021-01-06 19:57:49 +01:00
tfux fab8061766 feat(eas): Allow EAS Search operation in all parts of a message 2020-12-09 13:34:19 -05:00
Ludovic Marcotte 3796009eca fix(eas): handle SENT-BY in delegated calendars 2020-11-03 07:47:53 -05:00
Ludovic Marcotte e469f52dd1 fix(eas): gcc v10 compat fixes (fixes #5029) 2020-06-23 13:02:49 -04:00
Ludovic Marcotte 96986280ee fix(eas): avoid doing bogus truncation 2020-05-14 15:46:55 -04:00
root 18ffd1a744 fix(eas): properly encode DisplayTo (fixes #4995) 2020-03-29 09:15:00 +02:00
root b8f31069ed fix(eas): fix invalid DisplayTo (fixes #4988) 2020-03-22 17:15:18 +01:00
root 9221811fdc fix(eas): sync reminder for invitation (fixes #4911) 2020-01-20 18:50:49 +01:00
root 3f94516e31 fix(eas): additional name fields (fixes #4929) 2020-01-16 22:17:57 +01:00
Ludovic Marcotte 047a98b870 fix(eas): avoid generating broken XML ouput (fixes #4927) 2020-01-08 13:04:42 -05:00
Ludovic Marcotte 4ed2c727a2 fix(eas): make sure there is always an attendee name (fixes #4910) 2019-12-19 09:03:17 -05:00
Ludovic Marcotte a2a6bfab59 fix(core): avoid warning by including missing file 2019-10-31 09:04:10 -04:00
Ludovic Marcotte d1e2418d65 (fix) fixed EAS provisioning support for Outlook/iOS (fixes #4853) 2019-10-30 13:44:13 -04:00
Ludovic Marcotte 662ee865b7 (fix) avoid incorrect truncation leading to exception (fixes #4806) 2019-09-13 09:52:04 -04:00
Ludovic Marcotte 1e43a695cd (fix) improve FolderSync operation (fixes #4672) 2019-09-13 09:45:48 -04:00
Francis Lachapelle ab87e72b4e (EAS) Fix handling of missing date
Fixes #4720
2019-04-05 08:39:20 -04:00
Ludovic Marcotte e418fcb6ca (fix) better handle timezone changes (fixes #4624) 2018-12-20 13:37:59 -05:00
Ludovic Marcotte af70306d9a (feat) support for basic UserInformation queries (fixes #4614) 2018-12-20 13:34:24 -05:00
Ludovic Marcotte 95680b33a1 (fix) better handle bogus DTStart values over EAS 2018-12-20 09:12:44 -05:00
Ludovic Marcotte 1ba1be9e31 (fix) improve search operations and results fetching 2018-11-29 14:11:55 -05:00
Ludovic Marcotte 596e3326a2 (fix) fix search on for Outlook application (#4605 and #4607) 2018-11-29 14:08:10 -05:00
Ludovic Marcotte adf2d395e3 (fix) strip '<>' from bodyId and when forwarding mails 2018-11-29 14:05:12 -05:00
Ludovic Marcotte 05c798cce7 (fix) fixed EAS search operation 2018-06-20 13:59:35 -04:00
Ludovic Marcotte aca2c1b9e8 (fix) also try to get event using its UID before bailing out 2018-06-04 14:47:55 -04:00
Ludovic Marcotte dff85ae1d7 (fix) small fix for task reminders 2018-03-19 09:46:04 -04:00
Ludovic Marcotte 982cbed7cc (fix) avoid potential cache update when breaking sync queries (fixes #4422) 2018-03-15 16:01:50 -04:00
Ludovic Marcotte a0bf8b6f4d (fix) small optimizations + code cosmetics 2018-03-14 13:21:49 -04:00
Ludovic Marcotte c495e14cd7 (fix) improved alarms syncing with EAS devices (fixes #4351) 2018-03-14 13:18:48 -04:00