Link to home
Start Free TrialLog in
Avatar of rdashokraj
rdashokraj

asked on

Mail problem

Hello Experts,

I'm getting this error when I try to send mails from the terminal. Sendmail is working fine. Please advice.

thuban--root[21] mailx -v ojk@cypress.com
Subject: test mail
.
EOT
thuban--root[22] ojk@cypress.com... Deferred: Name server: mailhost.ind.cypres
s.com: host name lookup failure

thuban--root[23] ps -ef | grep sendmail
    root  1946     1  0   Nov 09 ?        0:00 /usr/lib/sendmail -bd -q15m
    root  5741  5728  0 15:20:00 pts/2    0:00 grep sendmail
thuban--root[24]
thuban--root[22] uname -a
SunOS thuban 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-5_10
thuban--root[23]


Thanks,
Ashok
SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rdashokraj
rdashokraj

ASKER

Thanks for your response. I found out the problem myself by using the search facility in Experts-exchange. The issue the Dj entry in /etc/mail/sendmail.cf was not configured. I added that entry and restarted the sendmail service, then everything become fine. I have very less experience in Sendmail and thats why I didn't check this basic configuration.