1748136 Members
3593 Online
108758 Solutions
New Discussion юеВ

Re: mail problem

 
SOLVED
Go to solution
mohan singh
Frequent Advisor

mail problem

Hi Gurus,

I have problem in on of our server that if I try to send mail it does not reach to destinaion and it queued up.
I am using mailx -s command.
NAA12397 2417 Wed Sep 8 13:54 root
(host map: lookup (infineon.com): deferred)
rauthanms.external@infineon.com

Can sombody help me to resolve the issue.

Thanx in advance

Mohan
31 REPLIES 31
Elmar P. Kolkman
Honored Contributor
Solution

Re: mail problem

Apparently infineon.com can not be found by your mailserver to send mail to. Sendmail needs to be able to lookup a host before being able to send mail to it under HP-UX.
Every problem has at least one solution. Only some solutions are harder to find.
Marcel Boogert_1
Trusted Contributor

Re: mail problem

Hi Mohan,

Does the sendmail command work? If not, try:

sendmail -v me@company.com

And check the output.

MB.
Olivier Decorse
Respected Contributor

Re: mail problem

Hi,

it looks like a resolution problem.
Can you just try pinging your remote server with :
ping infineon.com
If no response, check /etc/nsswitch.conf and /etc/resolv.conf to verify host name resolving policy.

Olivier.
They say "install windows 2k, xp or better", so i install unix !
mohan singh
Frequent Advisor

Re: mail problem

Hi MB
there is some error perse error.

# sendmail -v rauthanms.external@infineon.com
infineon.com: Name server timeout
rauthanms.external@infineon.com... Transient parse error -- message queued for future delivery

Regards

Mohan
mohan singh
Frequent Advisor

Re: mail problem

Hi Oliver,

What entry I should check in /etc/nsswitch.conf and there is not resolve.conf file.


Regards

Mohan
Olivier Decorse
Respected Contributor

Re: mail problem

In my case, with not a lot of server, i have :
# cat /etc/nsswitch.conf
hosts: files
services: files
protocols: files
networks: files
rpc: files
netgroup: files
automount: files

So i your case, you have also to fill /etc/hosts with :
x.y.z.t infineon.com infineon

Olivier.
PS : please don't forget to assign points : you will receive more response, and we can see if our response helps you or not ...
They say "install windows 2k, xp or better", so i install unix !
mohan singh
Frequent Advisor

Re: mail problem

Hi All,

I have done every thing whatever solution you gave.
Then I executed following command but problem is as itis Pls help.
# hostname
newfme3
#
# sendmail -v rauthanms.external@infineon.com
infineon.com: Name server timeout
rauthanms.external@infineon.com... Transient parse error -- message queued for f
uture delivery


Regards
Mohan

Marcel Boogert_1
Trusted Contributor

Re: mail problem

Mohan,

Check the following link:

http://www4.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHNE_29774

Maybe this is your solution.

MB.
Muthukumar_5
Honored Contributor

Re: mail problem

Mail hostname must be resolved so that we can send mails. It must be with Fully Qualified Domain name.

FQDN is defined as,

hostname.domainname.com

For exmaple:

newfme3.infineon.com

It has to be resolved as,

nslookup newfme3.infineon.com

hostname: newfme3.infineon.com
ip-address: xx.xxx.xx.xx
alias: newfme3

If you did not get this then,

-- edit /etc/nsswitch.conf file as,

hosts: files dns

-------------

--- edit /etc/hosts file as --

# FQDN alias
xx.xx.xx.xx newfme3.infineon.com newfme3


If you want to your hostname resolved with dns then,

-- /etc/nsswitch.conf --
hosts: dns files

----- /etc/resolv.conf --
domain infineon.com
nameserver


Check resolvation as,

nslookup newfme3.infineon.com

If you get results, then you won't get any problem on sending mails

Easy to suggest when don't know about the problem!