Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-19-2003, 07:50 AM
|
#1
|
LQ Newbie
Registered: Oct 2003
Location: Schoonhoven, Netherlands
Distribution: RedHat, LinuxFromScratch
Posts: 13
Rep:
|
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
|
|
|
12-19-2003, 12:04 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:
|
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.
|
|
|
12-19-2003, 12:39 PM
|
#3
|
LQ Newbie
Registered: Oct 2003
Location: Schoonhoven, Netherlands
Distribution: RedHat, LinuxFromScratch
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
12-19-2003, 12:46 PM
|
#4
|
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:
|
I didn't say it was necessarily *your* firewall...
|
|
|
12-19-2003, 06:21 PM
|
#5
|
LQ Newbie
Registered: Oct 2003
Location: Schoonhoven, Netherlands
Distribution: RedHat, LinuxFromScratch
Posts: 13
Original Poster
Rep:
|
I hadn't thought of that! (Silly me)
I'll go check my ISP's homepage or something...
|
|
|
12-22-2003, 02:46 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
12-22-2003, 03:08 PM
|
#7
|
Member
Registered: Dec 2003
Location: Louisville, KY
Distribution: Gentoo (desktop), Mandrake 10.0 (server)
Posts: 39
Rep:
|
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?
|
|
|
12-22-2003, 03:41 PM
|
#8
|
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:
|
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.
|
|
|
All times are GMT -5. The time now is 12:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|