Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-14-2010, 07:50 AM
Intermediate Member
 
Posts: 16
Default [SOLVED] iphone imap ssl connection - outgoing server not responding

Please help! I'm going crazy here. I've got zimbra 6.0.6 (community edition), running and I'm trying to sync up a new iphone4 using imap.

The incoming mail is syncing fine but I can't seem to configure the outgoing mail server.

I'm using ssl and have tried using ports 465, 443, 993, 7993, 7143 on the iphone. I've checked that these ports are all open on the firewall and using nmap on the local network.

I've tried changing the authentication (from password to md5 challenge response or NTLM).

I've also tried using a local email clients (Evolution on a linux box and Thunderbird on a Windows machine). It looks like there's a problem with the IMAP settings on the server. Outgoing mail isn't working, the connection times out.

IMAP is enabled on the zimbra web admin interface (as is SSL for IMAP service). I have a working SSL certificate.

Could really use some help as it's the directors iphone I'm trying configure and I've been bragging about getting all the zimbra stuff onto the iphone.
Reply With Quote
  #2 (permalink)  
Old 09-14-2010, 08:02 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by aidanewen View Post
Could really use some help as it's the directors iphone I'm trying configure and I've been bragging about getting all the zimbra stuff onto the iphone.
Use port 587 as the (correct) Submission port, you'll need to authenticate to send mail via your server.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-14-2010, 08:26 AM
Intermediate Member
 
Posts: 16
Default

Thanks Bill,

I've tried using 587 as the Server Port on the iphone. It's still telling me that the server isn't responding. I've checked that 587 is forwarding from the router to the server and I've run nmap on the server to confirm that it's listening on 587.

I can't see any mention of port 587 in the IMAP settings on the zimbra admin web GUI. The "IMAP SSL port number" is set to 7993. The incoming server settings seem to be working fine using port 993 which is listed in the zimbra admin web GUI as being the IMAP SSL proxy port number. (I didn't know I was using any proxy's - could this be causing my problems)
Reply With Quote
  #4 (permalink)  
Old 09-14-2010, 08:33 AM
Intermediate Member
 
Posts: 16
Default

I've also tried using port 587 on the thunderbird mail client. Again it's not working. I think there must be a problem with my settings on the server.
Reply With Quote
  #5 (permalink)  
Old 09-14-2010, 08:40 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by aidanewen View Post
I've tried using 587 as the Server Port on the iphone. It's still telling me that the server isn't responding. I've checked that 587 is forwarding from the router to the server and I've run nmap on the server to confirm that it's listening on 587.

I can't see any mention of port 587 in the IMAP settings on the zimbra admin web GUI. The "IMAP SSL port number" is set to 7993.
You mentioned earlier that this is for 'Outbound mail not responding', Port 587 is the Submission port it's not your IMAP connection (that's the Incoming server) - the two settings are in different places (or should be but I don't have an iphone to confirm this).

Quote:
Originally Posted by aidanewen View Post
The incoming server settings seem to be working fine using port 993 which is listed in the zimbra admin web GUI as being the IMAP SSL proxy port number. (I didn't know I was using any proxy's - could this be causing my problems)
Do you have the proxy enabled on this server and is it a Single Server installation?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 09-14-2010, 08:55 AM
Intermediate Member
 
Posts: 16
Default

It's a single server installation. I don't know if I do have the proxy enabled. I'll try and find out.

It doesn't seem to be possible to alter the submission port on the iphone, unless this is the only port associated with the outgoing mail server, in which case this is the port I've set to 587 - I have 993 for incoming mail and 587 for outgoing mail.
Reply With Quote
  #7 (permalink)  
Old 09-15-2010, 01:31 AM
Intermediate Member
 
Posts: 16
Default

It looks like I do have the proxy enabled (I can certainly see references to zmprov in the process list):

Code:
user@mailserver:/home/user# ps -ef | grep 'zmprov'
zimbra   26855 27822  0 09:00 ?        00:00:00 sh -c /opt/zimbra/bin/zmprov -l gacf | grep -v InheritedAttr
zimbra   27053 26954  0 09:00 ?        00:00:00 sh -c /opt/zimbra/bin/zmprov -l gs mailserver.host.com 2>/dev/null
root     27139 26808  0 09:00 pts/0    00:00:00 grep zmprov
Reply With Quote
  #8 (permalink)  
Old 09-15-2010, 02:28 AM
Intermediate Member
 
Posts: 16
Default

Thanks Bill - I think you've cleared things up for me. I've been looking at the IMAP settings on the zimbra web gui. I should have been looking at the MTA settings. I managed to get outlook working (using port 25 and no encryption) on the local network and have just noticed that there's a trusted networks option on the MTA settings. I've got the loopback address and the private network entered in there, which explains why I can't send mail from the iphone on a public network.

I guess I need to set up some sort of security then include the internet in my trusted networks. Think I'm nearly there.....
Reply With Quote
  #9 (permalink)  
Old 09-15-2010, 02:52 AM
Intermediate Member
 
Posts: 16
Default

The iphone I've been setting up is now working. The only thing I changed was to untick TSL authentication only (the iphone seems to use ssl). I haven't changed the trusted networks - which is a relief - it's got to be a mistake describing the internet as a 'trusted network'. I've checked the iphone both on and off the office network. And as I say, It's all working now.

Thanks again for your help Bill - It was the MTA settings I needed to look at not IMAP.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.