Uploaded image for project: 'WebTop'
  1. WebTop
  2. WT-900

In the event of problem saving on shared accounts, the mail is sent but is not saved anywhere

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Highest
    • Resolution: Done
    • Mail
    • None
    • 5.9.0
    • release
    • 5.9.1
    • wt-5.10.1
    • 0383

    Description

       

      If the user sending through a shared account has problems writing on its folders (such as a low quota limit, or read only access), the sent mail cannot be saved and the user is not notified of this event.

      Steps to reproduce:

      • user1 using a shared impersonal account (info)
      • mailbox user1 has a quota limit set at 10 Gb
      • the info mailbox has a limit of 50 Gb
      • the occupation of info has become 10.5 Gb
      • user1 writes an email with the identity of info
      • the sent email is not saved in the Sent info folder due to exceeding the quota and is lost

      Expected behaviour:

      • an overquota error window is returned to the user

      Actual behaviour:

      • the user does not receive any errors and does not notice anything.

      The error is only reported in the log:

      ==> /var/log/webtop/webtop.log <==
      2021-01-19 16:45:59 [ERROR] com.sonicle.webtop.mail.Service - Exception
      javax.mail.MessagingException: A99 NO [OVERQUOTA] Quota exceeded (mailbox for user is full) (0.001 + 0.000 secs).
              at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:3742)
              at com.sun.mail.imap.IMAPFolder.appendMessages(IMAPFolder.java:1826)
              at com.sonicle.webtop.mail.Service.saveSent(Service.java:1316)
              at com.sonicle.webtop.mail.Service.sendMsg(Service.java:957)
              at com.sonicle.webtop.mail.Service.sendMessage(Service.java:988)
              at com.sonicle.webtop.mail.Service.processSendMessage(Service.java:4657)
              at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.sonicle.webtop.core.app.servlet.BaseRequest.invokeMethod(BaseRequest.java:109)
              at com.sonicle.webtop.core.app.servlet.PrivateRequest.processRequest(PrivateRequest.java:86)
              at com.sonicle.webtop.core.app.servlet.PrivateRequest.doPost(PrivateRequest.java:108)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      

      (Internal Ref: #126378)

      Attachments

        Activity

          People

            gabriele.bulfon Gabriele Bulfon
            luca.gasparini Luca Gasparini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package