Operating System - HP-UX
1820644 Members
2004 Online
109626 Solutions
New Discussion юеВ

Re: Sending a message to Microsoft Outlook Express

 
Troy Blangin
Advisor

Sending a message to Microsoft Outlook Express

I am trying to figure out how I can send an e-mail to Outlook Express without DNS being up. Someone told me I would have to know th e IP address of the e-mail address. I have tried to ping the e-mail address and I am not able to ping the address. The address I am able to ping is relay.smtp.psi.net(38.9.52.2). But when I try to send mail to this address nothing happens. I am trying to use mailx -s. How can I send mail to Outlook Express. Also once I do send the mail to Outlook Express I want Outlook to send the e-mail to my cell phone. I do have the address of my cell phone but I cannot get the IP address of my cell phone.

If I did get DNS working will I still have a problem sending mail to Outlook Express or will it work. Also if I do get DNS working can I just send the mail to my cell phone e-mail address. Please let me know if I can do this. Thanks and have a nice day.
9 REPLIES 9
Rick Garland
Honored Contributor

Re: Sending a message to Microsoft Outlook Express

What is the primary mail server?

Set up the Smart Host 'DS' macro to
DS and then stop/start the sendmail process.
P V Patel
Advisor

Re: Sending a message to Microsoft Outlook Express

Make sure that nsswitch.conf file in /etc have entry for hosts and aliases.e.g.
hosts : files
aliases : files
Set up the primary mail server in /etc/mail/sendmail.cf file
DS

and then run newaliases. After that stop/start the sendmail process.
P V Patel

Punjabhai
Kofi ARTHIABAH
Honored Contributor

Re: Sending a message to Microsoft Outlook Express

In order for HPUX to be able to deliver your mail to an outlook user, you need:
1. A mail relay (this machine will listen on port 25 and accept your mail to deliver it to the destination - it will do all the work of looking up the Mail Xchanger for the domain name, and delivering it) = in many organisations you will have a central mail relay (find out from your mail people what your relay's name/IP address is)
2. As per the suggestions above, set up your /etc/mail/sendmail.cf DS macro to read something like:
DSmailrelay

3. restart sendmail and you should be able to sendmail to user@domain.com

BTW, you can get HPUX to sendmail to your mobile phone directly if you know your cellphone's email address eg. mailx phonenumber@telserviceprovider.com (if that is your cellphone's e-mail) should do the trick.

cheers.
nothing wrong with me that a few lines of code cannot fix!
Mark Mitchell
Trusted Contributor

Re: Sending a message to Microsoft Outlook Express

He is right, I use sendmail, you set up those files so that your server can resolve your xxxx.com address with your Exchange server. Then to resolve your addresses you add this line to the /etc/aliases file.
logon:jsmith@xxxx.com then to activate this type at the command line /usr/bin/newaliases.
This way when you send a file like this
mailx -s "subject" logon
it will go to where it belongs.
Troy Blangin
Advisor

Re: Sending a message to Microsoft Outlook Express

I just found out that the mail server we are using is hosted offsite by a third party. We have no control over the mail server. On the third party server we have to enter an account name and password to use the mail server. How can we configure the Unix server to pass mail to the third party server?
Kofi ARTHIABAH
Honored Contributor

Re: Sending a message to Microsoft Outlook Express

Troy, please try the following and post the results:
(btw the reason you cannot ping that server is because the probably have turned off response to ping)

1. telnet smtp
2. enter something like:
helo yourdomain.com.

you should get something like this:
[arthiak@linear arthiak]$ telnet 38.9.52.2 25
Trying 38.9.52.2...
Connected to 38.9.52.2.
Escape character is '^]'.
220 relay1.nw.smtp.psi.net ESMTP Exim 3.13 #3 Wed, 20 Sep 2000 20:40:37 -0400
helo mydomain.com
250 relay1.nw.smtp.psi.net Hello youdomain.com

If you do get something like the above, then this is what you should do:

3. edit your /etc/hosts file and add a line that says:

38.9.52.2 relay relay1.nw.smtp.psi.net

4. make sure that you have a file called /etc/nsswitch.conf which contains the following line:

hosts: files


4. now edit the file /etc/mail/sendmail.cf look for a line that starts with DS and make it:

DSrelay

5. now restart sendmail with /sbin/init.d/sendmail stop ; /sbin/init.d/sendmail start

6. now you can send a test mail to your account that outlook read with the unix mail command or elm.

look at the log file to see if your mail had been delivered:

tail /var/adm/syslog/mail.log

let us know how it goes yeah?

cheers.
nothing wrong with me that a few lines of code cannot fix!
Rick Garland
Honored Contributor

Re: Sending a message to Microsoft Outlook Express

I would think that the third party that is hosting the mail service should be receptive to modifications you may desire/need.
Troy Blangin
Advisor

Re: Sending a message to Microsoft Outlook Express

Thank you for all your help. I finally got the Unix server to call my cell phone. What we needed was that DNS had to be up and we needed a registered domain name and all the suggestions you gave me. Thanks again for your help.
CHRIS_ANORUO
Honored Contributor

Re: Sending a message to Microsoft Outlook Express

See this previous contribution.
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x25627e990647d4118fee0090279cd0f9,00.html
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.