Skip navigation

iCal Server won't send invites to e-mail addresses

2585 Views 5 Replies Latest reply: Apr 24, 2012 5:23 PM by MattMacPro RSS
PrinceZordar Level 1 Level 1 (65 points)
Currently Being Moderated
Dec 29, 2011 12:07 PM

Set up a new 10.7.2 Server, enabled OD, added 6 users. Set up iCal Server, everything works fine between OD users. Problem is when you try to share a calendar with an e-mail address for someone outside the company, iCal comes back with "The server returned an error" and "Mail gateway didn't find a token in message" shows up in the iCal Server log.

 

We created a new dedicated e-mail account on their mail server (hosted by their ISP, not by the server I just installed) and put all the info into the iCal settings in the Server app. As far as I can tell that part is working. I also tried creating a Gmail account, but I get the same errors.

 

Google hasn't been much help. Only reference to the token error was from someone else's calendar server application, and wanted me to edit caldavd.plist (I checked the settings there just in case, and it all is correct.)

 

The server is hostings DNS for itself, but all other DNS info is being provided by their Airport Extreme.

 

-Z

  • ChristopherJohn Calculating status...

    Congrats on getting everything else up and running.

    I have the same exact issue with Calendar invitations not working. Mail is hosted on the server itself and the Invitations email address is an account on the same server.

    Invitations sent between accounts (email addresses) on the server seem to work properly. It's just external email invites.

    This appears to be relevant from the caldavd error.log (domain names changed to protect the innocent)

     

    2011-12-31 12:57:46-0500 [-] [mailgateway] 2011-12-31 12:57:46-0500 [Uninitialized] SMTP Client retrying server. Retry: 5

    2011-12-31 12:57:46-0500 [-] [mailgateway] 2011-12-31 12:57:46-0500 [Uninitialized] SMTP Client retrying server. Retry: 4

    2011-12-31 12:57:46-0500 [-] [mailgateway] 2011-12-31 12:57:46-0500 [Uninitialized] SMTP Client retrying server. Retry: 3

    2011-12-31 12:57:46-0500 [-] [mailgateway] 2011-12-31 12:57:46-0500 [Uninitialized] SMTP Client retrying server. Retry: 2

    2011-12-31 12:57:46-0500 [-] [mailgateway] 2011-12-31 12:57:46-0500 [Uninitialized] SMTP Client retrying server. Retry: 1

    2011-12-31 12:57:46-0500 [-] [mailgateway] 2011-12-31 12:57:46-0500 [Uninitialized] [twistedcaldav.mail.MailHandler#error] Mail gateway failed to send message <20111231175746.32769.1632120348.2@server.domain.com> from user@domain.com to mailto:user@externaldomain.com (Reason: Connection was refused by other side: 61: Connection refused.)

    2011-12-31 12:57:46-0500 [-] [caldav-1]  [AuthorizedHTTPGetter,client] [twistedcaldav.scheduling.imip#error] Could not do server-to-imip request : <twistedcaldav.scheduling.imip.ScheduleViaIMip object at 0x10c471ed0> 400 Bad Request

    2011-12-31 12:57:46-0500 [-] [caldav-1]  [AuthorizedHTTPGetter,client] [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error during PUT for mailto:user@externaldomain.com: iMIP request failed

     

    I guess the key error, in my case, is "Mail gateway failed to send message." Doesn't really make any sense because the mail server can send regular emails to the same external domains without any trouble.

     

    -Chris

  • spekkie Level 1 Level 1 (20 points)

    Well i had it working similar setup except i did not enter any email adress at first only tagged the option to invite external emailadress. It did send under a strange email adress like com.apple.calendarserver+974fae7b-a...............@ although it worked. Once i changed it to a real emailadress all stopped working ever since. There seems to something broken here.

  • davidh Level 4 Level 4 (1,890 points)

    Could be a couple different things going on.

     

    Bear in mind that Greylisting is on by default as of 10.6 Server and that *will* interfere with legitimate, desired mail transactions. Also in terms of the email address used &/or replied from - see my write up for 10.6 on this at

    http://www.coresolutiongroup.com/wordpress/?paged=2

  • MattMacPro Calculating status...

    Hi

     

    I posted a few answers on another post that might help you -

     

    iCal Server External Invitees not working

    https://discussions.apple.com/message/18210503#18210503

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.