Operating System - HP-UX
1834978 Members
2456 Online
110073 Solutions
New Discussion

Re: Steps to implement sendmail to use exchange server

 
John Jayaseelan
Super Advisor

Steps to implement sendmail to use exchange server

Hi,

Could you please tell me the implementation of sendmail to use exchange server to send external mail. Following are the version of sendmail available in the HP-uX 11.00 server.

# what /usr/sbin/sendmail
/usr/sbin/sendmail:
version.c 8.8.6.1 (Berkeley) 6/14/97 (PHNE_15509)
alias.c 8.73 (Berkeley) 5/8/97
arpadate.c 8.7 (Berkeley) 2/1/97
clock.c 8.24 (Berkeley) 4/19/97
collect.c 8.69 (Berkeley) 5/29/97
conf.c 8.362 (Berkeley) 6/14/97
$Id: getloadavg.c,v 1.16 1991/06/21 12:51:15 paul Exp $
convtime.c 8.9 (Berkeley) 2/1/97
daemon.c 8.175 (Berkeley) 6/1/97 (with daemon mode)
deliver.c 8.282 (Berkeley) 6/11/97
domain.c 8.67 (Berkeley) 4/9/97 (with name server)
envelope.c 8.104 (Berkeley) 6/3/97
err.c 8.62 (Berkeley) 6/5/97
headers.c 8.110 (Berkeley) 6/14/97
macro.c 8.18 (Berkeley) 2/1/97
sendmail.h 8.236 6/5/97
main.c 8.246 (Berkeley) 6/11/97
Copyright (c) 1988, 1993
map.c 8.168 (Berkeley) 6/14/97
mci.c 8.62 (Berkeley) 5/29/97
mime.c 8.59 (Berkeley) 5/6/97
Thanks
John Jayaseelan
2 REPLIES 2
Kellogg Unix Team
Trusted Contributor

Re: Steps to implement sendmail to use exchange server

Hello Sue/John,

If you are using DNS, you can define an MX record for your exchange server.

You can also define name of your exchange server in sendmail.cf as Smart Relay host (look for DS entry -
DS

...Manjeet
work is fun ! (my manager is standing behind me!!)
Justo Exposito
Esteemed Contributor

Re: Steps to implement sendmail to use exchange server

Hi John,

I Already do it and you must to change your sendmail.cf file in the /etc/mail directory the line:
# "Smart" relay host (may be null)
DS yourexchangeserver
And your sendmail.mc file in the same directory including the lines:
LOCAL_CONFIG
define(`SMART_HOST', `yourexchangeserver')dnl

You must stop and start the sendmail in order to activate the changes.

PD: Obiusly you must include yourexchangeserver in the /etc/hosts file.

Regards,

Justo.
Help is a Beatiful word