Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-15-2004, 05:04 PM   #1
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Rep: Reputation: 15
how do i run email server on a different port?

okay my problem is this:

my ISP is blocking all traffic on port 25, in an attempt to stop spammers. i however just want my own email server for my domain. so i need to know how to set my mail server to another port. i've heard about MX records, but i don't know how to add them, oh yeah the reason this affects me is because i host my own server out of my house. in addition i'm a newbie so sendmail is a little over my head, i've heard qmail is easier .. any suggestions?
Old 06-15-2004, 05:31 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
You have to set up mail forwarding from off-site, i.e. from outside your ISP. There's no way to tell all hosts to send e-mail to you on a different port. The standard is port 25/TCP and there is no provision to change that.

What you can do is direct your e-mail to a different site that is outside your ISP, and have that site send e-mail to you on a port other than 25/TCP. At one time was offering such a service, but I don't know if it still exists and I don't know what the quality is like.

The easiest way to receive SMTP on a different port is to have your firewall listen on a different port and just redirect that to port 25 on your e-mail server. That way you don't have to mess with your e-mail server configuration, which can be very messy considering that a number of programs may try to send e-mail on port 25, and that may be hard-coded into the application.
Old 06-15-2004, 05:46 PM   #3
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
k, i'll try that out

thanks for the advice, i'll try that.. i currently use No-ip for my dynamic hosting and they have mail stuff, but its kinda expencive.. i'll see what i can do with mail forwarding.
thanks alot!!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What email program can work with email header on pop3 server TruongAn Linux - Software 0 01-13-2005 11:48 AM
Email Server and Email Administration zenix Linux - Software 1 12-13-2004 12:02 PM
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 04:43 AM
Allowing an IP to send email using my email server... culprit Linux - Networking 7 09-09-2003 12:24 PM
Problem receiving email from email server sharon Linux - Newbie 3 07-11-2003 03:57 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration