LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-26-2006, 12:30 AM   #1
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Rep: Reputation: 30
Postfix Install


Testing my mail server I get this when attempting to my a user on the server.

Technical details of permanent failure:
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[toothlessrebel.org. (0): Connection timed out]

What documents are needed to help me debug this? I know the server will send mail to an external address, and between local users, but not receive mail?
 
Old 03-27-2006, 09:39 AM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
When are you getting this particular error?

Are you getting it when you are trying to connect to the SMTP server on that machine, and it fails, or is this internal to the SMTP server, that once it receives an email to send, it tries to connect to the rest of the world and that fails? In other words, where in the following diagram does this occur?

1. You connect to SMTP server
2. Once connected, you produce an email for the SMTP server to handle.
3. The SMTP server then looks at the email headers and figures out what to do with it (internal delivery or send it to another server?)
4a. If it is internal mail, does it deliver it?
4b. If it is external mail, does it have trouble connecting to a remote SMTP server?
 
Old 03-27-2006, 10:29 AM   #3
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Diagnosis

1. You connect to SMTP server
2. Once connected, you produce an email for the SMTP server to handle.
3. The SMTP server then looks at the email headers and figures out what to do with it (internal delivery or send it to another server?)
4a. If it is internal mail, does it deliver it?
4b. If it is external mail, does it have trouble connecting to a remote SMTP server?

1. and 2.
Not sure, I can use the mail program to write and send an email from the machine.

3.
This seems to work, the server will deliver e-mail messages to another machine, or to an address on the server.

4a.
Yes.

4b.
Yes.

My trouble is when sending mail to the machine. It doesn't accept e-mail from the rest of the world. I think it's either DNS configuration or postfix refusing to at as a destination. That error is returned from gmail's mail system when trying to email an address that should be on my server.
 
Old 03-27-2006, 10:38 AM   #4
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
Ah! Yes, that sounds like a DNS issue to me as well. Either that, or your ISP is refusing to allow connections to port 25 on their user machines. This is typical of a lot of cable internet providers.
 
Old 03-27-2006, 03:08 PM   #5
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Ok

OK, I can publish DNS fields to get those checked. On the other hand though, what is a good way to determine if it IS a DNS issue or if it is a port problem?
 
Old 03-27-2006, 05:03 PM   #6
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
Find an outside host, then try to telnet to your host via port 25. If you can connect, there is something else wrong. If you can't connect at all, then you know where the issue lies.

What provider are you using in Florida?
 
Old 03-27-2006, 08:13 PM   #7
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
I am using RoadRunner cable for this server. I know it's not best, but it's really just an experimental server for my personal uses. I.E. Learning about mail server setup!
 
Old 03-28-2006, 09:22 AM   #8
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
Looking at the Roadrunner website, and doing a bit of deep diving through their documentation, I think you are running into a problem where Roadrunner is blocking connections to port 25 on their residential connections. This was not explicitly stated, but the fact that you cannot have a static IP with a residential account is a pretty good indication of this.
 
Old 03-28-2006, 11:14 PM   #9
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Funny thing is, my IP as been very static as of late. A year running strong. Also, in figuring out this issue I realized you are perfectly correct with the port! Even if RoadRunner is blocking 25, it doesn't help that the router the server dwells behind is as well. Hence the reason for my post. The server is hosted at another location and opening that port on the route may take a day or two. I'll get back to this as soon as I make sure that's not the problem. It certainly is at least part of it.
 
Old 03-29-2006, 08:58 AM   #10
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
Yeah, cable companies do tend to maintain a relatively static set of IP's for people, even though they claim to be dynamic. It is easier for them to do it that way. What it does do for them is give them the ability to change your IP at a moment's notice without having to inform you or anything.

As for port 25, yeah, if you are behind a router you will need to route port 25 to the particular machine that you are going to have running mail services to. I do this at home myself, without any trouble. Actually, I have port 25 going to one machine, ssh going to another, http going to a third, etc.
 
Old 04-11-2006, 07:50 PM   #11
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Well, port 25 is now open. Mail is still not seeming to be delivered to the machine. Any way I can see how far a mail message gets to help determine where my problem lays?
 
Old 04-12-2006, 11:32 AM   #12
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
You could try using mailx or telnetting directly to port 25 and inputting the data yourself to see how things happen.
 
Old 04-12-2006, 08:54 PM   #13
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Well, the good news is it accepts and sends mail now like I would expect. Bad news is I didn't do anything to it. Suddenly, it works. However, now the web pages also hosted on that machine no longer do. The server is responding with blank pages. If I connect to the machine on port 80 from the LAN using it's local IP, I get the web pages as I should. I think the domain name is being answered by the mail system?

As root "postfix stop" gives a message indicating the postfix system is stopping. However, the website still does not function.

http://toothlessrebel.org

Last edited by ToothlessRebel; 04-12-2006 at 09:07 PM.
 
Old 04-13-2006, 09:48 AM   #14
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
Take a careful look at your router settings, as it seems to me that something has gone south there.
 
  


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
Postfix install kkiedrowski Slackware 14 12-28-2005 04:34 PM
Postfix Install SiE Linux - Software 1 09-24-2005 02:51 AM
postfix install packages varun_saa Mandriva 1 06-28-2005 09:33 PM
problems with postfix install fridgider Linux - Software 5 01-21-2005 10:34 AM
Postfix Install Via Script joelhop Linux - Software 3 11-18-2004 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:32 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
Open Source Consulting | Domain Registration