Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iCal yields "Error during PUT for mailto:valid@email: iMIP request failed"

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)

Posted on Mar 22, 2012 2:09 AM

Reply
Question marked as Best reply

Posted on Mar 27, 2012 2:17 AM

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

8 replies
Question marked as Best reply

Mar 27, 2012 2:17 AM in response to Sondya

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

Apr 4, 2012 5:28 AM in response to josephcorbett

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.

iCal yields "Error during PUT for mailto:valid@email: iMIP request failed"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.