Operating System - HP-UX
1863016 Members
1575 Online
110446 Solutions
New Discussion

Re: Sendmail to two different hosts

 
SILVERSTAR
Frequent Advisor

Sendmail to two different hosts

I configured sendmail to send mail to stargate server:
# "Smart" relay host (may be null)
DSstargate

I would like configure sendmail to send all the email to [email protected] to another server.

Is it possible ??
4 REPLIES 4
Fred Ruffet
Honored Contributor

Re: Sendmail to two different hosts

You should set alias on server stargate for this user.
--

"Reality is just a point of view." (P. K. D.)
KapilRaj
Honored Contributor

Re: Sendmail to two different hosts

By doing ,

DSstargate you have configured sendmail to use stargate as it's relay server that means for smtp deliveries will be done thru that host. If [email protected] is an email id and u want to send an email to that address , u just need to send email with To:[email protected]

echo Hello |mail -s Test email [email protected]

Kaps
Nothing is impossible
SILVERSTAR
Frequent Advisor

Re: Sendmail to two different hosts

Is it possible to have a second relay host only for mail to [email protected] ?
Berlene Herren
Honored Contributor

Re: Sendmail to two different hosts

Checkout smart table

Smart Table (sendmail)
ABSTRACT
The document describes how to make sendmail select smart host [e-mail relay host] based on envelope sender address (full address or domain part only).

http://anfi.homeunix.net/sendmail/smarttab.html

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm