1832574 Members
4621 Online
110043 Solutions
New Discussion

sendmail outbound

 
SOLVED
Go to solution
Gary Yu
Super Advisor

sendmail outbound

Hi,

I'm preparing a testing environment for some mail function. I've installed sendmail on my HPUX 11.0 box as standalone host, and I can send/receive mails between local users.

Now I've set up a PC with outlook SMTP server in the same subnet, how can I configure my sendmail to talk with the outlook mail server?

Thanks!
1 REPLY 1
Anu Mathew
Valued Contributor
Solution

Re: sendmail outbound

Hi there,

I assume that you are referring to MS-Exchange mail server.

To route all your out-bound mails thru the Exchange server, configure it as the "Smart host" in the sendmail.cf file in /etc/mail directory. The relevant part of the sendmail.cf will be as follows:

------------------
# "Smart" relay host (may be null)
DSexchange.foo.com
-----------------------------

Where, exchange.foo.com is the name for your Exchange SMTP server.

In case you meant Outlook client (MUA-mail user agent) for checking the mails on the PC for a user, you need to install a POP-2/POP-3 server on the HP server. I use qpopper which you can download from the web. Please note that there may be a restriction on accessing mails for reserved uids (like 0) by POP protocol, (almost all secure unix setups welcome that restriction.)

Hope this helps.

Anu Mathew