LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2012, 06:18 PM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 445

Rep: Reputation: 34
aol block port 25, how can my server recieve mail?


I'm running sendmail on a linux server which is connected to an aol broadband line. AOL block port 25 so how can I get round this to RECIEVE mail? Note: I've installed squirrelmail on the server which solves the problem of sending mail out FROM the server but what about people that send me mail? The whole world is sending me mail that comes in on port 25 (is that right?). Is there anything I can do?
 
Old 02-22-2012, 07:17 PM   #2
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Run it on another port and/or do some port forwarding with netfilter (ipchain rules).
 
Old 02-23-2012, 03:47 AM   #3
tonj
Member
 
Registered: Sep 2008
Posts: 445

Original Poster
Rep: Reputation: 34
thanks for your response but running it on another port will only solve the problem of relaying mail, I don't see how that will solve the problem of the server receiving mail, is that right? If I run telnet localhost 25 on the server it's fine, but if I try and telnet the server on port 25 from outside it never connects.
 
Old 02-23-2012, 09:25 AM   #4
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Quote:
Originally Posted by tonj View Post
thanks for your response but running it on another port will only solve the problem of relaying mail, I don't see how that will solve the problem of the server receiving mail, is that right? If I run telnet localhost 25 on the server it's fine, but if I try and telnet the server on port 25 from outside it never connects.
You should be able to put in an ipchain rule for the new port number to go to 25 on your server, like nat'ing.
 
Old 02-23-2012, 10:11 AM   #5
tonj
Member
 
Registered: Sep 2008
Posts: 445

Original Poster
Rep: Reputation: 34
but all mail coming in to the server won't be on the new port number, it'll be on port 25, which the whole world is using.
 
Old 02-23-2012, 12:36 PM   #6
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Quote:
Originally Posted by tonj View Post
but all mail coming in to the server won't be on the new port number, it'll be on port 25, which the whole world is using.
You can setup a nat translation utilizing a netfilter rule.

http://www.cyberciti.biz/faq/linux-p...with-iptables/
 
Old 02-23-2012, 01:30 PM   #7
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by rhbegin View Post
You can setup a nat translation utilizing a netfilter rule.

http://www.cyberciti.biz/faq/linux-p...with-iptables/
I'm sorry I don't have a solution, but excuse me "rhbegin" obviously you don't see it too.

He can't NAT the traffic because the incoming traffic is blocked at his ISP
not on his server (in this case he could do NAT)
 
Old 02-23-2012, 04:29 PM   #8
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Quote:
Originally Posted by lithos View Post
I'm sorry I don't have a solution, but excuse me "rhbegin" obviously you don't see it too.

He can't NAT the traffic because the incoming traffic is blocked at his ISP
not on his server (in this case he could do NAT)
It can run on another port, 587 and it can be done.

http://www.howtoforge.com/forums/arc...hp/t-4788.html

ISP's block port 25 due to the fact they turn into a sewer of bot-networks spewing spam.
 
  


Reply


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
Evolution mail with Exchange server only sends mail.(don't recieve/download) knockout_artist Linux - Newbie 5 05-03-2012 03:42 PM
How to block all outgoing port 25 except internal mail server. sattech2000 *BSD 9 04-25-2011 09:23 AM
Debian Mail server wont send or Recieve mail esigande Linux - Software 5 04-27-2010 04:09 PM
setting up a mail server: unable to recieve mail Valkyrie_of_valhalla Linux - Networking 3 09-15-2006 01:29 PM
What port does netscape use to connect to AOL mail? calimer Linux - Software 1 12-08-2003 06:11 AM


All times are GMT -5. The time now is 12:41 AM.

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