Operating System - HP-UX
1752800 Members
6220 Online
108789 Solutions
New Discussion

Re: Sendmail not sending emails to outlook

 
PamelaJThrasher
Regular Advisor

Sendmail not sending emails to outlook

This morning I configured sendmail on a test server.   When I send a test email out using mailx, it appears to leave my HP server successfully (the mailq is empty) but it never makes it to my outlook in box on my PC. 

 

Is there some way I can trace where this email is going and see where it is getting hung up?

 

Thanks in advance!

Pam

 

 

3 REPLIES 3
PamelaJThrasher
Regular Advisor

Re: Sendmail not sending emails to outlook

I tried this:

 

[th4lf030:ROOT]:/home/root # sendmail -v -bm pamela.thrasher@oft.state.ny.us
testing testing testing
.

 

 

Here is what I got:


pamela.thrasher@oft.state.ny.us... Connecting to smtp.admin.nyenet via relay...
/home/root/dead.letter... Saved message in /home/root/dead.letter

James R. Ferguson
Acclaimed Contributor

Re: Sendmail not sending emails to outlook

Hi Pamela:

 

First, you may want to edit your post and remove your email address from it before you find unwanted use of it ;-)

 

Your configuration must have a "smart relay" specification.  Modify 'etc/mail/sendmail.cf' to specify a "smart relay" to allow the forwarding of mail.

By default the 'DS' macro is empty. Change it to look something like:

DSmsexchange.xyz.com

Now, stop and restart 'sendmail':

# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start

To test everything, do:

# mailx -s "Test Message" pamela@xyz.com < /dev/null

You should find the message in your MS (Outlook) mailbox.

 

Regards!

 

...JRF...

Modris Bremze
Esteemed Contributor

Re: Sendmail not sending emails to outlook

In addition to what said above, some configuration on the Exchange part is also necessary. If your Exchange server does not accept mails for relaying from any IP address, you must add the sender server's IP address to the list of allowed IPs.