Redhat sendmail help


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Redhat sendmail help
# 1  
Old 01-05-2005
Network Redhat sendmail help

Hello all,

I have been trying to understand sendmail. I'm having problem sending mail to another machine on the same network. I keep on getting error "Deferred: Name Server :redone: host name lookup fail". I can ping the machine and log in via ssh no problem. I don't have a DNS server. Is this because sendmail is looking for host via the DNS server instead of /etc/hosts. I have edit my /etc/resolv.conf file to not look for a nameserver just the domain. But the same thing. I can mail to a user on the machine locally. I can telnet to the smtp port locally but not from the out side ( another machine). I have edit my /etc/hosts.allow to include the other machine. I have also look at the posting here and edit the sendmail.cf to accept unreolv hostname and account and recompile. This doen't work. I'm lost. I'm currently running redhat AS3. Any help would be great. THANKS
Smilie
# 2  
Old 01-06-2005
On the machine that is running sendmail, you have to have a number of configuration files right of "there will be dragons."

First, I would insure that the forward and reverse DNS exists in both the /etc/hosts file and the DNS. Sendmail likes DNS, especially itself, to be configured correctly.

Sendmail normally tries to resolve its own hostname, but you can also enter it directly in the .cf file.

There is also a file, often located in /etc/mail/local-host-names which needs to have, of course, the local host names.

You can always post your files and we can have a look!

Neo
# 3  
Old 01-07-2005
Neo,

Here is the set up dell-56 is the DNS server Server23 is a DHCP server. I'm trying to mail betweeen the two. These files are on my dell-56 server. Here are my files. I know that one problem was DNS. I've install a DNS server and now I don't get a responce of could not find hosts.

Now I'm getting connectrion refused by hosts...

Here are my files:

/etc/mail/access

# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
dell-56 OK
server23 OK
dell-80 OK


/etc/mail/local-hosts-named

# local-host-names - include all aliases for your machine here.
dell-56


/etc/hosts.allow

#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

ALL:ALL


/etc/mail/sendmail.cf Just a few cut from it


Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/mail/local-host-names

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM

CP.

# "Smart" relay host (may be null)
DS
# access_db acceptance class
C{Accept}OK RELAY


C{ResOk}OKR


# Hosts for which relaying is permitted ($=R)
FR-o /etc/mail/relay-domains



I hope you can help my. If you need other files let me know.

I just try to telnet to my smtp port and getting connection refused.

[dell-56]> telnet dell-56 25
....Unable to connect to remote host: Connection refuse.

I don't have ipchain or iptables running.


THANKS
# 4  
Old 01-07-2005
OK, let's do this by-the-book, step-by-step:

Please post the output of a command like:

ps -aux | grep sendmail

So first we check if sendmail is running.

Is it?
# 5  
Old 01-10-2005
Yes sendmail is running


root:......:sendmail: accepting connectoions
smmsp... : sendmail: Queue runner@01:00:00
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

3. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies

4. UNIX for Dummies Questions & Answers

Redhat 5.8 to 6.0

Hi, Currently running Redhat 5.8, I am thinking about upgrading to 6. After the upgrade, in case, I want to downgrade. How would I do that? Please let me know. Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies

5. Red Hat

Sendmail fails receiving mail since the IP changed on Redhat Server

Hi, Since i move my Linux Redhat server on another Network with new IP address. WE'RE ABLE TO SEND MAIL OUTSIDE BUT we can not receive any incoming mail. It alway points to the old IP. I updated new IP in /etc/hosts and /etc/sysconfig/network then reboot the system. 10.117.32.20 is an old ip... (3 Replies)
Discussion started by: lamoul
3 Replies

6. Red Hat

Sendmail -- Fedora -- Redhat

Hello, I've problems sending email with Sendmail over the internet. My mails always end in up in the file /var/spool/mail/root. This is the command: mail cccc@hotmail.com subject: hello hello . Cc: Thanks in advance!! Greetings Caroline (4 Replies)
Discussion started by: caroline
4 Replies

7. Red Hat

redhat

if sombody can help it will be very good.I want to have some information concerning redhat 9.How to go in the internet with :confused: ,how to programmate in c or c++,and finally how i can use it esaly.Sorry for my english i'm a french speaker ;) (1 Reply)
Discussion started by: boyep
1 Replies

8. SuSE

redhat

i just bought a redhat 9.0 book which comes with the operating system and Ive install it as a server however Im having difficulties installing Swat and I just wonder if I have to spend buy an enterprise server or what ? (1 Reply)
Discussion started by: keliy1
1 Replies

9. Linux

redhat

hello people i just installed redhat, everything seemes to be fine, but when i start it, it boots up normally and starts firstboot or whatever, then it opens something, i can move the mouse for a while(thats all i see.. first the X then an arrow..) but then the whole computer freezes.. i think the... (3 Replies)
Discussion started by: thenewestuser
3 Replies

10. UNIX for Dummies Questions & Answers

RedHat

Hi all, I'm installing RedHat 7.0 on a laptop. As it's a dual boot with win2k I make a boot sector instead of using the MBR. After the install I mark the boot sector active in windows then I can boot into Linux. First question. When I make the boot sector active it deletes the swap... (3 Replies)
Discussion started by: merlin
3 Replies
Login or Register to Ask a Question