View Issue Details

IDProjectCategoryView StatusLast Update
0003282SOGoWeb Mailpublic2015-12-14 10:01
Reporterjensr Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Client] MicrosoftOSWindowsOS Version7
Summary0003282: Error "Message doesn't exist anymore" when clicking Message in "Other Users" section
Description

When you select the top level of a mailbox in "Other Users", you get the contents of the INBOX listed in the message list section. If you highlight one of the messages, you receive an error that the message does not exist anymore.

Steps To Reproduce
  • Grant yourself access to another mailbox (IMAP ACL)
  • Highlight the Mailbox name under "Other Users"
  • Klick the Message in the message section
TagsNo tags attached.

Activities

jensr

jensr

2015-07-15 13:45

reporter  

sogo_error_enoent.png (93,069 bytes)   
sogo_error_enoent.png (93,069 bytes)   
francis

francis

2015-07-15 14:01

administrator   ~0008733

What IMAP server are you using? Dovecot? If so, share your configuration.

jensr

jensr

2015-07-15 14:12

reporter  

doveconf.save (2,439 bytes)
jensr

jensr

2015-07-15 14:12

reporter   ~0008734

I uploaded the output of dovecot -n

francis

francis

2015-07-16 13:43

administrator   ~0008735

Could you sniff the IMAP traffic when selecting the mailbox and when selecting the message? You can use tcpflow:

tcpflow -c -i lo tcp port 143

jensr

jensr

2015-07-24 06:31

reporter  

selecting_top_folder.txt (6,606 bytes)   


127.000.000.001.00143-127.000.000.001.38897: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

127.000.000.001.38897-127.000.000.001.00143: 1 login "USER1" "*****"
127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38898: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

127.000.000.001.38898-127.000.000.001.00143: 1 login "USER1" "*****"
127.000.000.001.38898-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk] Logged in

127.000.000.001.38897-127.000.000.001.00143: 2 capability
127.000.000.001.00143-127.000.000.001.38898: 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk] Logged in

127.000.000.001.38898-127.000.000.001.00143: 2 capability
127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk
2 OK Capability completed.

127.000.000.001.38897-127.000.000.001.00143: 3 ID ("x-originating-ip" "10.10.125.11")
127.000.000.001.38898-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38898: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk
2 OK Capability completed.

127.000.000.001.38898-127.000.000.001.00143: 3 ID ("x-originating-ip" "10.10.125.11")
127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: * ID NIL
3 OK ID completed.

127.000.000.001.38897-127.000.000.001.00143: 4 namespace
127.000.000.001.38898-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38898: * ID NIL
3 OK ID completed.

127.000.000.001.38898-127.000.000.001.00143: 4 namespace
127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: * NAMESPACE (("" "/")) (("shared/" "/")) NIL
4 OK Namespace completed.

127.000.000.001.38897-127.000.000.001.00143: 5 LIST "" ""
127.000.000.001.38898-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38898: * NAMESPACE (("" "/")) (("shared/" "/")) NIL
4 OK Namespace completed.

127.000.000.001.38898-127.000.000.001.00143: 5 LIST "" ""
127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: * LIST (\Noselect) "/" ""
5 OK List completed.

127.000.000.001.38897-127.000.000.001.00143: 6 select "shared/user.2"
127.000.000.001.38898-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38898: * LIST (\Noselect) "/" ""
5 OK List completed.

127.000.000.001.38898-127.000.000.001.00143: 6 select "shared/user.2"
127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1434548159] UIDs valid
* OK [UIDNEXT 2] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
6 OK [READ-WRITE] Select completed.

127.000.000.001.38897-127.000.000.001.00143: 7 UID SORT (REVERSE DATE) UTF-8 NOT DELETED
127.000.000.001.38898-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38898: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1434548159] UIDs valid
* OK [UIDNEXT 2] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
6 OK [READ-WRITE] Select completed.

127.000.000.001.38898-127.000.000.001.00143: 7 UID SEARCH (UNSEEN) (NOT DELETED)
127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: * SORT 1
7 OK Sort completed (0.000 secs).

127.000.000.001.38897-127.000.000.001.00143: 8 uid fetch 1 (UID FLAGS ENVELOPE RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (X-PRIORITY)])
127.000.000.001.38898-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38898: * SEARCH
7 OK Search completed (0.000 secs).

127.000.000.001.38898-127.000.000.001.00143: 8 logout

127.000.000.001.00143-127.000.000.001.38898: * BYE Logging out
8 OK Logout completed.

