View Issue Details

IDProjectCategoryView StatusLast Update
0005293SOGoWeb Mailpublic2021-09-20 11:57
ReporterHTUGraz Assigned Tofrancis  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformClientOSWindowsOS Version10
Fixed in Version5.3.0 
Summary0005293: Moving/Copying Mails does not work because of Quota
Description

If the user has less space available than a shared mailbox uses, the user cannot copy content to the folders of the shared mailbox. An overquota message is received on the Sogo Client

Steps To Reproduce

Generate 2 Users, the sharer and the normal user.
The Sharer has to have quite some space occupied, lets pick 1.5GB as an example. He/She has a Quota of 2 GB.
The normal user has 1GB Quota and uses 500MB of that.
As the normal user wants to copy a message from his inbox to the shared mailbox, an overquota message is displayed.

The server does not show any error. The error does not occur in Thunderbird/Outlook.

Additional Information
Mar 25 12:00:41 sogod [110913]: |SOGo| starting method 'POST' on uri '/SOGo/so/edvtest@htugraz.at/Mail/0/folderINBOX/moveMessages'
FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE QUOTA ACL RIGHTS=texk
S[0x5564dd182f00]: 2 OK Capability completed (0.001 + 0.000 secs).
C[0x5564dc70a8d0]: 3 ID ("x-originating-ip" "129.27.203.22")
S[0x5564dd182f00]: * ID ("name" "Dovecot")
S[0x5564dd182f00]: 3 OK ID completed (0.001 + 0.000 secs).
C[0x5564dc70a8d0]: 4 namespace
S[0x5564dd182f00]: * NAMESPACE (("INBOX/" "/")) (("shared/" "/")) (("public/" "/"))
S[0x5564dd182f00]: 4 OK Namespace completed (0.001 + 0.000 secs).
C[0x5564dc70a8d0]: 5 LIST "" ""
S[0x5564dd182f00]: * LIST (\Noselect) "/" ""
S[0x5564dd182f00]: 5 OK List completed (0.001 + 0.000 secs).
C[0x5564dc70a8d0]: 6 select "INBOX"
S[0x5564dd182f00]: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)
S[0x5564dd182f00]: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk \*)] Flags permitted.
S[0x5564dd182f00]: * 237 EXISTS
S[0x5564dd182f00]: * 0 RECENT
S[0x5564dd182f00]: * OK [UNSEEN 2] First unseen.
S[0x5564dd182f00]: * OK [UIDVALIDITY 1596187844] UIDs valid
S[0x5564dd182f00]: * OK [UIDNEXT 239] Predicted next UID
S[0x5564dd182f00]: * OK [HIGHESTMODSEQ 255] Highest
S[0x5564dd182f00]: 6 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
C[0x5564dc70a8d0]: 7 status "shared/international-shared@htugraz.at/Sent" (UIDVALIDITY)
S[0x5564dd182f00]: * STATUS shared/international-shared@htugraz.at/Sent (UIDVALIDITY 1596306650)
S[0x5564dd182f00]: 7 OK Status completed (0.011 + 0.000 + 0.010 secs).
C[0x5564dc70a8d0]: 8 uid copy 238 "shared/international-shared@htugraz.at/Sent"
S[0x5564dd182f00]: 8 NO [OVERQUOTA] Quota exceeded (mailbox for user is full) (0.002 + 0.000 + 0.001 secs).
C[0x5564dc70a8d0]: 9 logout
S[0x5564dd182f00]: * BYE Logging out
S[0x5564dd204a00]: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
C[0x5564dc3499d0]: 1 login "edvtest@htugraz.at" "*****************"
S[0x5564dd204a00]: 1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE QUOTA ACL RIGHTS=texk] Logged in
C[0x5564dc3499d0]: 2 capability
S[0x5564dd204a00]: * CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE QUOTA ACL RIGHTS=texk
S[0x5564dd204a00]: 2 OK Capability completed (0.001 + 0.000 secs).
C[0x5564dc3499d0]: 3 ID ("x-originating-ip" "129.27.203.22")
S[0x5564dd204a00]: * ID ("name" "Dovecot")
S[0x5564dd204a00]: 3 OK ID completed (0.001 + 0.000 secs).
C[0x5564dc3499d0]: 4 namespace
S[0x5564dd204a00]: * NAMESPACE (("INBOX/" "/")) (("shared/" "/")) (("public/" "/"))
S[0x5564dd204a00]: 4 OK Namespace completed (0.001 + 0.000 secs).
C[0x5564dc3499d0]: 5 LIST "" ""
S[0x5564dd204a00]: * LIST (\Noselect) "/" ""
S[0x5564dd204a00]: 5 OK List completed (0.001 + 0.000 secs).
C[0x5564dc3499d0]: 6 select "INBOX"
S[0x5564dd204a00]: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)
S[0x5564dd204a00]: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk \*)] Flags permitted.
S[0x5564dd204a00]: * 237 EXISTS
S[0x5564dd204a00]: * 0 RECENT
S[0x5564dd204a00]: * OK [UNSEEN 2] First unseen.
S[0x5564dd204a00]: * OK [UIDVALIDITY 1596187844] UIDs valid
S[0x5564dd204a00]: * OK [UIDNEXT 239] Predicted next UID
S[0x5564dd204a00]: * OK [HIGHESTMODSEQ 255] Highest
S[0x5564dd204a00]: 6 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
C[0x5564dc3499d0]: 7 status "shared/international-shared@htugraz.at/Sent" (UIDVALIDITY)
S[0x5564dd204a00]: * STATUS shared/internatiMar 25 12:00:41 sogod [110913]: |SOGo| request took 0.085540 seconds to execute
Mar 25 12:00:41 sogod [110913]: 129.27.203.22 "POST /SOGo/so/edvtest@htugraz.at/Mail/0/folderINBOX/moveMessages HTTP/1.1" 500 87/94 0.087 - - 0 - 14
TagsNo tags attached.

