Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
02-09-2004, 01:33 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Location: Orlando
Distribution: Red Hat 7.3
Posts: 10
Rep:
|
Sendmail, DNS, portsentry problem
We're running RH 7.3, updated sendmail (through the RHN) and the last known version of Portsentry (2.0b1). We've been running Portsentry successfully since we enabled our server 1 1/2 years ago. The DNS comes through Sprint (that's another problem not ready to be discussed here).
On occasion, Portsentry puts the Sprint DNS server's IP address in the host.deny file. When it does this, sometimes - not always - we can't resolve DNS (using dig or nslookup to check). Obviously, when we can't resolve DNS the mail in the spool doesn't send. It only recently started doing this and we can't figure out why. We've not changed any configuration files.
We get DNS from Sprint through three different servers (I'm not the network guy, so please excuse a little ignorance in terminology). We believed one of the servers was having intermittent problems so we put it at the bottom of the rotation. That seemed to help for a while.
We're still having two main issues. Sometimes DNS doesn't resolve, and sendmail doesn't send. We're not sure why DNS doesn't resolve occasionally. And the sendmail problem is driving us nuts. Currently, DNS is resolving but the mail in mqueue isn't getting sent. I've even tried /usr/sbin/sendmail -q (as root - through su root only).
Has anyone experienced anything like this before? Does anyone have any ideas of things we can try to help troubleshoot?
Thanks for any help!
peppiv
|
|
|
02-09-2004, 02:54 PM
|
#2
|
Member
Registered: Feb 2004
Distribution: LFS, Ubuntu
Posts: 52
Rep:
|
add whatever ip's you want ignored (like dns servers, gateways...) to portsentry.ignore.
depending on how portsentry is configured, you may have to do a network restart.
i think, by default, it's set up to respond by dropping the route.
as for troubleshooting, does everything work fine without portsentry and a network restart?
|
|
|
02-09-2004, 03:25 PM
|
#3
|
LQ Newbie
Registered: Sep 2003
Location: Orlando
Distribution: Red Hat 7.3
Posts: 10
Original Poster
Rep:
|
I just added the ip's into portsentry.ignore. It's puzzling because I never had anything but the default 127... listed in there before and never had a problem.
Since we only have 7.3's firewall enabled and not an actual hardware firewall in front of the server, we've been a little hesitant to run without portsentry for too long.
I will try a restart. Currently, the ip's of the dns server are in the host.deny file, yet we are resolving dns (checked through dig and nslookup) and the mail recently went through.
I'll repost any changes after reboot. Thanks for the .ignore reminder.
|
|
|
02-11-2004, 12:29 PM
|
#4
|
LQ Newbie
Registered: Sep 2003
Location: Orlando
Distribution: Red Hat 7.3
Posts: 10
Original Poster
Rep:
|
Still very odd. Before I put the DNS server ip addresses into the portsentry.ignore file, they were already in the host.deny file. Yet the DNS resolves and sendmail does it's thing. Everything works. Then at the end of the day the mail starts accumulating in the mqueue again. Rebooting seems to flush them out, but sometimes you have to reboot two or three times. Still makes me think it's an external problem, especially since we haven't made any config changes to the server.
Now I've rebooted after putting the ip's in the .ignore file and removing them from the host.deny file. But I still believe we are going to have issues. Has anyone ever had anything like this happen to them?
Ever had a problem with Sprint's DNS servers?
|
|
|
All times are GMT -5. The time now is 07:35 PM.
|
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
|
|