How To Configure non-standard SMTP port

My ISP has blocked port 25. I have a service that will deliver mail to the port of my choosing. How do I configure Leopard Server to listen on a non-standard SMTP port? 2525 for example.

Also, I assume all I have to do on my Airport Express is set up NAT to rake external port 2525 and point it to the private address of my email server on port 2525. Is this correct?

Thanks,
-ernie

iMac, Mac OS X (10.5.4)

Posted on Jul 15, 2008 1:52 PM

Reply
4 replies

Jul 16, 2008 8:10 AM in response to ernie.varitimos

If you're doing port forwarding at your router why do you need to change Postfix at all?

Tell your router to listen to port 2525 on the outside and forward the traffic to port 25 on your server.

Postfix doesn't need to know what public port it's running on. Of course, if that public port isn't 25, no other domains will be able to send you mail, but there's no need to make any changes to postfix based on what you're saying.

Jul 16, 2008 8:49 AM in response to Camelot

Thanks. But when I did this, the email server took an inordinate amount of time to respond. So long, sometimes 15-30 seconds, that the email clients assumed there was no server there to respond and reported as such.

But if you telnet you can see that you would eventually get a response.

Could this be a domain name issue?

The name of my server is server, and in the mail admin I entered the local domain name as server.local

Does this sound right?

Jul 16, 2008 9:40 AM in response to ernie.varitimos

Assuming such is offered, look to acquire a business-class ISP service level, and move on to the next issue? The business-class services typically provide static IP address(es), opens up server ports, and sets up DNS and ISP-side server connections for your hosts. And you can call your ISP or other assistance when your network craters; non-standard connections are (as you've found) harder to support.

One subtlety here: in a number of cases, simply having a business-class service means you're supported by a different group within (larger) ISPs. This can be a significant advantage at times, given that the scripts and tools and such that are available for the business group will be rather more targeted than the scripts that are available for the residential services group at the ISP.

There are a number of folks that have sought and have tried this (try a few Google searches for SMTP and non-standard port), and it mostly works. But it is fragile, and tends to be derailed when something goes weird, or when the ISP spots and shapes or blocks the server traffic.

Also check your ISP's terms of service here, lest your network pipe be subject to summary disconnection.

The other option is to VPN or tunnel into to a co-lo or dedicated server or a virtual hosting service; to run your servers or virtual servers somewhere without firewalls blocking the standard ports.

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.

How To Configure non-standard SMTP port

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