Announcement

Collapse
No announcement yet.

problem when forwarding emails from shared folders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem when forwarding emails from shared folders

    Hi,

    recently we discovered a problem within the following scenario:

    - emails are received in shared folders, eg our office-folder trawol-office
    - a user with permissions for this folder forwards the email to another
    shared folder: e.g. our secretary forward the email to a shared folder
    of another department eg. trawol-vkf
    - a second user, who has permissions for the second shared folder (trawol-vkf)
    but not for the origin folder (trawol-office), tries to forward the mail again
    to another email-address

    In this case the following error occurs:

    Code:
    SEVERE: Logged at: com.openexchange.ajax.Mail.action(Mail.java:5209)
    IMAP-1002 Category=8 Message=Mail folder "trawol-office" could not be found on mail server 192.168.17.251 with login [username] (user=59, context=1). exceptionID=126865610-1256372
    com.openexchange.ajp13.remoteAddress=127.0.0.1
    com.openexchange.session.contextId=1
    com.openexchange.session.userId=59
    IMAP-1002 Category=8 Message=Mail folder "trawol-office" could not be found on mail server 192.168.17.251 with login [username] (user=59, context=1). exceptionID=126865610-1256372
            at com.openexchange.mail.mime.filler.MIMEMessageFiller$ImageDataImageProvider.<init>(MIMEMessageFiller.java:1882)
            at com.openexchange.mail.mime.filler.MIMEMessageFiller.processReferencedLocalImages(MIMEMessageFiller.java:1639)
            at com.openexchange.mail.mime.filler.MIMEMessageFiller.createMultipartRelated(MIMEMessageFiller.java:1198)
            at com.openexchange.mail.mime.filler.MIMEMessageFiller.createMultipartAlternative(MIMEMessageFiller.java:1140)
            at com.openexchange.mail.mime.filler.MIMEMessageFiller.fillMailBody(MIMEMessageFiller.java:780)
            at com.openexchange.smtp.filler.SMTPMessageFiller.fillMail(SMTPMessageFiller.java:153)
            at com.openexchange.smtp.SMTPTransport.sendMailMessage(SMTPTransport.java:654)
            at com.openexchange.mail.transport.MailTransport.sendMailMessage(MailTransport.java:155)
            at com.openexchange.mail.MailServletInterfaceImpl.sendMessage(MailServletInterfaceImpl.java:2329)
            at com.openexchange.ajax.Mail.action(Mail.java:5045)
            at com.openexchange.ajax.AJAXServlet.fireUploadEvent(AJAXServlet.java:842)
            at com.openexchange.ajax.Mail.doPost(Mail.java:4915)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:429)
            at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:257)
            at com.openexchange.ajax.PermissionServlet.service(PermissionServlet.java:82)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.openexchange.ajp13.coyote.AjpProcessor.process(AjpProcessor.java:832)
            at com.openexchange.ajp13.coyote.sockethandler.CoyoteTask.call(CoyoteTask.java:184)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
            at java.util.concurrent.FutureTask.run(FutureTask.java:123)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:781)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:807)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: IMAP-1002 Category=8 Message=Mail folder "trawol-office" could not be found on mail server 192.168.17.251 with login [username] (user=59, context=1). exceptionID=126865610-1256371
            at com.openexchange.mail.conversion.InlineImageDataSource.getImagePart(InlineImageDataSource.java:132)
            at com.openexchange.mail.conversion.InlineImageDataSource.getData(InlineImageDataSource.java:209)
            at com.openexchange.mail.mime.filler.MIMEMessageFiller$ImageDataImageProvider.<init>(MIMEMessageFiller.java:1877)
            ... 23 more
    Caused by: IMAP-1002 Category=8 Message=Mail folder "trawol-office" could not be found on mail server 192.168.17.251 with login [username] (user=59, context=1). exceptionID=126865610-1256370
            at com.openexchange.imap.IMAPException.create(IMAPException.java:975)
            at com.openexchange.imap.IMAPException.create(IMAPException.java:929)
            at com.openexchange.imap.IMAPFolderWorker.setAndOpenFolder(IMAPFolderWorker.java:354)
            at com.openexchange.imap.IMAPMessageStorage.getImageAttachmentLong(IMAPMessageStorage.java:502)
            at com.openexchange.mail.api.enhanced.MailMessageStorageLong.getImageAttachment(MailMessageStorageLong.java:205)
            at com.openexchange.mail.conversion.InlineImageDataSource.loadImagePart(InlineImageDataSource.java:141)
            at com.openexchange.mail.conversion.InlineImageDataSource.getImagePart(InlineImageDataSource.java:119)
            ... 25 more

    But since the email was forwarded to the next shared folder, i don't see why the second user need permission to the origin shared folder. The only thing i found, that might somehow cause this problem, is the following snippet in the source code of the
    email:

    Code:
    <!--
    <A HREF=3Ddocument.pdf><img src=3D"/ajax/image/mail/picture?folder=3Ddefaul=
    t0%2F[B]trawol-office[/B]&id=3D48345&uid=3Dpreview.png" id=3D"preview.png" width=
    =3D100%></a><BR><BR>
    -->
    In this part the origin shared folder trawol-office is referenced.


    I hope the description is understandable, and hopefully there is a way to resolve this problem for us.

    Thanks in advance and best regards,
    Alex
    Last edited by ablaschitz; 09-03-2012, 11:31 AM.

  • #2
    i have forgotten to mention that we had this problem with OX version 6.20.4 and
    with our current version 6.20.6 this problem still exists

    regards,
    Alex

    Comment

    Working...
    X