LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-04-2002, 05: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, 03:33 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
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 yahoo.com 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?

Regards,
Peter
 
Old 11-05-2002, 02: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, 07:03 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,470
Blog Entries: 54

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
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.
 
  


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


All times are GMT -5. The time now is 09:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration