Operating System - HP-UX
1824939 Members
4072 Online
109678 Solutions
New Discussion юеВ

Configure Sendmail with Microsoft Exchange

 
ya lau
New Member

Configure Sendmail with Microsoft Exchange

I was able to successfully configure sendmail to send outgoing email to a non-local address. My problem is that now I can not send email to local users on the exchange system.
When I try sendmail -bv local@emailaddress.com,
I get the message local@emailaddress.com... User Unknown

Has anyone else experienced this type of problem? I would appreciate any help anyone can give.
4 REPLIES 4
Ted Ellis_2
Honored Contributor

Re: Configure Sendmail with Microsoft Exchange

find the following in your sendmail.cf file and uncomment the line below it... it will then resolve local mail...

# See if we are supposed to deliver to hosts in the local domain


It is located about 80% through the file in Ruleset 0

then stop sendmail with /sbin/init.d/sendmail stop
restart with /sbin/init.d/sendmail start

Ted
ya lau
New Member

Re: Configure Sendmail with Microsoft Exchange

What should the next line look like?
Ted Ellis_2
Honored Contributor

Re: Configure Sendmail with Microsoft Exchange

R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
Christophe MAILHE
Frequent Advisor

Re: Configure Sendmail with Microsoft Exchange

Hi,

In order to send email to people on a exchange server, you should first check if this exchange server has a Internet Email service.

If not, you need to find which server in your company run this service and to forward the email to this server.

To set the relay server, you have 2 solutions:

1) If you have a DNS server, make sure the first MX record for the domain is set on the exchange server which is running the internet mail service. Make sure your HPUX server is using DNS.

2) If you don't use DNS :
# UUCP relay for unresolved ! addresses via SMTP (DW): #
# #
# If you can mail via SMTP to the host you wish to use as a UUCP #
# relay, define the macro W, on the line beginning DW, as the name #
# of the UUCP relay host. #
# #
# Note that in this case, the macro W must be a single host name, #
# not a path. Note also that the name of any host defined as a #
# relay to be reached via SMTP must be an official host name; in a #
# domain naming environment this must be a fully qualified domain #
# name. The canonicalization operator $[ $] is not applied to relay #
# names. #
# #
# For example, if domain names are not in use at your site, and #
# if the relay host's official name is pzzz, define W: #
# #
# DWpzzz #
# #
# Then uncomment the line in Ruleset 0 following the comment: #
# #
# # pass unresolved UUCP addresses to the UUCP relay (via SMTP) #

Hope this help.

Chris