![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CVS on redhat | new2ss | Linux | 5 | 04-24-2008 06:25 AM |
| SCO Vs Redhat | homerjj | UNIX for Advanced & Expert Users | 3 | 09-27-2006 08:39 AM |
| redhat | keliy1 | Linux | 1 | 09-13-2004 08:04 AM |
| redhat | thenewestuser | Linux | 3 | 09-22-2003 06:46 AM |
| redhat 7.1 GUI | tlcrowder | UNIX for Dummies Questions & Answers | 2 | 10-02-2001 10:33 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
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 |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| "inappropriate ioctl for device" 421 service not available, remote server has closed connection autosys awk trim bash eval bash exec bash for loop boot: cannot open kernel/sparcv9/unix close_wait command copy/move folder in unix curses.h cut command in unix dead.letter find grep find null character in a unix file grep multiple lines grep or grep recursive inaddr_any inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix date command unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi select all vi+substitute+end+of+line+character while loop within while loop shell script |