Operating System - HP-UX
1747988 Members
4628 Online
108756 Solutions
New Discussion

failed to send mailsl to my emaild id

 
SOLVED
Go to solution
Mallesham_kukat
Occasional Advisor

failed to send mailsl to my emaild id

Hi

we are using

 

version:
HP-UX hva03ads B.11.31 U ia64 0291095592 unlimited-user license

 

compiler:

 

Hewlett-Packard Company           - 41 -          HP C/aC++ Version A.06.25

 

Recently we migrated from sun solaris to HP.  Previously we used to send mails to my emaild  with using below command.

 

echo  "Hello" | mailx -s "Hai" myemaild@gmail.com

 

it is worked fine in sun solaries but in HP it is not working so we are not getting mails.

 

Kindly help on this.

 

 

 

 

7 REPLIES 7

Re: failed to send mailsl to my emaild id

not sure what you think the significance of your compiler would be...

 

anyway, I'd imagine the first thing to check would be what email gateway you have setup in your /etc/mail/sendmail.cf file...

 

look for an entry like:

 

DSmygateway.mycompany.com

 

 


I am an HPE Employee
Accept or Kudo
Mallesham_kukat
Occasional Advisor

Re: failed to send mailsl to my emaild id

thanx Duncan Edmonstone for reply.

 

I have searched the entry DSmygateway.mycompany.com  in /etc/mail/sendmail.cf  but i have not found that.

 

please help on this.

Re: failed to send mailsl to my emaild id

So why don't you look at your sendmail.cf file on Solaris and see what entry you have there?


I am an HPE Employee
Accept or Kudo
Mallesham_kukat
Occasional Advisor

Re: failed to send mailsl to my emaild id

yes i searched in Solaries also but i didn't find any entry like DSmygateway.mycompany.com in Solaries sendmail.cf.

Patrick Wallek
Honored Contributor

Re: failed to send mailsl to my emaild id

Do you see the line that begins with 'DS'?  If so what does it say on the Solaris server and what does it say on the HP-UX server?

Mallesham_kukat
Occasional Advisor

Re: failed to send mailsl to my emaild id

Thanx for reply Patrick Wallek

 

I have found line begins with 'DS' in both Solaries and HP. In Solaries  they mentioned mycompany hostname, in HP they are not mentioned. So i think this is only  problem for not recieving mail. Now i have no permission for change HP sendmail.cf i will ask my administrator to update that. i think this will solve my problem.  thanks for your help Patrick Wallek.

Mallesham_kukat
Occasional Advisor
Solution

Re: failed to send mailsl to my emaild id

Thanx for reply Patrick Wallek

 

After changing  HP sendmail.cf file with DSmycompany hotname. Now it is working fine. 

 

Thanx for help