Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to route mail to another port? I have an email account attached to my laptop that I'd like to be able to send and receive mail from. Due to mobility, I'll be passing through various networks that will probably block this port.

My dynamic DNS provider allows me to utilize web-forwards for MX domains; is this possible? where I can web forward to a domain:port which is managed by my DNS provider when I traverse between networks. If not, is there a way?

Of course i could use web-mail or relay-forwarding from my home server, but that's not geeky enough.

share|improve this question

migrated from Jan 13 '11 at 0:02

This question came from our site for pro webmasters.

Why do you need MX record for your laptop? Usually you have a server that receives the mail via SMTP that you then fetch via what ever method suits you.. – Erik Johansson Jan 13 '11 at 2:08
up vote 2 down vote accepted

Unfortunately, what you are asking for is not possible. You can't ask other mail servers to contact you on a different port.

Generally, it is a bad idea to run a mail server on random networks. It's inherently unreliable, and likely to land your domain on a bad reputation list. If you want to run a mail server, get a server at a reliable provider and set up your MX there. You can configure your laptop to forward its mail through that server.

share|improve this answer
I can forward through my home server, and I somewhat expected this answer. I'm quite naive when it comes to networking, so why would manipulating of my MX domain not work? I'm willing to experiment, but not at the whims of angering my DNS service provider (despite that I pay them). – StudentKen Jan 13 '11 at 0:55
MX records only dictate what host to connect to, not what port to connect on. – blueben Jan 13 '11 at 1:12
Possibly some time in the future MX records will be deprecated and replaced with SRV records which would be able to point to arbitrary ports. However, right now, port 25 is the only option if you want to run a server capable of receiving inbound mails. – Niall Donegan Jan 13 '11 at 11:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.