1845922 Members
3708 Online
110250 Solutions
New Discussion

sendmail problem

 
kamal vithanage
Contributor

sendmail problem

Hi All,
I have two hp 9000 and both should use to send mail via our imail server (nt base)
1.one server is working without any problem (hp-ux version 10.20)
2. the other server not working.(hp-ux 11) imail server log file is giving error
both servers configuration file same.
please help me to rectify the problem
6 REPLIES 6
Denver Osborn
Honored Contributor

Re: sendmail problem

What version of sendmail is running on the 10.20/11.0 box?

What error is reported in the imail log file?

-denver
Roger Baptiste
Honored Contributor

Re: sendmail problem

hi,

Is the sendmail.cf file configured correctly on the problemsystem?? To check it compare
the entries of this file on the two systems

#grep "^D" /etc/mail/sendmail.cf

THe DS entry should point to the relay.

TO test it, do
#sendmail -vt mailid@domain
test
.

If any problems, post the output of this.

HTH
raj
Take it easy.
kamal vithanage
Contributor

Re: sendmail problem

Hi raj,
I can send mail within the domain, how can I send the mail to outside
I hope you can undestand my question
ex: if I send a mail to hotmail account it says,
"550 not local host hotmail.com user unknown"

Kamal


Kamal
Michael Tully
Honored Contributor

Re: sendmail problem

Uday_S_Ankolekar
Honored Contributor

Re: sendmail problem

Hi,

If you want to send mail outside domain then you need to change DS entry in sendmail.cf DS should point to Mail server name.
Check which is your mail server /DNS server
and then restart the sendmail
Godluck
-USA..
Good Luck..
Joseph Chakkery
Valued Contributor

Re: sendmail problem

Hello Kamal,

Check for the following things in ur server for sending mails from HP server to external via sendmail.

Do the following.
(1) Get SMTP relay host name and IP address (Eg: 128.9.7.30 abcd_relay)

For sendmail to be activated to send mail to xxxxx.com.

a)put relay hostname to DS on sendmail.cf in /etc/mail directory (eg: DSabcd_relay).

b)Create nsswitch.conf in /etc by copying nsswitch.file as nsswitch.conf. (IF DNS is not enabled on ur HP server).

c)Add relay host IP entry to /etc/hosts file. (IP of abcd_relay)

d)Stop and start sendmail dameon again.

After this u can send a test mail using

# cat /etc/hosts | mailx -m -s "Test mail " mail_id@xxxx.com

Hope this will help u.

Regards
Joe.
Knowledge is wealth