View Issue Details

IDProjectCategoryView StatusLast Update
0004143SOGoWeb Mailpublic2019-10-24 07:46
Reporterlewisaust Assigned Toludovic  
PriorityhighSeverityminorReproducibilityalways
Status assignedResolutionreopened 
Platform[Client] MicrosoftOSWindowsOS Version8
Product Version3.2.8 
Summary0004143: Unable to send after attaching file
Description

When attaching a file using Web GUI attachment turns red and send button greys out. Unable to send email but copy saved in draft folder. This can then be opened and sent.

Steps To Reproduce
  1. Select Write New Message
  2. Fill out To:
  3. Fill out Subject:
  4. At this point the send button is active.
  5. Press the attach button
  6. Select a file
  7. The file shows uploading progress but is RED.
  8. The send button grey out and cannot be selected.
  9. An error "Did not find specified message" flashes in the top right corner.
  10. The attachment shows as grey and cannot be viewed.
  11. Cancelling the message reveals a message in the drafts folder with the file correctly attached.
  12. If Save to draft is selected instead of Cancel the Recipient and Subject is also saved and the message can be viewed and sent.
Additional Information

Verbose logging does not appear to log any information during the compose email process.

TagsNo tags attached.

Activities

lewisaust

lewisaust

2017-04-11 01:29

reporter  

Clipboard-1-3.jpg (304,991 bytes)
lewisaust

lewisaust

2017-04-11 07:30

reporter   ~0011698

  1. We are running 3.2.8 latest nightly on Debian GNU/Linux 8
  2. Tried Firefox, IE and Chrome - issue persists
  3. Version of Windows is 10 but occurs the same for any version inc XP.
ludovic

ludovic

2017-04-11 12:41

administrator   ~0011700

I've just tried and I don't have the issue.

Can you reproduce it on demo.sogo.nu?

Do you also have any errors in your Chome Javascript console after your step no. 6?

lewisaust

lewisaust

2017-04-12 01:17

reporter   ~0011707

The error doesn't seem to occur on the demo.

After selecting the file, the browser submits a POST request to:
/Mail/0/folderDrafts/newDraft1491959151-1/save

This returns a response of:
{"uid":"0", "lastAttachmentAttrs":[]}

It then makes a GET request to:
/Mail/0/folderDrafts/0/view

This yields a 404 error with the response:
{"message": "Did not find specified message"}

Viewing the folder contents at:
/Mail/0/folderDrafts/view
before and after reveals that an additional uid was added, but rather than being 0, was the next sequencial number (in this case 70).

Navigating to:
/Mail/0/folderDrafts/70/view
shows the information relating to the file uploaded.

francis

francis

2017-04-25 13:28

administrator   ~0011759

What IMAP server do you use? Can you set "ImapDebugEnabled = YES" in sogo.conf and show us the relevent log entries when you save the first attachment of a new draft? Thanks!

francis

francis

2017-05-02 13:47

administrator   ~0011780

Any update?

ludovic

ludovic

2017-05-30 19:13

administrator   ~0011852

No updates provided, suspending.

lewisaust

lewisaust

2018-10-03 05:00

reporter   ~0013072

Sorry there has been no reply for a while.

