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 #1

Updated by Marc Dequènes almost 6 years 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.

Actions #2

Updated by Marc Dequènes almost 6 years ago

  • Status changed from In Progress to Feedback
Actions #3

Updated by Marc Dequènes over 5 years 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.

Actions

Also available in: Atom PDF