Activities

francis

francis

2021-09-10 18:08

administrator   ~0015442

Can you sniff the traffic when performing the same operation in Thunderbird?

bahnkonzept

bahnkonzept

2021-09-13 08:02

reporter   ~0015445

Just for your information, we also have this problem in our installation of SoGo. Unfortunately, we do not have any other tool to support the troubleshooting.

francis

francis

2021-09-13 12:57

administrator   ~0015446

@bahnkonzept are you also using Dovecot?

Can you try a nightly build? SOGo will now perform a MOVE operation when the mailstore supports it instead of a COPY.

bahnkonzept

bahnkonzept

2021-09-14 13:49

reporter   ~0015450

We are using Dovecot (actually the mailcow package). So unfortunately we can not try a nightly build because we rely on the docker images from mailcow.

HTUGraz

HTUGraz

2021-09-20 07:40

reporter   ~0015480

I just tested the operation again, it works with the current nightly build of sogo. It still does not work with our installation of rainloop webmail, so i can verify that the Bug is fixed in the current nightly build.
I sincerely thank you!
Greetings,
Valentin

francis

francis

2021-09-20 11:57

administrator   ~0015481

https://github.com/inverse-inc/sogo/commit/d1fc15b3a428d16819732fa500bec312ab8b61a8

Issue History

Date Modified Username Field Change
2021-04-05 17:57 HTUGraz New Issue
2021-09-10 15:30 francis Additional Information Updated
2021-09-10 18:08 francis Note Added: 0015442
2021-09-13 08:02 bahnkonzept Note Added: 0015445
2021-09-13 12:57 francis Note Added: 0015446
2021-09-14 13:49 bahnkonzept Note Added: 0015450
2021-09-20 07:40 HTUGraz Note Added: 0015480
2021-09-20 11:57 francis Assigned To => francis
2021-09-20 11:57 francis Status new => resolved
2021-09-20 11:57 francis Resolution open => fixed
2021-09-20 11:57 francis Fixed in Version => 5.3.0
2021-09-20 11:57 francis Note Added: 0015481