Operating System - HP-UX
1824854 Members
4349 Online
109674 Solutions
New Discussion юеВ

email message to hotmail account

 
SOLVED
Go to solution
Sanjiv Sharma_1
Honored Contributor

email message to hotmail account

Hi,

I have one N-4000/HP-UX 11.00.

I am sending a mail through "elm" to my hotmail account but it doesn't seem to reach.
Check for 2 hours.

# elm -s " Test" sanjiv_raje@hotmail.com

I sent a local mail to me and it reaches within 15 minutes time.

# elm -s " test" sanjiv.sharma@hp.com

I want to sent a mail to my hotmail account.
I have not done any configuration on the server side.
What needs to be done?

Thanks,
Raje.
Everything is possible
7 REPLIES 7
Clemens van Everdingen
Honored Contributor

Re: email message to hotmail account

Hi,

Check your log file:

/var/adm/syslog/mail.log

See what error message is in there and post it here.

Also see if the messages get sended anyway with the command mailq

It should show you this if everything works "Mail queue is empty".

If not there is a list of unsended mail.

Let us know !

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Sanjiv Sharma_1
Honored Contributor

Re: email message to hotmail account

Hi Clemens,

Thanks for your reply. The details are as follow:

/var/adm/syslog/mail.log
Jan 6 15:48:59 dijms312 sendmail[21331]: OAA16941: to=sanjiv_raje@hotmail.com,
ctladdr=root (0/3), delay=01:15:04, xdelay=00:00:00, mailer=smtp, relay=mx3.hotm
ail.com., stat=Deferred: Connection refused by mx3.hotmail.com.

# mailq
Mail Queue (1 requests)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
OAA18578 35 Mon Jan 6 14:58 root
(Deferred: Connection refused by mx3.hotmail.com.)
sanjiv_raje@hotmail.com

Thanks,
Raje.
Everything is possible
Stefan Farrelly
Honored Contributor

Re: email message to hotmail account

Ive sent a test mail to your hotmail account and that worked fine (saw mx1.hotmai.com accept it) so nothing wrong there, it must be your server setup on your HP.

Have you got your DM macro set in your /etc/mail/sendmail.cf file ?

Should have a proper domain setup in it, ie;
DM

And xxx.com must be able to be looked up on the internet - ie. cnn.com, not something local to you only (eg. joebloggs.com)

Then restart sendmail and try to send an email again.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Sanjiv Sharma_1
Honored Contributor

Re: email message to hotmail account

Hi Stephen,

Thanks for your reply.

But I didn't get it.

What entry needs to be mail in sendmail.cf file and how can I restart the sendmail?

I am poor in the sendmail configuration. Pls. give command/syntax.

Thanks,
Raje.
Everything is possible
Rajeev  Shukla
Honored Contributor

Re: email message to hotmail account

This happened because the mail exchanger it took by default might not be working.
If you view the /etc/mail/sendmail.cf file it clearly explains before actual setting what each means. DM is for setting your domain.
and to start and stop sendmail use
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Rajeev
Frank Slootweg
Honored Contributor

Re: email message to hotmail account

Do you work at HP(/Compaq)? I ask because you have the same (partial) name (sanjiv) in both the hotmail.com and hp.com address. If you work at HP, then your sendmail can not directly talk to hotmail's and that is what your log says it is trying to do.
W.C. Epperson
Trusted Contributor
Solution

Re: email message to hotmail account

To elaborate on Frank's message a bit: you're probably being blocked from directly connecting to the hotmail server by an HP firewall (probably a proxy firewall since connection is "refused" instead of "timed out").

You'll need to set your sendmail.cf DS line to point to a SMTP server that knows how to get mail out. At HP it looks like the typical mail traverses 3 servers to get to the Internet. An HP mail admin could probably tell you what address to use, assuming you're doing something you're supposed to. Or inspecting the "Received:" headers on a mail received from you by somebody outside will show the path (the "by" line of the next-to-last Received header is likely your local SMTP relay). Good luck.

Example:
Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245])
by pen3.pen.k12.va.us (8.12.3/8.12.3) with ESMTP id gAINL9K6011262
for ; Mon, 18 Nov 2002 18:21:09 -0500
Received: from xparelay2.ptp.hp.com (xparelay2.ptp.hp.com [15.1.28.65])
by palrel10.hp.com (Postfix) with ESMTP id 85DADC0091D
for ; Mon, 18 Nov 2002 15:17:56 -0800 (PST)
Received: from xpabh3.ptp.hp.com (xpabh3.ptp.hp.com [15.1.28.63])
by xparelay2.ptp.hp.com (Postfix) with ESMTP id 59610A4
for ; Mon, 18 Nov 2002 15:17:56 -0800 (PST)
Received: by xpabh3.ptp.hp.com with Internet Mail Service (5.5.2655.55)
id ; Mon, 18 Nov 2002 15:17:56 -0800

I think xparelay2.ptp.hp.com is probably the local SMTP relay for where this person was on the HP network. YMMV.
"I have great faith in fools; self-confidence, my friends call it." --Poe