Results 1 to 4 of 4

Thread: [SOLVED] Zimbra 7.1.0 share whole mailbox

  1. #1
    bizza is offline Trained Alumni
    Join Date
    Jan 2010
    Posts
    20
    Rep Power
    5

    Arrow [SOLVED] Zimbra 7.1.0 share whole mailbox

    hi,
    i need to share a whole mailbox to different users.
    Using zmmailbox it works fine, but i get an error for a particular user's inbox folder.

    For example, i would share info@mydomain.com and all it's subfolders with target.user@mydomain.com


    zmmailbox -z -m info@mydomain.com mfg / account target.user@mydomain.com rwixda
    zmmailbox -z -m target.user@mydomain.com cm /info info@mydomain.com /

    it works, all folders are shared in target.user account under info folder, except info inbox.
    So i deleted that share, and i try to recreate it only sharing info inbox:


    zmmailbox -z -m target.user@mydomain.com cm /info info@mydomain.com /Inbox
    ERROR: service.PERM_DENIED (permission denied: you do not have sufficient permissions)

    and logs are:

    ==> /opt/zimbra/log/mailbox.log <==
    2011-04-17 17:06:47,240 INFO [btpool0-37://localhost:7071/service/admin/soap/AuthRequest] [ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] soap - AuthRequest

    ==> /opt/zimbra/log/audit.log <==
    2011-04-17 17:06:47,240 INFO [btpool0-37://localhost:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] security - cmd=AdminAuth; account=zimbra;
    2011-04-17 17:06:47,283 INFO [btpool0-37://localhost:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] security - cmd=Auth; account=zimbra; protocol=soap;

    ==> /opt/zimbra/log/mailbox.log <==
    2011-04-17 17:06:47,301 INFO [btpool0-37://localhost:7071/service/admin/soap/GetAccountInfoRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] soap - GetAccountInfoRequest
    2011-04-17 17:06:47,301 INFO [btpool0-37://localhost:7071/service/admin/soap/GetAccountInfoRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] misc - delegated access: doc=GetAccountInfo, authenticated account=zimbra, target account=target.user@mydomain.com
    2011-04-17 17:06:47,310 INFO [btpool0-37://localhost:7071/service/admin/soap/DelegateAuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] soap - DelegateAuthRequest
    2011-04-17 17:06:47,310 INFO [btpool0-37://localhost:7071/service/admin/soap/DelegateAuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] misc - delegated access: doc=DelegateAuth, authenticated account=zimbra, target account=target.user@mydomain.com

    ==> /opt/zimbra/log/audit.log <==
    2011-04-17 17:06:47,310 INFO [btpool0-37://localhost:7071/service/admin/soap/DelegateAuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/7.1.0_GA_3140;] security - cmd=DelegateAuth; accountId=b1a2828a-2091-43b2-a84f-0fba159ea9ab; accountName=target.user@mydomain.com;

    ==> /opt/zimbra/log/zmmailboxd.out <==
    Total time for which application threads were stopped: 0.0002210 seconds
    Total time for which application threads were stopped: 0.0000900 seconds

    ==> /opt/zimbra/log/mailbox.log <==
    2011-04-17 17:06:47,566 INFO [btpool0-37://zimbra.mydomain.lan:7071/service/admin/soap/GetInfoRequest] [name=target.user@mydomain.com;aname=zimbra;mid=6;i p=192.168.10.12;ua=zclient/7.1.0_GA_3140;] soap - GetInfoRequest

    ==> /opt/zimbra/log/zmmailboxd.out <==
    Total time for which application threads were stopped: 0.0002090 seconds

    ==> /opt/zimbra/log/mailbox.log <==
    2011-04-17 17:06:47,567 INFO [btpool0-37://zimbra.mydomain.lan:7071/service/admin/soap/GetInfoRequest] [name=target.user@mydomain.com;aname=zimbra;mid=6;i p=192.168.10.12;ua=zclient/7.1.0_GA_3140;] misc - delegated access: doc=GetInfo, delegating account=zimbra, authenticated account=target.user@mydomain.com, target account=target.user@mydomain.com
    2011-04-17 17:06:47,732 INFO [btpool0-37://zimbra.mydomain.lan:7071/service/admin/soap/CreateMountpointRequest] [name=target.user@mydomain.com;aname=zimbra;mid=6;i p=192.168.10.12;ua=zclient/7.1.0_GA_3140;] soap - CreateMountpointRequest
    2011-04-17 17:06:47,733 INFO [btpool0-37://zimbra.mydomain.lan:7071/service/admin/soap/CreateMountpointRequest] [name=target.user@mydomain.com;aname=zimbra;mid=6;i p=192.168.10.12;ua=zclient/7.1.0_GA_3140;] misc - delegated access: doc=CreateMountpoint, delegating account=zimbra, authenticated account=target.user@mydomain.com, target account=target.user@mydomain.com
    2011-04-17 17:06:47,733 INFO [btpool0-37://zimbra.mydomain.lan:7071/service/admin/soap/CreateMountpointRequest] [name=target.user@mydomain.com;aname=zimbra;mid=6;i p=192.168.10.12;ua=zclient/7.1.0_GA_3140;] misc - delegated access: doc=GetFolder, delegating account=zimbra, authenticated account=target.user@mydomain.com, target account=target.user@mydomain.com
    2011-04-17 17:06:47,734 INFO [btpool0-37://zimbra.mydomain.lan:7071/service/admin/soap/CreateMountpointRequest] [name=target.user@mydomain.com;aname=zimbra;mid=13; ip=192.168.10.12;ua=zclient/7.1.0_GA_3140;] SoapEngine - handler exception
    com.zimbra.common.service.ServiceException: permission denied: you do not have sufficient permissions
    ExceptionId:btpool0-37://zimbra.mydomain.lan:7071/service/admin/soap/CreateMountpointRequest:1303052807733:4966302ee08d a25f
    Code:service.PERM_DENIED
    at com.zimbra.common.service.ServiceException.PERM_DE NIED(ServiceException.java:278)
    at com.zimbra.cs.mailbox.Mailbox.checkAccess(Mailbox. java:1906)
    at com.zimbra.cs.mailbox.Mailbox.getFolderByPathLonge stMatch(Mailbox.java:3010)
    at com.zimbra.cs.service.mail.GetFolder.handle(GetFol der.java:64)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:412)
    at com.zimbra.soap.DocumentHandler.proxyRequest(Docum entHandler.java:465)
    at com.zimbra.soap.DocumentHandler.proxyRequest(Docum entHandler.java:436)
    at com.zimbra.cs.service.mail.CreateMountpoint.fetchR emoteFolder(CreateMountpoint.java:119)
    at com.zimbra.cs.service.mail.CreateMountpoint.handle (CreateMountpoint.java:78)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:412)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
    at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:294)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:215)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:725)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:814)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1166)
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
    at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
    at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:155)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388)
    at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218)
    at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422)
    at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
    at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
    at org.mortbay.jetty.handler.DebugHandler.handle(Debu gHandler.java:77)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:543)
    at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:946)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:405)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:410)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)

    ==> /opt/zimbra/log/zmmailboxd.out <==
    Total time for which application threads were stopped: 0.0004040 seconds
    Total time for which application threads were stopped: 0.0001130 seconds

    any idea?
    i should open a bug report?

    regards
    Marco
    Last edited by bizza; 04-17-2011 at 08:25 AM. Reason: add log output

  2. #2
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by bizza View Post
    hi,

    it works, all folders are shared in target.user account under info folder, except info inbox.
    So i deleted that share, and i try to recreate it only sharing info inbox:

    zmmailbox -z -m target.user@mydomain.com cm /info info@mydomain.com /Inbox
    ERROR: service.PERM_DENIED (permission denied: you do not have sufficient permissions)
    Hi,
    this error appears because you have to provide access to a shared before create mount point, by setting permissions.

    so if you want to share the inbox folder, you have to run the following:
    Code:
    zmmailbox -z -m info@mydoamin.com mfg /Inbox account target.user@mydomain.com rwixda
    zmmailbox -z -m target.user@mydomain.com cm --view message -F# /sharedInbox info@mydoamin.com /Inbox
    This should solve your issue

    Regards

  3. #3
    bizza is offline Trained Alumni
    Join Date
    Jan 2010
    Posts
    20
    Rep Power
    5

    Default

    it works know, thank you for your tip

    regards

  4. #4
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Glad you have solved.

    Regards

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. admin consol blank after 5.0.3 upgarde
    By maumar in forum Administrators
    Replies: 6
    Last Post: 03-21-2008, 05:16 AM
  2. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  3. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM
  4. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •