Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2009 13:00:32 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Greg.Stark@sungard.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail to Relay different domains to different hosts
Message-ID:  <20090206190032.GA13084@dan.emsphone.com>
In-Reply-To: <EE14DD41CD710E48908C707C66E2B4BC03838F09@VOO-EXCHANGE05.internal.sungard.corp>
References:  <EE14DD41CD710E48908C707C66E2B4BC03838F09@VOO-EXCHANGE05.internal.sungard.corp>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 06), Greg.Stark@sungard.com said:
> I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of our
> servers.  These servers relay messages to both internal recipients and
> external customers.  I need to be able to relay mail destined to our
> internal domain recipients to our corporate mail servers but relay
> everything else out to our usual smart host.  So basically, I am looking
> to relay emails destined for a certain domain to one host and the rest of
> the mail to another.  Does anyone know how I could configure sendmail to
> accomplish this?

You want to use the /etc/mail/mailertable file:

http://www.sendmail.org/m4/mailertables.html

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090206190032.GA13084>