View Issue Details

IDProjectCategoryView StatusLast Update
0002630SOGoBackend Mailpublic2014-03-04 21:33
Reportercwright Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.2.0 
Fixed in Version2.2.1 
Summary0002630: Dovecot subscriptions file not updated on folder renames
Description

Dovecot 1.2.15 (using Maildir)

Folder renames result in the former folder name remaining in the subscription list.

First noticed after the upgrade to SOGo 2.2.0.

Steps To Reproduce

Steps to reproduce

1) Right-click Inbox -> New Folder... -> name folder "Test".
result = OK

2) Right-click "Test" -> Rename Folder... -> rename folder "Test 1".
result:

  • "Test 1" created correctly

  • "Test" directory deleted from server, but remains in subscription list

  • user sees "Test" but cannot use or delete it

TagsNo tags attached.

Activities

tanstaafl

tanstaafl

2014-03-04 06:47

reporter   ~0006614

You do realize that dovecot 1.x has been unsupported for some time now, right?

cwright

cwright

2014-03-04 09:19

reporter   ~0006619

That version is in Debian 6 and still supported until probably May 2014.

francis

francis

2014-03-04 09:27

administrator   ~0006621

The code to update the subscriptions is there and should work.

Can you sniff the IMAP traffic and see if there's any error?

tanstaafl

tanstaafl

2014-03-04 10:06

reporter   ~0006622

But there is a big difference between supported by DEBIAN, and supported by upstream.

The reality is, Timo stopped supporting dovecot 1.x long ago.

So, I would strongly prefer that we, as members of the SOGo community, NOT force the SOGo developers to expend resources supporting old, unsupported versions of dovecot (or other software used in your SOGo environment).

Which also means that if you choose to continue to use older/unsupported versions of critical software, that is your choice, and you have to live with the consequences.

cwright

cwright

2014-03-04 14:07

reporter   ~0006625

Hi Francis. With tcpdump I saw:

...
Request: 7 rename "INBOX.Test" "INBOX.Test 1"
Response: 7 OK Rename completed.
Request:
imap > 39539 [ACK] Seq=1290 Ack=171 Win=14592 Len=0 TSval=317100352 TSecr=317100312
Request: 8 subscribe "INBOX.Test 1"
imap > 39539 [ACK] Seq=1290 Ack=199 Win=14592 Len=0 TSval=317100352 TSecr=317100352
Response: 8 OK Subscribe completed.
Request: 9 logout
Response: * BYE Logging out
Response: 9
39539 > imap [RST] Seq=210 Win=0 Len=0
...

I don't see any traffic related to removing "INBOX.Test" from subscriptions. I'm no expert with tcpdump but let me know if you would like anything else.

francis

francis

2014-03-04 21:33

administrator   ~0006627

Fixed.

See https://github.com/inverse-inc/sogo/commit/02c72fee6ad0bf8850de88ab65a01191ff351ecc

Issue History

Date Modified Username Field Change
2014-03-03 16:19 cwright New Issue
2014-03-04 06:47 tanstaafl Note Added: 0006614
2014-03-04 09:19 cwright Note Added: 0006619
2014-03-04 09:27 francis Note Added: 0006621
2014-03-04 10:06 tanstaafl Note Added: 0006622
2014-03-04 14:07 cwright Note Added: 0006625
2014-03-04 21:33 francis Note Added: 0006627
2014-03-04 21:33 francis Status new => resolved
2014-03-04 21:33 francis Fixed in Version => 2.2.1
2014-03-04 21:33 francis Resolution open => fixed
2014-03-04 21:33 francis Assigned To => francis