Configuring Snow Leopard Mail & iCal Push Notification Server

Hi Snow Leopard/Mail/iCal/Push Notification Experts (& Tim 😉 )

I recently had a problem with iChat proxy65 configuration and the highlighted an issue with my Push Notification setup (see this thread: http://discussions.apple.com/thread.jspa?threadID=2777129&tstart=0 )

In trying to fix this I am now unable to re-establish my Push Notifications servers...

Here is my network topology:

<Mail/iCal Server> <-> <NAT/Router> <-> <iChat/Push Notification> <-> <Internet>

Based on reading this developer note ( http://developer.apple.com/library/ios/#technotes/tn2010/tn2265.html), I configured by NAT/Router to forward TCP ports: 5223 & 2196 back to the <Mail/iCal Server> .

Having removed my Push Notification Server entries from my <Mail/iCal Server> which is behind the NAT, I have then tried to re-add these via "Server Admin".

On re-adding the mail Push Notification Server, I choice to server which is on the other side of the NAT/Router (<iChat/Push Notification> in topology diagram.

However rather then now having <Server>.<MyDomain>.com.au as the Push Notification Server it now has simply: <MyDomain>.com.au .

The result is that I now have incorrect Push Notification Server and I can no longer use Server Admin to remove it is <MyDomain>.com.au does to resolve to the Push Notification Server.

I read another post and it implied that the reason I had <MyDomain>.com.au was because I had my iChat server configured for only the <MyDomain>.com.au realm. So I added the host name into the <iChat/Push Notification> Server iChat configuration, so it now also has <Server>.<MyDomain>.com.au .

I then tried to add new iCal Push Notification Server, the result was exactly the same, with this now also just having <MyDomain>.com.au as the Push Notification Server.

So now I cannot remove either of the Push Server's from the <Mail/iCal Server>

I gather I can remove these by following this note: http://support.apple.com/kb/TS2987 which tells me me how to remove the invalid Push Notification Server entries from the <Mail/iCal Server> , but having removed these, how do I ensure that I can then get the correct host configured for my Push Notifications....

Does anyone have any insight into exactly what the Server Admin console is doing when you are configuring the Push Notification Server, as it might then be possible to ensure all the stars are aligned correctly before trying to reset it again...


Thank,

Zebity.

Mac Pro//MacBook Pro//Mac Mini, Mac OS X (10.6.4), iPhone//iPad

Posted on Mar 10, 2011 3:51 PM

Reply
3 replies

Mar 10, 2011 5:10 PM in response to zebity

Hi Snow Leopard/Mail/iCal/Push Notification Experts (& Tim ),

still trying to work this out.. , but the following tip from this thread ( http://discussions.apple.com/thread.jspa?messageID=11585895) was useful, as the Apple support note: http://support.apple.com/kb/TS2987 only helps with removal of iCal Push Notification entry not mail...

The tip is pretty simple and that is to add entry into the host file on the machine that you are having the Push Notification removal problem with, so it points to your new Push Notification server, then the remove button will work as it will resolve to running host.

Obviously you need to then quickly remove the bogus entry to ensure you do not end up with other errant behaviour...

I have still not got to a valid new Push Notification configuration yet... so suggestion welcome:

I did a check on my <Mail/iCal Server> names and they are ok...

pluto:~ admin$ sudo changeip -checkhostname
Password:

Primary address = 10.0.0.1

Current HostName = <MailHost>.<MyDomain>.com.au
DNS HostName = <MailHost>.<MyDomain>.com.au

The names match. There is nothing to change.
dirserv:success = "success"

Cheers,

Zebity

Mar 12, 2011 2:25 PM in response to zebity

Apple Pushers,

I have done some more dig'ging (and nslookup'ing) and it seems to be that the way that you are connected to the Admin Server makes a difference to what it sends to the Push Notification Server as its name and hence what appears as the Configured Service on the Push Notification Server.

As per topology diagram I went into "Server Admin" on the <Mail/iCal Server> behind the NAT and removed the configured Server which was identified as <MailHost>.local

I then added an entry into the /etc/hosts file on the same machine for <Mail-IP-Address> <MailName>.<MyDomain>.com.au

This is because the Mail/iChat Server is behind a NAT and its own DNS server is handling the domain: in.<MyDomain>.com.au (in == internal), so I had to add the host entry to get the name to resolve to its 10.0.0.x IP Address, rather than the address of the NAT/Router which then forwards packets to the Mail/iChat server.

I then re-added the Mail/iChat server back into its "Server Admin" list but now using the fully qualified name (<MailServer>.<MyDomain>.com.com) rather than just <MailServer>.local .

Now when I did the add of the Push Notification Server the correct host appears in the <Push Notification Server> Configured Service list (which is the fully qualified name rather than <name>.local .

So it would appear that "Server Admin" uses the name that is is connected with as the basis for what it sends to the Push Notification Server.

However on the Mail/iChat Server it still ends up with just <MyDomain>.com.au as the Push Notification Server rather than "<Push Notification Server>.<MyDomain>.com.au" .

I have decided to leave this and have now left the /etc/hosts file with entry for <MyDomain>.com.au that points to the IP Address of the Push Notification Server.

I have also removed the temporary <MailServer>.<MyDomain>.com.au entry in case this cause some other problems...

So the mystery now is still why is "Server Admin" still using the Domain Name only and not the full Push Notification Server name...

I am wondering if this is due to the Jabber SRV entries in the DNS server which are required to allow resolution of <id>@<MyDomain>.com.au Jabber/Chat users...

Has anyone done any tests/experiments in this area??

Cheers,

Zebity.

Message was edited by: zebity

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Configuring Snow Leopard Mail & iCal Push Notification Server

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