failed to send mailsl to my emaild id (662 Views)
Reply
Occasional Advisor
Mallesham_kukat
Posts: 13
Registered: ‎01-24-2012
Message 1 of 8 (662 Views)
Accepted Solution

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.

 

 

 

 

Honored Contributor
Duncan Edmonstone
Posts: 5,678
Registered: ‎08-05-2000
Message 2 of 8 (658 Views)

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

 

 


HTH

Duncan
Occasional Advisor
Mallesham_kukat
Posts: 13
Registered: ‎01-24-2012
Message 3 of 8 (648 Views)

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.

Honored Contributor
Duncan Edmonstone
Posts: 5,678
Registered: ‎08-05-2000
Message 4 of 8 (640 Views)

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?


HTH

Duncan
Occasional Advisor
Mallesham_kukat
Posts: 13
Registered: ‎01-24-2012
Message 5 of 8 (622 Views)

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.

Honored Contributor
Patrick Wallek
Posts: 13,774
Registered: ‎06-21-2000
Message 6 of 8 (618 Views)

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?

Occasional Advisor
Mallesham_kukat
Posts: 13
Registered: ‎01-24-2012
Message 7 of 8 (614 Views)

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.

Occasional Advisor
Mallesham_kukat
Posts: 13
Registered: ‎01-24-2012
Message 8 of 8 (578 Views)

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

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.