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

Mail.app is using port 585 and blocking my server connection. How to block it?

Hi. Since I upgraded to Yosemite, I noticed that 3 of my email accounts (all of them on the same host server) became unavailable when I come back home. I contacted them, and they told me the server automatically blocked my IP because it was trying to connect through port 585, which was an insecure one...


Even though I certified that all those accounts are set for ports 993 and 465 over SSL, after installing Little Snitched, I found out that Mail, indeed, was trying to connect to the server through port 585.


Well, I have no idea WHY it is trying to use this port, and have no idea HOW to block it (or make it not use that port). I don't wand to use Little Snitch forever to deny the connection.


So, anyone knows how to make Mail.app stop using port 585, so it won't block my server connection anymore?

MacBook Pro (Retina, Mid 2012), OS X Yosemite (10.10)

Posted on Nov 5, 2014 4:52 PM

Reply
17 replies

Nov 5, 2014 6:05 PM in response to Verardi

EDIT SMTP SETTINGS


In Accounts window > Outgoing Mail Server SMTP: select to Edit SMTP Server list... from popup.


Select account in the list.(It's not uncommon to find extra SMTP servers listed. When you remove account, Mail does not delete the smtp info. You might need to do some clean up in the list to remove the extras.)


Under Advanced Tab:

Apple defaults to the default ports (25,465, 587) but some servers prefer a custom port.

Enter correct port number

Verify if your server require SSL.

User Name. Enter full email address eg. UserName@gmail.com

Add password if it is blank.(If you have two step authentication setup, you'll need to get an app specific password more info)


Open Connection Doctor under Window in the Menu bar.

Do you see green light now for your account SMTP?

Nov 18, 2014 12:11 PM in response to Verardi

Unfortunately, I haven't found the solution to this, either, and I find myself having to contact my mail host's tech support frequently to remove my IP from their blacklist.


I reset all of my SMTP settings and ensured that none of them use port 585 (I should note that none did when I started troubleshooting).


I read somewhere that Apple Notes syncs with port 585, so I disabled it with my non-Apple email accounts. I figured this was the culprit, as Notes has traditionally been buggy for me--it would create duplicates for every change I made in a note. I made all of these changes across all of my Macs and iOS devices...Still, no luck.

Nov 20, 2014 2:16 AM in response to Verardi

Haven't verified this myself, but I thought I'd mention it in case it helps.


In the "Advanced" tab for the SMTP server settings there is an "Automatically detect and maintain account settings" checkbox. Try unchecking that - it may cause Mail to probe various alternative ports when it connects, to see if anything has changed.


There's a similar one for the POP3 / IMAP advanced settings tab as well, so uncheck that too.

Dec 2, 2014 5:35 PM in response to Verardi

"Automatically detect and maintain account settings"


The above is the correct setting which is located in 2 places (Mail -> Preferences -> Select Account -> Advanced) and also under the 'Advanced' tab in the SMTP settings, it's causing quite a lot of our clients to be blocked by our server when attempting to connect their Mac Mail service to our mail service. We don't operate port 585 (most hosting providers don't), so it's a little unusual for Yosemite to introduce this - is there a way to bring this to the attention of Yosemite developers?


We operate Linux based servers running cPanel and 1/2 of our time is spent on providing support for users with Mac Mail, we've literally grown to hate Mac Mail, it's such a buggy mail application overall.

Feb 24, 2015 4:54 AM in response to Verardi

Just been on to my provider about this and I couldn't find any SMTP on port 585 either. Try this:

Mail > Accounts > selct the account > Account Information > Outgoing Mail Server > Edit the SMTP list > Advanced

Go through all the accounts you have problems with and uncheck "Automatically detect and maintain account settings"

It's possible that the Automatically detect and maintain account settings option causes the application to make too many server requests. So I've just unchecked it on all my accounts to see what happens. It's happened to me twice in 3 days now, so I hope this fixes it. Will add a note here if it does.

Good luck.

Mar 4, 2015 8:23 AM in response to Chris Bamford

Seems like it didn't, and I installed Little Snitch to try and find the culprit but had no joy yet. Unfortunately it does mean that my provider blocked me from all my client accounts meaning that I can't work while the block is in force. Given that this issue is all over the place and costing us all proper money an Apple tech should at least drop in here with some ideas. 😟

Mail.app is using port 585 and blocking my server connection. How to block it?

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