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

How do I change the outgoing SMTP port?

Incoming mail is working great on our server. Our ISP, Verizon, blocks port 25 outgoing supposedly to prevent viruses from sending spam. This throws a huge wrench in my otherwise clean plan to get a mail server going so I don't have to worry about space limitations. Macs can't get viruses, at least not yet >:(


I've heard that there are 3 standard ports: 25, 465, and 587 for SMTP. Verizon recommended that everyone switch their ports to 465 or 587 for Gmail, Yahoo, etc, so it seems like all the commercial email hosts work with ports 465 and 587. Of course, I can't send on just ANY port because it has to match an SMTP port the other mail server accepts. Will ports 465 or 587 work, and how do I switch my server over to those ports (I know how to port forward already)?

Posted on Jul 1, 2013 7:05 PM

Reply
6 replies

Jul 1, 2013 8:27 PM in response to d00dbro

You know, now that I think more about it, I think you'd need to have an SMTP relay service outside of your network. Since your server is sending mail to any other mail server, it will have to use 25, because that's where mail servers listen for incoming mail.


The other problem you're going to have is that a lot of servers will reject anything coming from a residential IP address, so a lot of your outgoing mail is going to get flagged as spam, or blocked outright, by the receiving server.


Your other alternative is to upgrade your internet connection to business class, then they won't block your ports. They don't block it to prevent spam getting to you, they block it to prevent spam going out from their IP's, which prevents their business customers from getting blacklisted by the spam blocking services.

Jul 2, 2013 2:32 PM in response to d00dbro

So there's no way to send with other ports? You HAVE to use port 25?


Sure there is - talk to every mail administrator of every domain you might ever want to send mail to and have them reconfigure their mail servers to listen on some arbitrary port number that you define. Wait for them to do it (it shouldn't take them too long), and then you're done.


Oh, no, hang on a minute... none of them are going to do that, are they?


But that's what you're asking for - you're asking for them to accept mail on some non-standard port number just so you can get around Verizon's mail blocking.


There is a reason why standard port numbers (defined by IANA) exists - just so that everyone's talking on the same page (or at least in the same chapter of the same book). You can't arbitrarily pick a port number and expect it to work unless both sides of the connection know to use it. You know port 25 works for SMTP because that's the standard. You can use any port number you like for your own mail because you can configure your own mail client to use a non-standard port, but you can't convince the rest of the world to follow suit (at least not without good reason).


In this case your options are to relay your mail through Verizon's servers, upgrade to their business plan (which supports hosting your own mail server and doesn't break the user agreement), or setup another mail server somewhere else that you can relay your mail through.

How do I change the outgoing SMTP port?

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