LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-30-2001, 01:09 AM   #1
PcHammer
Member
 
Registered: Jan 2001
Location: Ljubljana Slovenija
Distribution: Slackware
Posts: 70

Rep: Reputation: 15
Angry


I have this strange problem: I have a T1 line and when ever line has problems (connection drops) my pop3(ipop3d) and smpt(sendmail) server stops responding. My Outlook users ger error msg "connection timed out...."

anybody heard of this problem yet ?

Also from time to time my smtp server seems to frezze a little and when i run "ps -x" on my linux pc i see line "sendmail starup with : <ip address>"

Regards, PcHammer
 
Old 02-04-2001, 10:47 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Your mail servers may be hanging as they try to connect to your ISP but cannot since the line is down.
 
Old 02-05-2001, 12:44 AM   #3
PcHammer
Member
 
Registered: Jan 2001
Location: Ljubljana Slovenija
Distribution: Slackware
Posts: 70

Original Poster
Rep: Reputation: 15
Red face POP3 and SMTP

OK so u are saying that if my line goes down i can not make my sendmail accept mail ?

Regards, Pchammer
 
Old 02-06-2001, 05:39 PM   #4
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
I would wonder if it is a problem with DNS. Do you run a DNS server for your domain? If not, sendmail may be trying to do a look up or reverse lookup for the connecting client and can't, so it hangs because it can't reach the name server.

I've had similar problems with servers that do NAT. If the T1 were to go down, the internal clients couldn't even telnet to the server. This was fixed by making the server authorative for 1.168.192.in-addr.arpa as well as a fake domain to go with the internal network numbers.

 
Old 02-07-2001, 12:39 AM   #5
PcHammer
Member
 
Registered: Jan 2001
Location: Ljubljana Slovenija
Distribution: Slackware
Posts: 70

Original Poster
Rep: Reputation: 15
Lightbulb POP3 $ SMTP

No i'm not running DNS but i have my domain registerd with my ISP so i think that this could be the problem. If my line goes down lookup can't find my domain.
What would be the easyest was to fix this ?

Regards, PcHammer
 
Old 02-07-2001, 07:50 AM   #6
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
Set up bind to run. I'm not sure if you're having problems with internal PC with translated addresses, or real hosts with real IP addresses. If it's real addresses, set up bind to be a slave for your domain and your network. Set the master to your providers nameserver, call them to make sure you have authority to pull the records from their server, and you will have a functioning secondary server. If the T1 goes down, your server will still be able to lookup the ip addresses of the connecting host.

If it's internal PCs your having problems with, consider setting up bind to be authoritive for your internal network. In other words, make it authorative for your.domain.com and, say, 192.168.1.. You will have to create all the records from scratch, but it should solve your problems. If you make the server so it answeres for internal PCs, use the listen-on substatement in the options portion of the /etc/named.conf file:

options {
listen-on { 192.168.1.1 };
};

Replace 192.168.1.1 with the ip address of your internal NIC. This will prevent the rest of the world from doing DNS lookups on your external NIC and determining the position of your internal PCs.

Here is the link to the How-To: http://www.linux.org/docs/ldp/howto/DNS-HOWTO.html
It looks a whole lot more complicated than it really is. Another good source is a book published by O'Reilly called DNS and BIND.

If you have any questions, just ask!

-Mark
 
  


Reply



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
POP3 and SMTP mithras Linux - Newbie 2 01-22-2004 07:46 AM
Pop3\smtp evalduxx Linux - Software 4 12-05-2003 06:33 PM
Pop3/smtp Bensoft Kill MS Linux - Newbie 2 08-24-2003 09:44 PM
POP3/SMTP config sghosh Linux - Software 4 01-03-2003 07:07 AM
POP3/SMTP solutions? chris Linux - General 4 12-12-2002 05:34 AM

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

All times are GMT -5. The time now is 10:10 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