Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-04-2002, 06:42 AM   #1
Hessian Rider
LQ Newbie
Registered: Nov 2002
Posts: 9

Rep: Reputation: 0
Question Sendail and DNS lookups

For the past few days I have been trying to set a mail server for our office. The problem is that sendmail starts very slowly and mail can only be sent from our server but can not be received. Telnetting on port 110 gives no errors. Also if I try to fetchmail for another account I get the "SMTP transaction error" message.
I checked with a dozen of forums and it appears that I'm having problem with my DNS(sendmail doing a reverse DNS lookup) but I can't quite figure out how to solve my problem.
I did what most people advise but the nothing changes.

Thanks in advance for any help!
Old 11-04-2002, 04:33 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
And what happens if you try to telnet to Sendmail on port 25?

If there are reverse dns lookup problems, you will be able to read the offending mail addresses in the /var/log/maillog file.
If you logon to the server and do "dig -t MX " for a valid mail address domain, this will test the reverse lookup connection from the mail server.

eg dig -t MX will give you the ip number of the yahoo mail servers. (man dig for more options)
If that email is coming from a different source address, why would you want to receive it?

Old 11-05-2002, 03:06 AM   #3
Hessian Rider
LQ Newbie
Registered: Nov 2002
Posts: 9

Original Poster
Rep: Reputation: 0
A correct MX entry exists in the DNS setup. Telnetting port 25 is Ok too.
That's what really bothers me. Sendmail hangs are usually caused by the lack of or incorrect DNS setup but in my case those things are (or at least appear) to be fine.
For mail not being received - can aliases.db be the cause of teh problem.
And about fetchmail - I'm trying to fetch mail for people who have pop3 accounts on other servers but use machines here in our office.
I really need to fix those problems soon. Help the newbie, please.
Old 11-05-2002, 08:03 AM   #4
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Wouldn't it be better to start sendmail in something like verbose logging mode (sendmail -v -O loglevel=9), just to be sure it's DNS resolving and not something else? Same goes for fetchmail (and procmail if you use procmail filtering).

Also I think it would be a good thing to post the relevant parts of your configs.


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
Webalizer with DNS lookups jnichel Linux - Software 21 01-23-2009 12:13 PM
DNS Lookups Slow kwiksand Linux - Networking 0 11-15-2004 05:52 AM
Caching DNS lookups vikasa Linux - Networking 0 06-26-2003 01:30 PM
Allow DNS lookups through ipchains? ifm Linux - Security 4 08-09-2002 09:17 AM
Reverse DNS Lookups ascii2k Linux - Networking 2 08-08-2001 10:01 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration