LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-17-2010, 03:37 PM   #1
fullgore
Member
 
Registered: Aug 2006
Location: Brasilia, Brazil
Distribution: Slackware / Suse / FreeBSD
Posts: 55

Rep: Reputation: 15
Sendmail + DNS


I´m at an Oracle Enterprise Server 5, and I trying to configure the sendmail service for some Oracle applications can send e-mails. I've been configuring the sendmail and bind service, the sendmail is ok but the bind I´m not sure. I put a domain.hosts configuration at named directory and configured my LAN DNS at resolv.conf, I try to ping my local mx address, mx.domain.com but it returns unknown host....
I´m a little lost and it´s first time I configure something like this anybody already configure this before...

PS: It´s a test server inside a LAN if proxy authentication and it only needs to have the sendmail configured to act as simple smtp server for the localhost....
 
Old 03-17-2010, 04:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You don't need to run bind just to do this. Add entries to /etc/hosts and it'll pick them up from there within sendmail, which again you should have no need at all to modify from the default installation settings.
 
Old 03-18-2010, 07:56 AM   #3
fullgore
Member
 
Registered: Aug 2006
Location: Brasilia, Brazil
Distribution: Slackware / Suse / FreeBSD
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
You don't need to run bind just to do this. Add entries to /etc/hosts and it'll pick them up from there within sendmail, which again you should have no need at all to modify from the default installation settings.
Do you mean put like this:

10.216.x.x ns.domain.com ms.domain.com

???
 
Old 03-18-2010, 01:24 PM   #4
fullgore
Member
 
Registered: Aug 2006
Location: Brasilia, Brazil
Distribution: Slackware / Suse / FreeBSD
Posts: 55

Original Poster
Rep: Reputation: 15
I think configured sendmail right because I can send messeges directly to the to computer users and when I put # nmap localhost, I notice that my port 25 is open but I still can´t send e-mail outside. Do I need or not to have a DNS server configured?
 
Old 03-18-2010, 02:15 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well naturally there is a need for name resolution, but for internal deliveries, you'd only need to be able to resolve the domain part of an email address to an IP, and for internet addresses, merely having a functioning external DNS server listed is fine.
 
  


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
DNS and Sendmail reply2vinay Linux - Networking 1 12-18-2005 06:29 AM
Sendmail and DNS tonyr321 Linux - Networking 1 06-24-2005 09:55 AM
sendmail without dns gregm Linux - Networking 0 03-30-2004 08:43 PM
DNS for sendmail? puzz_1 Linux - Networking 3 06-02-2003 04:54 AM
Sendmail, DNS help please!! WorldBuilder Linux - Networking 2 05-10-2003 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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