From owner-freebsd-isp@FreeBSD.ORG Sun Jul 27 12:09:27 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 543C137B401 for ; Sun, 27 Jul 2003 12:09:27 -0700 (PDT) Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DF6343F3F for ; Sun, 27 Jul 2003 12:09:26 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from ren (ren [207.195.92.131]) by ren.sasknow.com (8.12.6p2/8.12.6) with ESMTP id h6RJ9PS4008255; Sun, 27 Jul 2003 13:09:25 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 27 Jul 2003 13:09:25 -0600 (CST) From: Ryan Thompson To: Schalk Erasmus In-Reply-To: <001201c3546c$b6b6f2b0$0265de0a@Fujitsu> Message-ID: <20030727130246.G6461-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-isp@freebsd.org Subject: Re: Urgent BSD - SendMail Query X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2003 19:09:27 -0000 Schalk Erasmus wrote to freebsd-isp@freebsd.org: > Hi, > > I urgently need to setup a SendMail Server to reroute (relay) all > e-mails (detined for certain domains) to another Mail Server. > > However, I've not setup SendMail before, and need some pointers. > > I looked at the .MC file, with no refference to domains, and or relay > options. Easy. Look up /etc/mail/relaydomains and /etc/mail/mailertable relaydomains: domain1.com domain2.net domain3.ca mailertable: domain3.ca smtp:mail.domain3.ca . smtp:mail.someotherdomain.com In the above configuration, mail for domain3.ca is forwarded to the server mail.domain3.ca. Mail for all other domains listed in relaydomains is then forwarded to mail.someotherdomain.com. This email is really no substitute for the Sendmail documentation, and this doesn't have much to do with FreeBSD.. but this should get you going. :-) - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America