mailx for red hat version 5.4


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting mailx for red hat version 5.4
# 8  
Old 01-11-2011
I've got the following in my /var/log/maillog

Code:
Jan 11 12:56:41 hostname sendmail[20855]: p0B5SNNm023940: to=<user@hostname.doamin>, ctladdr=<user@localhost.localdomain> (502/501), delay=06:28:18, xdelay=00:00:00, mailer=esmtp, pri=750423, relay=hostname.domainname., dsn=4.0.0, stat=Deferred: Name server: hostname.domainname.: host name lookup failure

# 9  
Old 01-11-2011
Is this a new installation which does not work, or is the problem confined to certain email addresses?

Assuming that your sendmail has been configured to allow external mail and is basically working, certain ISPs will attempt a reverse DNS lookup of your server and ignore you if the lookup fails. You may need a "DM" record for a valid external domain in /etc/mail/sendmail.cf for example.

What is in /etc/resolv.conf ?
Does "nslookup" (or "dig") work for external addresses?

Does "mailq" command show items still queued ?
# 10  
Old 01-12-2011
It is a new Installation.

Code:
/etc/resolv.conf

Code:
----------------------
#nameserver <ip_address>
#nameserver <ip_address>
#nameserver <ip_address>
#nameserver <ip_address>
nameserver <mymail_ipaddress>
options attempts:5
options timeout:15
 
 
$ nslookup <mymail_ip_address>
;; connection timed out; no servers could be reached
 
$ dig <mymail_ip_address>
 
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> <mymail_ip_address>
;; global options:  printcmd
;; connection timed out; no servers could be reached

# 11  
Old 01-12-2011
Quote:
#nameserver <ip_address>
#nameserver <ip_address>
#nameserver <ip_address>
#nameserver <ip_address>
nameserver <mymail_ipaddress>
options attempts:5
options timeout:15
It would appear that whatever is at <mymail_ipaddress> is not a nameserver. It can't even look it's own name up. In fact, what is it and where is it?
I assume that the "<" and ">" character are not in the record and that the line looks roughly like this:
Code:
nameserver 10.10.10.10

What is in this file:
Code:
/etc/mail/service.switch

Let's get some more context.
Is this one computer of many on a corporate network or say a single home computer? You can often read the settings values from another working computer or if it is a single home computer get the settings from advice on your ISP's website.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Red Hat 5.10 repository issue - desktop version

this is proving to be a real pain to set up. i recently installed red hat 5.10 desktop version. install went well. i've registered my system, but i cant seem to yum install simple packages. i can install some packages, but many others i cant. for instance, i cant do a: yum install php ... (2 Replies)
Discussion started by: SkySmart
2 Replies

2. Red Hat

How to Install Red Hat Linux Desktop version 4?

I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S? Like in windows, we have NTFS file system(which has very security features). Is there any such file system in Linux? Which file system should i use?... (0 Replies)
Discussion started by: Anna Hussie
0 Replies

3. Red Hat

How to Install Red Hat Linux Desktop version 4?

I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S? Like in windows, we have NTFS file system(which has very security features). Is there any such file system in Linux? Which file system should i use? (2 Replies)
Discussion started by: Anna Hussie
2 Replies

4. Red Hat

finding exact version of Red Hat Linux

Hi, I would like to know how to find out exact version of linux on the basis of kernel level, uname -a 2.6.18-238.1.1.el5 from above command how to find out exact version of redhat linux? it is showing that version of redhat is 5.0 but it comes under which update like 1,2,3,4,5,6 ... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

5. Red Hat

Virtual Red Hat version

Hello, Is there a Virtual Red hat that will work with Windows Vista? I would like to become more familiar with it and a virtual version will help me with a hands on approach. Nov_User (3 Replies)
Discussion started by: nov_user
3 Replies

6. Linux

Does any hunk knows how to block ultrasurf in squid proxy red hat version 4

Does any one knows how to block ultrasurf in squid proxy ?:) I have one shell script i.e blocking all ultrsurf version except ultrasurf 8.9 if any one knows pls share the documents with me. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies

7. Cybersecurity

Does any hunk knows how to block ultrasurf in squid proxy red hat version 4

Does any one knows how to block ultrasurf in squid proxy ? I have one shell script i.e blocking all ultrsurf version except ultrasurf 8.9 i f any one knows pls share the documents with me. Please read the rules: No double posting! Thank you - site moderator (0 Replies)
Discussion started by: vishwanathhcl
0 Replies

8. Linux

Red Hat Enterprise Linux Version 3

Hello there guys, i'm new in this linux world and i'm having problems with telnet session. I enabled telnet login but it wont let me login as root. is there a file that i need to take a look to make sure that root could telnet to the system. Thanks a lot guys for your help. (2 Replies)
Discussion started by: josramon
2 Replies
Login or Register to Ask a Question