Results 1 to 5 of 5

Thread: removing a calendar resource with a custom zimbraMailTransport

  1. #1
    Join Date
    Mar 2010
    Posts
    23
    Rep Power
    5

    Default removing a calendar resource with a custom zimbraMailTransport

    I'm following the steps mentioned here for integrating Mailman, but updating for use with 7.0 by using Calendar Resources instead of accounts:

    ZCS Mailman Integration - Zimbra :: Wiki

    My Create Command is like this:
    Code:
      $ZMPROV ccr $ADDRESS@$DOMAIN $(randompass) \
        displayName $ADDRESS \
        zimbraCalResType Equipment \
        zimbraMailTransport smtp:$MAILMAN_SERVER:25
    however when I try to delete the CR it fails with this error.

    ERROR: service.WRONG_HOST (operation sent to wrong host (you want 'null'))

    I found a post on the forum from 2007 that suggests the problem is with the zimbraMailTransport not pointing to a real zimbra server.

    http://www.zimbra.com/forums/adminis...rong-host.html

    I attempted modifying the CR to change the zimbraMailTransport back to my zimbra MTA but the error persists.

    Code:
      $ZMPROV mcr $ADDRESS@$DOMAIN \
        zimbraMailTransport lmtp:$ZIMBRA_SERVER:7025
    
      $ZMPROV dcr $ADDRESS@$DOMAIN
    Thoughts?

  2. #2
    Join Date
    Mar 2010
    Posts
    23
    Rep Power
    5

    Default

    Does silence mean file a support ticket?

  3. #3
    Join Date
    Dec 2007
    Location
    Ypsilanti, MI
    Posts
    145
    Rep Power
    7

    Default

    ZCS doesn't support mailman, so this is really not a supported scenario at this time. If you need to delete the resource, once you've set the zimbraMailTransport to a valid value, you're probably going to need to either wait for the account cache to expire (usually within about 15 minutes), or flush it manually and try to remove it:

    Code:
    zmprov fc account

  4. #4
    Join Date
    Mar 2010
    Posts
    23
    Rep Power
    5

    Default

    Thanks the flush cache helped but it wasn't my only problem. The attribute that needs to be fixed is not zimbraMailTransport. but rather zimbraMailHost and the value should just be the hostname of your zimbra server.

    This seems to do it:

    Code:
    zmprov mcr oldlist@domain zimbraMailHost <zimbra.host.com> zimbraAccountStatus closed
    zmprov fc account
    zmprov dcr oldlist@domain

  5. #5
    Join Date
    Dec 2007
    Location
    Ypsilanti, MI
    Posts
    145
    Rep Power
    7

    Default

    Glad to hear you've got your issue resolved, but again note that what you're doing here in not a supported customization so beware of that. Note that https://bugzilla.zimbra.com/show_bug.cgi?id=6288 might make this possible in ZCS8.

Similar Threads

  1. Replies: 1
    Last Post: 11-28-2012, 04:03 AM
  2. Replies: 8
    Last Post: 08-21-2012, 01:51 PM
  3. Zimbra Calendar Resource
    By swarley in forum Users
    Replies: 2
    Last Post: 03-28-2012, 08:25 AM
  4. What Is A Calendar Resource Good For?
    By jasonm in forum Administrators
    Replies: 5
    Last Post: 05-18-2011, 12:48 PM
  5. Removing a Shared Calendar From Web View
    By mdpolaris in forum Administrators
    Replies: 5
    Last Post: 07-16-2007, 02:05 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
  •