Enhancement #2810

Email not deleted when using Outlook client

Added by Matteo Mengoni about 7 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:LowDue date:
Assignee:-% Done:

100%

Category:nethserver-mail-server
Target version:v6.6
Resolution: NEEDINFO:No

Description

When you delete an email in outlook, it is not moved to the trash but marked as deleted.

dovecot-deleted-to-trash-0.3-1.fc17.src.rpm (7.29 KB) Giacomo Sanchietti, 07/11/2014 02:36 AM

Associated revisions

Revision 70b387db
Added by Edoardo Spadoni over 6 years ago

plugin. added delete to trash plugin and template. Refs #2810

Revision b763645a
Added by Edoardo Spadoni over 6 years ago

log config. disabled debug logging. Refs #2810

Revision 2e337b96
Added by Edoardo Spadoni over 6 years ago

log config. disabled debug logging. Refs #2810

History

#1 Updated by Giacomo Sanchietti about 7 years ago

This is a wrong behavior of Outlook.

By the way, there is a dovecot plugin to workaround the problem: http://wiki2.dovecot.org/Plugins/deleted-to-trash.

A source rpm for an old release of the plugin can be found in attachment.

#2 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#3 Updated by Davide Principi over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Edoardo Spadoni
  • Target version changed from ~FUTURE to v6.5
  • % Done changed from 20 to 30

#4 Updated by Edoardo Spadoni over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Edoardo Spadoni)
  • % Done changed from 30 to 60

Test Case

Use Outlook client.

  • Install dovecot plugin from testing
  • Update nethserver-mail-server
  • Try to delete a mail.

Now the mail is moved to trash instead of marked as deleted.

#5 Updated by Davide Principi over 6 years ago

In nethserver-testing 6.5:
nethserver-mail-server-1.8.3-1.1git70b387d.ns6.noarch.rpm
dovecot-deleted-to-trash-0.6-1.ns6.x86_64.rpm

In nethserver-testing 6.6:
nethserver-mail-server-1.8.3-1.1git70b387d.ns6.noarch.rpm
dovecot-deleted-to-trash-0.6-1.ns6.x86_64.rpm

#6 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

#7 Updated by Davide Principi over 6 years ago

  • Status changed from ON_QA to TRIAGED
  • % Done changed from 70 to 20

We must find a way to reduce log verbosity: in /var/log/imap

Feb  2 10:55:58 nethservice dovecot: imap(dude): Debug: copying to Trash succeeded
Feb  2 10:55:58 nethservice dovecot: imap(dude): Debug: opening Trash succeeded
Feb  2 10:55:58 nethservice dovecot: imap(dude): Debug: from Folder1 to Trash, previous action from Folder1
Feb  2 10:55:58 nethservice dovecot: imap(dude): Debug: copying to Trash succeeded
Feb  2 10:55:58 nethservice dovecot: imap(dude): Debug: opening Trash succeeded
Feb  2 10:55:58 nethservice dovecot: imap(dude): Debug: from Folder1 to Trash, previous action from Folder1
[..]

...repeated 1.000.000 times while emptying Folder1 at the begin of the month

#8 Updated by Giacomo Sanchietti over 6 years ago

  • Target version changed from v6.5 to v6.6

#9 Updated by Giacomo Sanchietti over 6 years ago

Moved to branch v6.6

#10 Updated by Davide Principi over 6 years ago

See Dovecot documentation:
http://wiki2.dovecot.org/Logging

To avoid debug messages in /var/log/imap we could tweak rsyslogd configuration under /etc/rsyslog.d/imap.conf, or try to not send any debug message at all, by setting debug_log_path = /dev/null in Dovecot configuration. The latter is only an hypothesis, I don't know if it can work.

#11 Updated by Giacomo Sanchietti over 6 years ago

Let's go with the simplest approach: fork the original plugin and comment all debug calls.

#12 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Edoardo Spadoni
  • % Done changed from 20 to 30

#13 Updated by Davide Principi over 6 years ago

Giacomo Sanchietti wrote:

Let's go with the simplest approach: fork the original plugin and comment all debug calls.

I'm not a C programmer, but if possible, I'd rather try to define a macro that silence the i_debug calls, something like:

#ifdef QUIET_DEBUG
#define i_debug() { \
 /*noop*/
}\
#endif

#14 Updated by Edoardo Spadoni over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Test Case

Try to delete or move mail in your mail client and check if the verbosity of debug disappears.

#15 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Edoardo Spadoni)
  • % Done changed from 60 to 70

In nethserver-testing 6.5, 6.6:
nethserver-mail-server-1.8.4-1.1.gb763645.ns6.noarch.rpm
dovecot-deleted-to-trash-0.6-1.ns6.x86_64.rpm

#16 Updated by Davide Principi over 6 years ago

  • Assignee set to Davide Principi

#17 Updated by Davide Principi over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

#18 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee set to Giacomo Sanchietti

#19 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 90 to 100
Released in nethserver-base:
  • dovecot-deleted-to-trash-0.6-1.ns6.x86_64.rpm
  • nethserver-mail-server-1.8.5-1.ns6.noarch.rpm

Documentation updated.

Also available in: Atom PDF