View Issue Details

IDProjectCategoryView StatusLast Update
0003779SOGoBackend Mailpublic2016-12-20 16:01
Reporterzhb Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version3.1.4 
Summary0003779: Cannot delete email from public folder with SOGo webmail
Description
  • Ubuntu 16.04
  • Dovecot 2.2.22
  • SOGo nightly build, 3.1.4.20160726-1.

Server is an iRedMail server, accessing public folder works fine with both Roundcube webmail (1.2.0) and SOGo. Deleting email in public folder works fine in Roundcube webmail, but not SOGo (when you click the "Delete" button, the mail disappears, seems like deleted, but if you refresh the folder, it appears again, so not deleted at all).

With 'ImapDebugEnabled = YES;' in sogo.conf, i just get one log line while deleting mail, seems it didn't perform any IMAP command to actually delete the mail.

Jul 26 06:09:23 sogod [2525]: 172.16.100.1 "POST /SOGo/so/<login_user@mydomain>/Mail/0/folderPublic/folderTestUser/batchDelete HTTP/1.0" 204 0/12 0.308 - - 0

TagsNo tags attached.

Activities

francis

francis

2016-08-04 18:46

administrator   ~0010567

Sniff the IMAP traffic to identify which IMAP command fails. Thanks!

zhb

zhb

2016-08-04 23:43

reporter   ~0010569

As mentioned in my report:

"With 'ImapDebugEnabled = YES;' in sogo.conf, i just get ONE log line while deleting mail, seems it didn't perform any IMAP command to actually delete the mail."

There's no IMAP command sent by SOGO.

zhb

zhb

2016-08-04 23:52

reporter   ~0010570

UPDATE:

With Dovecot debug, it shows SOGo did execute IMAP command 'copy' to move email from public folder to Trash, but the mail was not actually moved. Dovecot log:

Aug 05 07:47:27 imap(postmaster@a.cn): Info: copy from Public/TestFolder: box=Trash, uid=12, msgid=, size=504

) No error in Dovecot log.
) No IMAP command logged by SOGo in SOGo log file.

francis

francis

2016-08-05 01:07

administrator   ~0010571

Use tcpflow to sniff the TCP packets on port 143.

You could perform the same operation on both Roundcube and SOGo and compare the results.

Also show the configuration of your shared namespace in Dovecot.

zhb

zhb

2016-08-05 03:23

reporter   ~0010572

Here's the full Dovecot config i used to test public folder, it works fine with Roundcube, but not SOGo:
http://pastebin.com/YSzyP8FV

And we have tutorial to show you how to manage public folder here:
http://www.iredmail.org/docs/public.folder.html

I will try the tcpflow later. But maybe you guys can try to reproduce it too?

ludovic

ludovic

2016-12-20 16:01

administrator   ~0011051

No tcpflow provided, lowering importance.

Issue History

Date Modified Username Field Change
2016-07-26 10:14 zhb New Issue
2016-08-04 18:46 francis Note Added: 0010567
2016-08-04 23:43 zhb Note Added: 0010569
2016-08-04 23:52 zhb Note Added: 0010570
2016-08-05 01:07 francis Note Added: 0010571
2016-08-05 03:23 zhb Note Added: 0010572
2016-12-20 16:01 ludovic Note Added: 0011051
2016-12-20 16:01 ludovic Severity major => minor