Results 1 to 3 of 3

Thread: Accpeting REST ICS Import appointments while supressing mail

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    Easton PA
    Posts
    63
    Rep Power
    7

    Default Accpeting REST ICS Import appointments while supressing mail

    I'm importing several ICS files for new users with curl as described at:

    http://wiki.zimbra.com/index.php?tit...ng_into_Zimbra

    I have a problem where each appointment shows up "ready to be accepted": it's a darker color and upon viewing the appointment it looks like the user could accept it, which would then send mail and change the color back to normal. Is there a way to import a calendar so that each appointment is already accepted? Something like the following except for a calendar, not email would be nice:

    zmmailbox -z -m $user markFolderRead /$folder

    Assuming that I can mark the calendar as read can I suppress all of the acceptance mail that would be sent as a result of accepting the appointments?

  2. #2
    Join Date
    Feb 2008
    Location
    Easton PA
    Posts
    63
    Rep Power
    7

    Default

    I don't have this solved but I've made progress.

    The appointments show up as invitations because the owner is from a different domain. So running the following before curling fixed it:

    sed -i s/lafayette.edu/zmail.lafayette.edu/g $file.ics

    However, I'm concerned the problem will come up again when I send the server into production.

    The production (non-Zimbra) server's domain is lafayette.edu. I'm migrating a copy of my user's data to the pre-production Zimbra server whose domain is zmail.lafayette.edu for now. When I change the Zimbra server's domain to lafayette.edu will these appointments become invitations again?

    I tried removing the domain from the ical file so I just had $username (not $username@$domain). Is there a variation of the replace option I can run that will ignore the domain or something I can use which means "this domain"; perhaps a variable like localhost?

  3. #3
    Join Date
    Feb 2008
    Location
    Easton PA
    Posts
    63
    Rep Power
    7

    Default

    I've made more progress and have a method to achive the desireable behavior but I'd like to know why it works.

    If I import an iCal file for user@foo into user@bar then I need to replace foo with bar in the Organizer field (RFC 2445, 4.8.4.3) in the iCal file first. If I don't do this then each appointment will appear as an invitation not owned by the user. An easy way to see if you have this issue is to see if Zimbra displays the appointment with a darker color.

    I can use the above method for all of my users but I was concerned that if I then changed bar back to foo to send the server into production that I'd have this same problem. I did a test (http://wiki.zimbra.com/index.php?title=ZmSetServerName) and it seems that a hostname change didn't change appointment status. Downloading the iCal file from the changed hostname still shows the old hostname. This is the desireable behavior but I would like to know why.

    Why would the organizer field's value of a different host cause a tentative appointment for an import but a standard appointment for a hostname change?

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 07:47 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 12:44 PM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •