GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » Apple Mail gets SMTP error if not on same network as Kerio server
Apple Mail gets SMTP error if not on same network as Kerio server [message #101160] Sat, 06 April 2013 21:52 Go to next message
terzinator is currently offline  terzinator
Messages: 5
Registered: April 2011
If we use Apple's Mail program, we can't seem to send mail unless we're in the office (on the same network as the Kerio server). If we're away, either at home or elsewhere, mail arrives just fine, but if we try to send messages, we get an SMTP error saying that the SMTP server is offline. If we connect to our office via VPN, then messages are sent, no problem.

This only happens with Apple Mail. It doesn't happen with MS outlook or with our IOS devices. Only Apple Mail.

We always use the Kerio "integrate with mac" link to configure the settings, so not sure what might be up. This seems to be true for multiple machines who use Apple Mail.) It didn't always happen; it seems like this is new, in the past few weeks or so.

I thought it could be a firewall setting, like needing to configure a port, but why would it only affect Apple Mail? (And why would it just start happening out of the blue?)

Any ideas?
Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101172 is a reply to message #101160] Sun, 07 April 2013 20:39 Go to previous messageGo to next message
terzinator is currently offline  terzinator
Messages: 5
Registered: April 2011
FYI... tried stopping and restarting the Kerio service, as well as restarted the server on which Kerio is installed.

No go.

(Just in case that might have been a suggestion!)
Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101198 is a reply to message #101172] Mon, 08 April 2013 19:46 Go to previous messageGo to next message
tonyswu is currently offline  tonyswu
Messages: 86
Registered: July 2010
Location: Bellevue, WA
Might want to take a look at how SMTP is configured on Apple Mail.
Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101326 is a reply to message #101198] Wed, 10 April 2013 21:36 Go to previous messageGo to next message
terzinator is currently offline  terzinator
Messages: 5
Registered: April 2011
tonyswu wrote on Mon, 08 April 2013 19:46
Might want to take a look at how SMTP is configured on Apple Mail.
Yep, checked that. Nothing seems amiss, and the oddity is that it worked before, and now it doesn't. On separate machines/accounts. (So it's not like it got changed on one account and not the other.)

SMTP uses default ports, SSL and MD5 challenge-response. I've tried changing to several of the custom ports people have suggested for other issues (2525, for one), but that immediately changes the SMTP mailserver dropdown to show "(Offline").

If I'm out of the office and am not VPN'd in, the SMTP mailserver drop down shows "(Offline)" as well. If I VPN in, that message goes away.

Just a hunch, it seems like a firewall port issue. (But again, not sure why it affects Apple Mail and not MS Outlook.)

[Updated on: Wed, 10 April 2013 21:37]

Report message to a moderator

Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101327 is a reply to message #101326] Wed, 10 April 2013 21:48 Go to previous messageGo to next message
terzinator is currently offline  terzinator
Messages: 5
Registered: April 2011
Well, I did an experiment. I thought I might open the Kerio web interface, click the "Integration with Mac" link, and see if I could create a separate account on Apple Mail and see what the default settings are...

Immediately the password dialog came up to enter username/pw info... connecting to our mailserver:443... 443 isn't one of the default ports listed in the SMTP settings.

So I changed the SMTP settings in Apple Mail to use the custom port of 443, and then got off our network (tethering to my phone's 4G connection) and it worked. The SMTP dropdown didn't show the offline message, and I tested and was able to send a mail.

I'll test this again at home, but hopefully this fixed it.

So... not sure why it changed on separate accounts, and separate instances of Apple mail on separate machines. I'll google around and see what I can see.

[Updated on: Wed, 10 April 2013 21:49]

Report message to a moderator

Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101328 is a reply to message #101327] Wed, 10 April 2013 22:38 Go to previous messageGo to next message
tonyswu is currently offline  tonyswu
Messages: 86
Registered: July 2010
Location: Bellevue, WA
I can think of three scenarios. Port forwarding is not done correctly, your Mac client is configured to use port 25 only and it's blocked by your ISP, or you use split DNS and the external DNS is not configured correctly. Check your firewall config and logs, and do a DNS lookup against your mail hostname inside and outside of your network.

Kerio listens on port 443 for it's HTTPS service. While you can force SMTP to use port 443 and it'll tell the server is up, which it is, sending email through that probably won't work.
Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101331 is a reply to message #101328] Thu, 11 April 2013 05:26 Go to previous messageGo to next message
terzinator is currently offline  terzinator
Messages: 5
Registered: April 2011
well, you were right... no go. Not sure why it worked when I was trying it before (using my phone to tether)...

My sonicwall shows port 25 is open for mail. It doesn't show the other ports as available, though. (Doesn't even list them.)

I did a DNS lookup outside of my network (at home, not VPN'd in) and a port scan:

Port 25 - smtp - Success - 62ms
Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101370 is a reply to message #101331] Thu, 11 April 2013 14:08 Go to previous messageGo to next message
Michael Ruffin is currently offline  Michael Ruffin
Messages: 169
Registered: November 2012
Location: Australia
Sorry, I'll tell you know I don't know anything about Mac's, but..

Apple Mail isn't trying to POP before SMTP is it? If so, you'll need to open port 110 as well?
Re: Apple Mail gets SMTP error if not on same network as Kerio server [message #101382 is a reply to message #101327] Thu, 11 April 2013 17:19 Go to previous message
j.a.duke is currently offline  j.a.duke
Messages: 239
Registered: October 2006
Just as an FYI, the default ports for SMTP are:

25 (which is usually used for server to server, but can be used for client to server)

465 (Secure SMTP-SSL or TLS encrypted)

587 (Submission only-client to server)

Many (most?) ISPs block port 25 traffic to systems on their networks unless you have a "business" account.

Some ISPs redirect port 25 traffic from systems on their networks to their own SMTP server (I believe Verizon still does this). Often a hotel network will do the same thing.

In Apple Mail, I always explicitly specify the port (Use Custom Ports in the Advanced tab of the SMTP server dialog), rather than having Apple Mail try to guess. Works a bit more smoothly this way.

Cheers,
Jon
Previous Topic: Had to enable LOGIN auth (with TLS), will I have security issues?
Next Topic: Introducing Kerio Connect 8.1.0 beta
Goto Forum:
  


Current Time: Sun Apr 02 11:10:37 CEST 2023

Total time taken to generate the page: 0.06305 seconds