From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 18:30:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F02CD106564A for ; Fri, 6 Feb 2009 18:30:24 +0000 (UTC) (envelope-from greg.stark@sungard.com) Received: from VA3EHSOBE002.bigfish.com (outbound-va3.frontbridge.com [216.32.180.16]) by mx1.freebsd.org (Postfix) with ESMTP id A3AE38FC17 for ; Fri, 6 Feb 2009 18:30:24 +0000 (UTC) (envelope-from greg.stark@sungard.com) Received: from mail105-va3-R.bigfish.com (10.7.14.236) by VA3EHSOBE002.bigfish.com (10.7.40.22) with Microsoft SMTP Server id 8.1.291.1; Fri, 6 Feb 2009 18:15:21 +0000 Received: from mail105-va3 (localhost.localdomain [127.0.0.1]) by mail105-va3-R.bigfish.com (Postfix) with ESMTP id 637107B02DA for ; Fri, 6 Feb 2009 18:15:21 +0000 (UTC) X-BigFish: VPS-10(zz1443RfecM10d1Izzzz22005hz2dh6bh41i42k43j61h) X-Spam-TCS-SCL: 0:0 X-FB-SS: 5, Received: by mail105-va3 (MessageSwitch) id 1233944119773665_12587; Fri, 6 Feb 2009 18:15:19 +0000 (UCT) Received: from us-voo-smtp04.internal.sungard.corp (unknown [216.83.166.45]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail105-va3.bigfish.com (Postfix) with ESMTP id AC435750061 for ; Fri, 6 Feb 2009 18:15:19 +0000 (UTC) Received: from us-voo-smtp12.internal.sungard.corp ([168.162.128.54]) by us-voo-smtp04.internal.sungard.corp with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Feb 2009 13:15:04 -0500 Received: from VOO-EXCHANGE05.internal.sungard.corp ([168.162.128.69]) by us-voo-smtp12.internal.sungard.corp with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Feb 2009 13:15:04 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Date: Fri, 6 Feb 2009 13:15:02 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Sendmail to Relay different domains to different hosts Thread-Index: AcmIhtSKpUVG+pcfQ1aZIaumKWmQ3w== From: To: X-OriginalArrivalTime: 06 Feb 2009 18:15:04.0182 (UTC) FILETIME=[D544C960:01C98886] Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Sendmail to Relay different domains to different hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 18:30:25 -0000 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? =20 Thanks in advance for your help. =20 Greg =20