Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: zmmailbox error

  1. #1
    ashterix is offline Starter Member
    Join Date
    Dec 2009
    Posts
    6
    Rep Power
    5

    Unhappy zmmailbox error

    Hi guys,

    quite new with zimbra & also this forum.

    I got problem migrating emails using zmmailbox. see below the error. any idea why?
    fyi i have no problem login in as admin through web.

    [zimbra@zimbra ~]$ /opt/zimbra/bin/zmmailbox -z -m kidam addmessage /Draft /tmp/kidam/saved-messages/mail_saved-messages1.txt
    ERROR: service.FAILURE (system failure: Request not allowed on port 443)

    [zimbra@zimbra ~]$ /opt/zimbra/bin/zmmailbox -z -u https://localhost:7071 -m kidam addmessage /Draft /tmp/kidam/saved-messages/mail_saved-messages1.txt
    ERROR: service.FAILURE (system failure: Request not allowed on port 7071)


    $ zmcontrol -v

    Release 6.0.3_GA_1915.F11_64_20091118095802 F11_64 FOSS edition.

    thanks in advance

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Quote Originally Posted by ashterix View Post
    [zimbra@zimbra ~]$ /opt/zimbra/bin/zmmailbox -z -m kidam addmessage /Draft /tmp/kidam/saved-messages/mail_saved-messages1.txt
    ERROR: service.FAILURE (system failure: Request not allowed on port 443)
    That might be the error or the fact you haven't supplied the full user@domain.com

    Quote Originally Posted by ashterix View Post
    [zimbra@zimbra ~]$ /opt/zimbra/bin/zmmailbox -z -u https://localhost:7071 -m kidam addmessage /Draft /tmp/kidam/saved-messages/mail_saved-messages1.txt
    ERROR: service.FAILURE (system failure: Request not allowed on port 7071)
    That's the admin web ui port, you can't do that.

    If this is a new install and you're behind a NAT router, have you used a Split DNS (you need to)?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    ashterix is offline Starter Member
    Join Date
    Dec 2009
    Posts
    6
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    That might be the error or the fact you haven't supplied the full user@domain.com

    That's the admin web ui port, you can't do that.

    If this is a new install and you're behind a NAT router, have you used a Split DNS (you need to)?
    same error even i used full fqdn.

    $ /opt/zimbra/bin/zmmailbox -v -z -m kidam@domain.com addmessage /Draft /tmp/kidam/saved-messages/mail_saved-messages1.txt
    ERROR: service.FAILURE (system failure: Request not allowed on port 443)
    com.zimbra.common.soap.SoapFaultException: system failure: Request not allowed on port 443
    ExceptionId:btpool0-16:https://127.0.0.1:443/service/admin/...4a9c5e21358d80
    Code:service.FAILURE
    at com.zimbra.common.soap.Soap12Protocol.soapFault(So ap12Protocol.java:86)
    at com.zimbra.common.soap.SoapTransport.extractBodyEl ement(SoapTransport.java:302)
    at com.zimbra.common.soap.SoapTransport.parseSoapResp onse(SoapTransport.java:261)
    at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:304)
    at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:205)
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:354)
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:318)
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:319)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(SoapProvisioning.java:272)
    at com.zimbra.cs.zclient.ZMailboxUtil.adminAuth(ZMail boxUtil.java:605)
    at com.zimbra.cs.zclient.ZMailboxUtil.initMailbox(ZMa ilboxUtil.java:661)
    at com.zimbra.cs.zclient.ZMailboxUtil.main(ZMailboxUt il.java:2596)


    Yes, this is new install but not behind NAT.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    In what mode is the server running, have you used zmtlsctl to change it? If it's not in https then change it to that and try your command again.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    ashterix is offline Starter Member
    Join Date
    Dec 2009
    Posts
    6
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    In what mode is the server running, have you used zmtlsctl to change it? If it's not in https then change it to that and try your command again.
    i've tried all combination, zmtlsctl http, https, both & mixed but no luck.
    any idea what's wrong? all services running fine...

    [zimbra@zimbra ~]$ zmcontrol status
    Host zimbra.xxxxx.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    zmmailbox -z -m uxbod@domain.com am /Drafts /tmp/message.txt 
    177161 (/tmp/message.txt)
    Seems to work okay here. How did you format mail_saved-messages1.txt ?

  7. #7
    ashterix is offline Starter Member
    Join Date
    Dec 2009
    Posts
    6
    Rep Power
    5

    Default

    Quote Originally Posted by uxbod View Post
    Code:
    zmmailbox -z -m uxbod@domain.com am /Drafts /tmp/message.txt 
    177161 (/tmp/message.txt)
    Seems to work okay here. How did you format mail_saved-messages1.txt ?
    yup i think the mail format not right!
    $ /opt/zimbra/bin/zmprov -z -s localhost:7071
    prov> sm kidam
    mailbox: kidam@xxxxx.com, size: 0 B, messages: 0, unread: 0
    mbox kidam@xxxxx.com> am /Drafts /tmp/kidam/saved-messages/mail_saved-messages1.txt
    ERROR: zclient.CLIENT_ERROR (/tmp/kidam/saved-messages/mail_saved-messages1.txt does not contain a valid RFC 822 message)

    i converted the mail (openwebmail mailbox) using some script found here [SOLVED] Script for migration from Openwebmail to Zimbra 4.5.6
    do you hv example of the format? just want to test to make sure the command works fine. thanks

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    From: "--[ UxBoD ]--" <uxbod@domain.com>
    Reply-To: "--[ UxBoD ]--" <uxbod@domain.com>
    To: xyz <uxbod@domain.com>
    Subject: Test Importing a Message to Draft
    MIME-Version: 1.0
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 7bit
    
    This should appear in my Drafts folder!
    
    Thanks, UxBoD

  9. #9
    ashterix is offline Starter Member
    Join Date
    Dec 2009
    Posts
    6
    Rep Power
    5

    Default

    other error occured!

    $ /opt/zimbra/bin/zmprov -z -s localhost:7071
    prov> sm kidam
    mailbox: kidam@xxxxx.com, size: 0 B, messages: 0, unread: 0
    mbox kidam@xxxxx.com> am /Drafts /tmp/test.txt
    ERROR: zclient.UPLOAD_FAILED (Attachment post failed, status=401)

  10. #10
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    zmmailbox -z -m user@domain.com am /Drafts /tmp/message.txt

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 14
    Last Post: 09-26-2011, 11:50 PM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 04:58 AM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 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
  •