Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-19-2002, 03:29 AM   #1
LQ Newbie
Registered: May 2002
Posts: 9

Rep: Reputation: 0
configuraring mailx without name server


I am having a hard time configuring mailx in linux, the situation is as follows

an intranet:
linux server with sendmail daemon
microsoft exchange server as mail server

I have to configure mailx in linux so it can send mail to intranet users (basically a monitoring system, when file system is 80% send mail for example) using exchange server. So one of my collegues who configured the samething in Solaris told me; edit /etc/hosts and add an entry such as

ip of mail server mailhost

I followed his suggestion.
The problem is the mail doesnt go out, it stays in the linux box, I received mails from sendmail saying that ithe mail cannot be delivered because it cannot resolve the mail address, says Name Server unknown, time out

OK, I understand that this is logical, obviously it cannot know how to resolve something which he never knew about it or there is not a path helping him. The problem is in this intranet there is NO Names Server so how on the earth I can make this work? Do I have to edit sendmail config files? Any /etc files?

Thank you
Old 05-20-2002, 09:44 AM   #2
LQ Newbie
Registered: May 2002
Posts: 9

Original Poster
Rep: Reputation: 0
anyone happens in a similar situation before?
Old 05-20-2002, 11:21 AM   #3
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,568

Rep: Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042Reputation: 4042
You need to allow the mail server to do DNS lookups somehow. Without them it will not know what the MX is. You could also configure sendmail's SmartHost feature to forward all mail to a mail server that can do DNS lookups.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure Mailx Gerardoj Linux - Software 1 05-11-2016 02:52 AM
Sending attachments using mailx wolfman423 Linux - Newbie 0 10-14-2005 08:27 AM
mailx and slackware mikz Slackware 2 05-11-2005 09:35 AM
mail(mailx) to be nullclient? Chowroc Linux - Networking 0 12-18-2004 05:17 AM
installing mailx skverma_in Linux - Software 2 11-25-2004 10:56 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:25 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
Open Source Consulting | Domain Registration