The issue is still present in the current nightly 4.0.2. The mail server is hMailServer (https://www.hmailserver.com/).

lewisaust

lewisaust

2018-10-03 05:00

reporter  

imap_log.txt (7,457 bytes)   
Oct 03 14:53:25 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Mail/0/folderDrafts/newDraft1538542405-1/edit HTTP/1.1" 200 95/0 0.662 - - 0
2018-10-03 14:53:30.030 sogod[6950:6950] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Oct 03 14:53:30 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Contacts/allContactSearch?search=te HTTP/1.1" 200 1951/0 0.140 11338 82% 984K
2018-10-03 14:53:30.229 sogod[6950:6950] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Oct 03 14:53:30 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Contacts/allContactSearch?search=test HTTP/1.1" 200 450/0 0.046 - - 0
2018-10-03 14:53:30.506 sogod[6950:6950] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Oct 03 14:53:30 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Contacts/allContactSearch?search=test@ HTTP/1.1" 200 39/0 0.039 - - 0
2018-10-03 14:53:31.297 sogod[6950:6950] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Oct 03 14:53:31 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Contacts/allContactSearch?search=test@emai HTTP/1.1" 200 43/0 0.056 - - 0
2018-10-03 14:53:31.506 sogod[6950:6950] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Oct 03 14:53:31 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Contacts/allContactSearch?search=test@email HTTP/1.1" 200 44/0 0.047 - - 0
2018-10-03 14:53:31.877 sogod[6950:6950] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
Oct 03 14:53:31 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Contacts/allContactSearch?search=test@email.co HTTP/1.1" 200 47/0 0.041 - - 0
Oct 03 14:53:42 sogod [6950]: 192.168.0.25 "POST /SOGo/so/user1/Mail/0/folderDrafts/newDraft1538542405-1/save HTTP/1.1" 200 39/370 0.834 - - 4K
d6ebbb0]: * OK IMAPrev1
C[0x558aed5a52f0]: 1 login "user1@domain.com" "password"
S[0x558aed6ebbb0]: 1 OK LOGIN completed
C[0x558aed5a52f0]: 2 capability
S[0x558aed6ebbb0]: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT ACL NAMESPACE RIGHTS=texk
S[0x558aed6ebbb0]: 2 OK CAPABILITY completed
C[0x558aed5a52f0]: 3 namespace
S[0x558aed6ebbb0]: * NAMESPACE (("" ".")) NIL (("Public" "."))
S[0x558aed6ebbb0]: 3 OK namespace command complete
C[0x558aed5a52f0]: 4 LIST "" ""
S[0x558aed6ebbb0]: * LIST (\Noselect) "." ""
S[0x558aed6ebbb0]: 4 OK LIST completed
C[0x558aed5a52f0]: 5 logout
S[0x558aed6ebbb0]: * BYE Have a nice day
S[0x558aed065720]: * OK IMAPrev1
C[0x558aed5ca490]: 1 login "user1@domain.com" "password"
S[0x558aed065720]: 1 OK LOGIN completed
C[0x558aed5ca490]: 2 capability
S[0x558aed065720]: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT ACL NAMESPACE RIGHTS=texk
S[0x558aed065720]: 2 OK CAPABILITY completed
C[0x558aed5ca490]: 3 namespace
S[0x558aed065720]: * NAMESPACE (("" ".")) NIL (("Public" "."))
S[0x558aed065720]: 3 OK namespace command complete
C[0x558aed5ca490]: 4 LIST "" ""
S[0x558aed065720]: * LIST (\Noselect) "." ""
S[0x558aed065720]: 4 OK LIST completed
C[0x558aed5ca490]: 5 logout
S[0x558aed065720]: * BYE Have a nice day
S[0x558aed75f800]: * OK IMAPrev1
C[0x558aed691e40]: 1 login "user1@domain.com" "password"
S[0x558aed75f800]: 1 OK LOGIN completed
C[0x558aed691e40]: 2 capability
S[0x558aed75f800]: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT ACL NAMESPACE RIGHTS=texk
S[0x558aed75f800]: 2 OK CAPABILITY completed
C[0x558aed691e40]: 3 namespace
S[0x558aed75f800]: * NAMESPACE (("" ".")) NIL (("Public" "."))
S[0x558aed75f800]: 3 OK namespace command complete
C[0x558aed691e40]: 4 LIST "" ""
S[0x558aed75f800]: * LIST (\Noselect) "." ""
S[0x558aed75f800]: 4 OK LIST completed
C[0x558aed691e40]: 5 status "Drafts" (UIDVALIDITY)
S[0x558aed75f800]: * STATUS "Drafts" (UIDVALIDITY 1373456622)
S[0x558aed75f800]: 5 OK Status completed
C[0x558aed691e40]: 6 append "Drafts" (\draft) {598}
S[0x558aed75f800]: + Ready for literal data
C[0x558aed691e40]: Date: Wed, 03 Oct 2018 14:53:42 +1000
Content-Type: multipart/mixed; boundary="----=_=-_OpenGroupware_org_NGMime-6950-1538542422.290424-0------"
MIME-Version: 1.0
User-Agent: SOGoMail 4.0.2
X-Forward: 192.168.0.25

------=_=-_OpenGroupware_org_NGMime-6950-1538542422.290424-0------
Content-Type: text/plain; charset=utf-8



------=_=-_OpenGroupware_org_NGMime-6950-1538542422.290424-0------
Content-Type: text/plain
Content-Disposition: attachment; filename="Test Attachment.txt"
Content-Length: 6

123789

------=_=-_OpenGroupware_org_NGMime-6950-1538542422.290424-0--------