127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38897: * 1 FETCH (UID 1 FLAGS (\Seen) RFC822.SIZE 4620 ENVELOPE ("Thu, 11 Jun 2015 15:08:55 +0000" "Test1234" (("Riecken Jens" NIL "RKE" "xxxlutz.at")) (("Riecken Jens" NIL "RKE" "xxxlutz.at")) (("Riecken Jens" NIL "RKE" "xxxlutz.at")) (("al.user.2@vtmail-dev.xxxlgroup.com" NIL "al.user.2" "vtmail-dev.xxxlgroup.com")) NIL NIL NIL "<195FDE37AE77AB419A45AE1F0392751D55098860@SRV00-EX2010-01.lutz.gmbh>") BODYSTRUCTURE (("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 4 2 NIL NIL NIL NIL)("text" "html" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 463 16 NIL NIL NIL NIL)("text" "calendar" ("charset" "utf-8" "method" "REQUEST") NIL NIL "base64" 2016 26 NIL NIL NIL NIL) "alternative" ("boundary" "_000_195FDE37AE77AB419A45AE1F0392751D55098860SRV00EX201001lu_") NIL ("de-DE") NIL) BODY[HEADER.FIELDS (X-PRIORITY)] {2}

)
8 OK Fetch completed.

127.000.000.001.38897-127.000.000.001.00143: 9 getquotaroot "INBOX"
127.000.000.001.00143-127.000.000.001.38897: * QUOTAROOT "INBOX" "User_quota"
* QUOTA "User_quota" (STORAGE 298 2097152)
9 OK Getquotaroot completed.

127.000.000.001.38897-127.000.000.001.00143:

127.000.000.001.38897-127.000.000.001.00143: 10 logout

127.000.000.001.00143-127.000.000.001.38897: * BYE Logging out
10 OK Logout completed.




selecting_top_folder.txt (6,606 bytes)   
jensr

jensr

2015-07-24 06:31

reporter  

selecting_message.txt (2,330 bytes)   


127.000.000.001.00143-127.000.000.001.38900: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

127.000.000.001.38900-127.000.000.001.00143: 1 login "USER1" "*****"
127.000.000.001.38900-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38900: 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk] Logged in

127.000.000.001.38900-127.000.000.001.00143: 2 capability
127.000.000.001.38900-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38900: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk
2 OK Capability completed.

127.000.000.001.38900-127.000.000.001.00143: 3 ID ("x-originating-ip" "10.10.125.11")
127.000.000.001.38900-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38900: * ID NIL
3 OK ID completed.

127.000.000.001.38900-127.000.000.001.00143: 4 namespace
127.000.000.001.38900-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38900: * NAMESPACE (("" "/")) (("shared/" "/")) NIL
4 OK Namespace completed.

127.000.000.001.38900-127.000.000.001.00143: 5 LIST "" ""
127.000.000.001.38900-127.000.000.001.00143:

127.000.000.001.00143-127.000.000.001.38900: * LIST (\Noselect) "/" ""
5 OK List completed.

127.000.000.001.38900-127.000.000.001.00143: 6 status "shared/user.2" (UIDVALIDITY)
127.000.000.001.00143-127.000.000.001.38900: * STATUS "shared/user.2" (UIDVALIDITY 1434548159)
6 OK Status completed.

127.000.000.001.38900-127.000.000.001.00143:

127.000.000.001.38900-127.000.000.001.00143: 7 select "shared/user.2"

127.000.000.001.00143-127.000.000.001.38900: 7 NO Mailbox doesn't exist: shared/user.2

127.000.000.001.38900-127.000.000.001.00143: 8 logout

127.000.000.001.00143-127.000.000.001.38900: * BYE Logging out
8 OK Logout completed.


selecting_message.txt (2,330 bytes)   
jensr

jensr

2015-07-24 06:35

reporter   ~0008768

You're quite challenging me - of course we use imaps even over lo ;-)

I uploaded traces of the two actions.

tfu

tfu

2015-07-29 07:43

reporter   ~0008786

How have you granted the access? With sogo's webui?

telnet ... 143

1 login <uid> <pwd>
1 list "" ""
1 select "folder name" < repeat this for all folders in shared-namespace
1 fetch 1:
all <

What to you see when you select other folders (INBOX/Drafts/Spam)?
Is the message list you see when selecting the "top level" the same as in INBOX?

jensr

jensr

2015-12-14 10:01

reporter   ~0009208

A script logs on to the mailbox and sets 'kxeilprwts' for every folder using imap-setacl

Contents of the ACL-Files:u
ser=user.number.40 kxeilprwts
user=number.40 kxeilprwts

The resulting dovecot-acl are all equal:
fa7564192d43159e25efe0f341ee4a81 ./Maildir/.Trash/dovecot-acl
fa7564192d43159e25efe0f341ee4a81 ./Maildir/.Drafts/dovecot-acl
fa7564192d43159e25efe0f341ee4a81 ./Maildir/dovecot-acl
fa7564192d43159e25efe0f341ee4a81 ./Maildir/.Spam/dovecot-acl

Yes, I see in Inbox the same contents as in the SOGo Top-Level-View

Issue History

Date Modified Username Field Change
2015-07-15 13:45 jensr New Issue
2015-07-15 13:45 jensr File Added: sogo_error_enoent.png
2015-07-15 14:01 francis Note Added: 0008733
2015-07-15 14:12 jensr File Added: doveconf.save
2015-07-15 14:12 jensr Note Added: 0008734
2015-07-16 13:43 francis Note Added: 0008735
2015-07-22 15:42 ludovic Severity major => minor
2015-07-24 06:31 jensr File Added: selecting_top_folder.txt
2015-07-24 06:31 jensr File Added: selecting_message.txt
2015-07-24 06:35 jensr Note Added: 0008768
2015-07-29 07:43 tfu Note Added: 0008786
2015-12-14 10:01 jensr Note Added: 0009208