Operating System - HP-UX
1856463 Members
2629 Online
104113 Solutions
New Discussion

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 gwfax@domain.com 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 gqfax@domain.com is an email id and u want to send an email to that address , u just need to send email with To:blal@blal.blal

echo Hello |mail -s Test email gwfax@domain.com

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 gwfax@mydomain.com ?
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