8 Replies Latest reply: Dec 6, 2012 7:39 AM by josephcorbett
Sondya Level 1 Level 1 (0 points)

Hello,

 

I'm trying to bring up an iCal server (using Mac OS X Lion 10.7.3 Server on a Mac Mini). The basic configuration runs fine. But when I tried to enable eMail invitations, I got stuck with those messages in the error log:

 

 

 

[twistedcaldav.scheduling.imip#error] Could not do server-to-imip request : <twistedcaldav.scheduling.imip.ScheduleViaIMip object at 0x10075e5d0> User timeout caused connection failure.

[twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error during PUT for mailto:valid@email: iMIP request failed

 

My configuration settings:

 

 

calendar:Scheduling:CalDAV:EmailDomain = ""

calendar:Scheduling:CalDAV:HTTPDomain = ""

calendar:Scheduling:CalDAV:AddressPatterns = _empty_array

calendar:Scheduling:iMIP:Sending:Server = "valid.mail.server"

calendar:Scheduling:iMIP:Sending:UseSSL = no

calendar:Scheduling:iMIP:Sending:Username = "valid@email"

calendar:Scheduling:iMIP:Sending:Address = "valid@email"

calendar:Scheduling:iMIP:Sending:Password = "safe_password"

calendar:Scheduling:iMIP:Sending:Port = 25

calendar:Scheduling:iMIP:Enabled = yes

calendar:Scheduling:iMIP:MailGatewayPort = 62310

calendar:Scheduling:iMIP:Receiving:Server = "valid.mail.server"

calendar:Scheduling:iMIP:Receiving:UseSSL = yes

calendar:Scheduling:iMIP:Receiving:Username = "valid_email"

calendar:Scheduling:iMIP:Receiving:PollingSeconds = 30

calendar:Scheduling:iMIP:Receiving:Type = "imap"

calendar:Scheduling:iMIP:Receiving:Password = "safe_password"

calendar:Scheduling:iMIP:Receiving:Port = 993

calendar:Scheduling:iMIP:AddressPatterns:_array_index:0 = "mailto:.*"

calendar:Scheduling:iMIP:MailGatewayServer = "valid.mail.server"

calendar:Scheduling:iSchedule:Enabled = no

calendar:Scheduling:iSchedule:Servers = "servertoserver.xml"

calendar:Scheduling:iSchedule:AddressPatterns = _empty_array

 

It does not even try to connect to the given smtp server. How do I proceed?


Mac mini, Mac OS X (10.7.3)
  • Sondya Level 1 Level 1 (0 points)

    I dug into the sources, and am now smarter

     

    the above settings are invalid, because of the gateway (this has to be iCal itself):

    calendar:Scheduling:iMIP:MailGatewayServer = "localhost"

    Now the IMAP server is being asked, but now I have the next problem:

    [mailgateway] 2012-03-27 11:14:37+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] Scheduling next IMAP4 poll

    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP servergreeting

    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0001 AUTHENTICATE PLAIN

    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: +

    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 1GNhbEwhZHNwZXJ0LmRlAFlpZXE5YW==

    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0001 NO [AUTHENTICATIONFAILED] Authentication failed.

    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP authenticate failed for valid@email, trying login

    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0002 LOGIN "valid@email" "valid_password"

    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0002 NO [AUTHENTICATIONFAILED] Authentication failed.

    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#error] IMAP login failed for valid@email

    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] IMAP factory connection lost

  • Sondya Level 1 Level 1 (0 points)

    I had to re-enter all the credentials, now it works

  • josephcorbett Level 1 Level 1 (0 points)

    Coud you be a little more detailed about how you fixed this issue?

  • Sondya Level 1 Level 1 (0 points)

    i entered this configuration (note the little change to the one above):

     

    calendar:Scheduling:CalDAV:EmailDomain = ""

    calendar:Scheduling:CalDAV:HTTPDomain = ""

    calendar:Scheduling:CalDAV:AddressPatterns = _empty_array

    calendar:Scheduling:iMIP:Sending:Server = "valid.mail.server"

    calendar:Scheduling:iMIP:Sending:UseSSL = no

    calendar:Scheduling:iMIP:Sending:Username = "valid@email"

    calendar:Scheduling:iMIP:Sending:Address = "valid@email"

    calendar:Scheduling:iMIP:Sending:Password = "safe_password"

    calendar:Scheduling:iMIP:Sending:Port = 25

    calendar:Scheduling:iMIP:Enabled = yes

    calendar:Scheduling:iMIP:MailGatewayPort = 62310

    calendar:Scheduling:iMIP:Receiving:Server = "valid.mail.server"

    calendar:Scheduling:iMIP:Receiving:UseSSL = yes

    calendar:Scheduling:iMIP:Receiving:Username = "valid_email"

    calendar:Scheduling:iMIP:Receiving:PollingSeconds = 30

    calendar:Scheduling:iMIP:Receiving:Type = "imap"

    calendar:Scheduling:iMIP:Receiving:Password = "safe_password"

    calendar:Scheduling:iMIP:Receiving:Port = 993

    calendar:Scheduling:iMIP:AddressPatterns:_array_index:0 = "mailto:.*"

    calendar:Scheduling:iMIP:MailGatewayServer = "localhost"

    calendar:Scheduling:iSchedule:Enabled = no

    calendar:Scheduling:iSchedule:Servers = "servertoserver.xml"

    calendar:Scheduling:iSchedule:AddressPatterns = _empty_array

     

    the second error I got, was in fact wrong.

  • Jims1973 Level 1 Level 1 (0 points)

    Where did you enter these configurations?

  • awedding Level 1 Level 1 (0 points)

    I have working on this for days, but I can now send a invitation to external emailadresses.

    The trick was, that I set the outgoing server authentication type on None.

     

    It is now working, but I don't get a response on the invitation. That's the next step!

  • awedding Level 1 Level 1 (0 points)

    It is working now!!!!!

     

    My test computer was not sending mail. That's the reason that I didn't get a response from my invitation.

    So the only thing I did was set the outgoing authentication type on "None".

     

    I hope this will work for yu guys.

  • josephcorbett Level 1 Level 1 (0 points)

    Just for the record to expect to always get responses to external invitations that you send/recieve. While CalDAV is an open standard not every company uses it or uses it in a way that will allow your calendar systems to talk perfectly with each other. It'd be nice if they would though. :-)