Project

General

Profile

Bug #629

Workaround for IMAP sync

Added by Marc Dequènes 9 months ago. Updated 4 months ago.

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

20%

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

History

#1 Updated by Marc Dequènes 9 months ago

  • Status changed from New to In Progress
  • Assignee set to Marc Dequènes
  • % Done changed from 0 to 20

I created a tentative script srv_mail_imapsync_retrain on Orfeo. Asking Arnau to test.

#2 Updated by Marc Dequènes 9 months ago

  • Status changed from In Progress to Feedback

#3 Updated by Marc Dequènes 4 months ago

  • Status changed from Feedback to Rejected

Arnau is using another setup now and it is not needed anymore. No other user requested this feature, so let's stop working on this. The script can be kept if ever needed in the future.

Also available in: Atom PDF