S[0x558aed75f800]: 6 OK APPEND completed
C[0x558aed691e40]: 7 select "Drafts"
S[0x558aed75f800]: * 6 EXISTS
S[0x558aed75f800]: * 1 RECENT
S[0x558aed75f800]: * FLAGS (\Deleted \Seen \Draft \Answered \Flagged)
S[0x558aed75f800]: * OK [UIDVALIDITY 1373456622] current uidvalidity
S[0x558aed75f800]: * OK [UNSEEN 747] unseen messages
S[0x558aed75f800]: * OK [UIDNEXT 749] next uid
S[0x558aed75f800]: * OK [PERMANENTFLAGS (\Deleted \Seen \Draft \Answered \Flagged)] limited
S[0x558aed75f800]: 7 OK [READ-WRITE] SELECT completed
C[0x558aed691e40]: 8 uid fetch 0 (FLAGS ENVELOPE BODYSTRUCTURE RFC822.SIZE RFC822.HEADER)
S[0x558aed75f800]: 8 OK UID completed
C[0x558aed691e40]: 9 logout
S[0x558aed75f800]: * BYE Have a nice day
S[0x558aed8c6440]: * OK IMAPrev1
C[0x558aed6ccc90]: 1 login "user1@domain.com" "password"
S[0x558aed8c6440]: 1 OK LOGIN completed
C[0x558aed6ccc90]: 2 capability
S[0x558aed8c6440]: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT ACL NAMESPACE RIGHTS=texk
S[0x558aed8c6440]: 2 OK CAPABILITY completed
C[0x558aed6ccc90]: 3 namespace
S[0x558aed8c6440]: * NAMESPACE (("" ".")) NIL (("Public" "."))
S[0x558aed8c6440]: 3 OK namespace command complete
C[0x558aed6ccc90]: 4 LIST "" ""
S[0x558aed8c6440]: * LIST (\Noselect) "." ""
S[0x558aed8c6440]: 4 OK LIST completed
C[0x558aed6ccc90]: 5 status "Drafts" (UIDVALIDITY)
S[0x558aed8c6440Oct 03 14:53:43 sogod [6950]: 192.168.0.25 "GET /SOGo/so/user1/Mail/0/folderDrafts/0/view HTTP/1.1" 404 45/0 0.729 - - 0
Oct 03 14:54:02 sogod [6948]: <0x0x558aed164640[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 03 14:54:02 sogod [6948]: <0x0x558aed1610f0[WOWatchDogChild]> sending terminate signal to pid 6951
Oct 03 14:54:02 sogod [6948]: <0x0x558aed160830[WOWatchDogChild]> sending terminate signal to pid 6950
Oct 03 14:54:02 sogod [6948]: <0x0x558aed160680[WOWatchDogChild]> sending terminate signal to pid 6949
Oct 03 14:54:02 sogod [6948]: <0x0x558aed164640[WOWatchDog]> Terminating with SIGINT or SIGTERM
]: * STATUS "Drafts" (UIDVALIDITY 1373456622)
S[0x558aed8c6440]: 5 OK Status completed
C[0x558aed6ccc90]: 6 select "Drafts"
S[0x558aed8c6440]: * 6 EXISTS
S[0x558aed8c6440]: * 0 RECENT
S[0x558aed8c6440]: * FLAGS (\Deleted \Seen \Draft \Answered \Flagged)
S[0x558aed8c6440]: * OK [UIDVALIDITY 1373456622] current uidvalidity
S[0x558aed8c6440]: * OK [UNSEEN 747] unseen messages
S[0x558aed8c6440]: * OK [UIDNEXT 749] next uid
S[0x558aed8c6440]: * OK [PERMANENTFLAGS (\Deleted \Seen \Draft \Answered \Flagged)] limited
S[0x558aed8c6440]: 6 OK [READ-WRITE] SELECT completed
C[0x558aed6ccc90]: 7 uid fetch 0 (FLAGS ENVELOPE BODYSTRUCTURE RFC822.SIZE RFC822.HEADER)
S[0x558aed8c6440]: 7 OK UID completed
C[0x558aed6ccc90]: 8 logout
S[0x558aed8c6440]: * BYE Have a nice day
imap_log.txt (7,457 bytes)   
francis

francis

2018-10-05 15:59

administrator   ~0013082

As asked: set "ImapDebugEnabled = YES" in sogo.conf and show us the relevent log entries when you save the first attachment of a new draft.

lewisaust

lewisaust

2018-10-07 21:34

reporter   ~0013085

imap_log.txt already attached is the extract from the log file after enabling "ImapDebugEnabled = YES". If you need any other debugs enable I can do that also.

lewisaust

lewisaust

2019-10-24 07:46

reporter   ~0013842

This issue is still happening for us in 4.0.8

Is it worth uploading a video of the behavior for you to look at?

Are there any other logs or troubleshooting you would like us to try?

Issue History

Date Modified Username Field Change
2017-04-11 01:29 lewisaust New Issue
2017-04-11 01:29 lewisaust File Added: Clipboard-1-3.jpg
2017-04-11 07:30 lewisaust Note Added: 0011698
2017-04-11 12:40 ludovic Severity major => minor
2017-04-11 12:41 ludovic Note Added: 0011700
2017-04-12 01:17 lewisaust Note Added: 0011707
2017-04-25 13:28 francis Note Added: 0011759
2017-05-02 13:47 francis Note Added: 0011780
2017-05-30 19:13 ludovic Note Added: 0011852
2017-05-30 19:13 ludovic Status new => closed
2017-05-30 19:13 ludovic Assigned To => ludovic
2017-05-30 19:13 ludovic Resolution open => suspended
2018-10-03 05:00 lewisaust Note Added: 0013072
2018-10-03 05:00 lewisaust Status closed => feedback
2018-10-03 05:00 lewisaust Resolution suspended => reopened
2018-10-03 05:00 lewisaust File Added: imap_log.txt
2018-10-05 15:59 francis Note Added: 0013082
2018-10-07 21:34 lewisaust Note Added: 0013085
2018-10-07 21:34 lewisaust Status feedback => assigned
2019-10-24 07:46 lewisaust Note Added: 0013842