LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-19-2003, 08:50 AM   #1
rexmundi
LQ Newbie
 
Registered: Oct 2003
Location: Schoonhoven, Netherlands
Distribution: RedHat, LinuxFromScratch
Posts: 13

Rep: Reputation: 0
Postfix mail server not accepting incoming mail from the external interface


Hi all,
I have an ADSL connection which is on most of the time (except at night, when I turn everything off as I can't sleep with 4 computers buzzing right next to me). My ADSL connection is on a Linux machine named charon which connects my internal network (eth0, 10.0.0.2/24) to the Internet (ppp0) and acts as a mail server (postfix), among other things. But for some reason the darn thing won't accept any mail from the Internet. In fact, it won't even accept a SMTP connection. I've tried this from work (where I am now, so I can't post my config file just yet) using telnet, which should work right? But telnet just hangs. I did set something in my config file to only accept connections from my internal network, but as I understand it this was for specifying which hosts can relay mail, and shouldn't end up blocking incoming connections. I've looked all over, but I can't figure out what's wrong. Anybody out there know what I'm missing?

TIA, rogier
 
Old 12-19-2003, 01:04 PM   #2
chort
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
If
telnet <ip address|server name> 25
just hangs, then there is a firewall in between dropping packets. If the port just wasn't listening, you would get a connection refused.
 
Old 12-19-2003, 01:39 PM   #3
rexmundi
LQ Newbie
 
Registered: Oct 2003
Location: Schoonhoven, Netherlands
Distribution: RedHat, LinuxFromScratch
Posts: 13

Original Poster
Rep: Reputation: 0
No, its isn't the firewall, it's set like so:
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
(or something similar, typing from memory here)
And in my firewall script there's a line just below this one which is the same, except that it's for port 110 (POP3), and I can log in to the POP3 server from anywhere just fine.
 
Old 12-19-2003, 01:46 PM   #4
chort
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
I didn't say it was necessarily *your* firewall...
 
Old 12-19-2003, 07:21 PM   #5
rexmundi
LQ Newbie
 
Registered: Oct 2003
Location: Schoonhoven, Netherlands
Distribution: RedHat, LinuxFromScratch
Posts: 13

Original Poster
Rep: Reputation: 0
I hadn't thought of that! (Silly me)
I'll go check my ISP's homepage or something...
 
Old 12-22-2003, 03:46 PM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Many ISP's block port 25 traffic for consumer accounts. It is to stop traffic from infected computers attacking AOL. As i understand, AOL will block any ISP that doesn't do so. That means that outgoing mail has to go through the ISP.
 
Old 12-22-2003, 04:08 PM   #7
shaggystyle
Member
 
Registered: Dec 2003
Location: Louisville, KY
Distribution: Gentoo (desktop), Mandrake 10.0 (server)
Posts: 39

Rep: Reputation: 15
I'm having a similar problem with my SMTP server and I was curious about what jschiwal said. If the ISP block port 25 are there any ways to route your mail through another port?
 
Old 12-22-2003, 04:41 PM   #8
chort
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
shaggystyle: Only if you know of a remote server that is willing to setup an SSH tunnel with you and forward your mail. You could setup port forwarding for SSH on a remote host and have it forward some high port to it's own SMTP daemon, but then their SMTP daemon would be doing all the delivery for you. Unless you're trying to prevent your ISP from scanning your mail, there really wouldn't be a good reason to go to all that trouble. Also, it requires access to a box that is not restricted like your ISP is doing to you.
 
  


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
Forwarding incoming mail (postfix) herc Linux - Software 3 03-09-2007 05:43 PM
postfix incoming mail problem punker22 Linux - Networking 1 07-17-2004 01:45 AM
No Incoming postfix mail, virtual domains geokker Linux - Software 0 06-22-2004 07:09 AM
Postfix should do more than delete any incoming mail, right? icarus24 Linux - Networking 12 01-05-2004 10:11 PM
Postfix Problem - No incoming mail Gareman Linux - Networking 4 02-10-2003 12:40 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration