Project

General

Profile

Actions

Bug #629

closed

Workaround for IMAP sync

Added by Marc Dequènes almost 6 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
High
Category:
Service :: Mail
Start date:
2018-06-08
Due date:
% Done:

20%

Estimated time:
Patch Available:
Confirmed:
No
Branch:
Entity:
DuckCorp
Security:
Help Needed:

Description

IMAP sync is hindered by this bug: https://github.com/OfflineIMAP/offlineimap/issues/514

Unless there is a fix soon (see the linked BR's linked BR) we could write a workaround.

We could decide to create special Spam/Ham folders (name could be changed) and run a daily script retraining the contained mails and deleting them.

To interact cleanly with the mailbox and also because we now use mdbox format, here are the proposed (untested) steps:
  • doveadm search
  • loop on GUIDs: * doveadm fetch * rspamc learn_spam/learn_ham * doveadm expunge
Actions

Also available in: Atom PDF