From owner-freebsd-questions@FreeBSD.ORG Thu Oct 19 21:47:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63F4A16A403 for ; Thu, 19 Oct 2006 21:47:08 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9594D43D49 for ; Thu, 19 Oct 2006 21:47:06 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-2) with ESMTP id k9JLkowq029363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 20 Oct 2006 00:46:52 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.8/8.13.8) with ESMTP id k9JLlRMH001703; Fri, 20 Oct 2006 00:47:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.8/8.13.8/Submit) id k9JLlP5a001702; Fri, 20 Oct 2006 00:47:25 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 20 Oct 2006 00:47:25 +0300 From: Giorgos Keramidas To: Gary Kline Message-ID: <20061019214725.GA1683@gothmog.pc> References: <20061018211258.GA1350@thought.org> <20061018215708.GB93083@gothmog.pc> <20061019001443.GC3342@thought.org> <20061019193854.GC11212@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061019193854.GC11212@thought.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.57, required 5, AWL -0.17, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20, UNPARSEABLE_RELAY 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: tao.thought.org is back..... 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: Thu, 19 Oct 2006 21:47:08 -0000 On 2006-10-19 12:38, Gary Kline wrote: >On Wed, Oct 18, 2006 at 05:22:44PM -0700, Chuck Swiger wrote: >> You can override MX prioritization by using a mailertable. >> >> But you will need to list IP addresses in square brackets to disable >> MX lookups and force other MX hosts to relay mail to where-ever you >> want. Therefore, the simple answer is to make sure that the final >> destination for email to your domain is listed as the highest- >> priority MX record (ie, lowest numeric MX value). >> >> And you will either need to masquarade for your domain, or you will >> need to list all of the hostnames for which email is being addressed >> to in class w (aka /etc/mail/local-host-names) on the mailserver >> which performs local delivery.... > > Solunds like a win.. hopefully. Can you sent me the mailtable > that I might use to have "kline@thought.org" goto zen.thought.org > and zivic@thought.org be forwarded to ns1.thought.org, and > grzegorz@thought.org be sent to ethos.thought.org? I see an > example as the equivalent of 10K words. I'll let Chuck write what he had in mind :) > > Is there ay way of testing this after I have set up my table > entries? In other words, how do I re-initialize things without > having to (ugh) *reboot*. If you modify `mailertable' in `/etc/mail', you should be able to run: # cd /etc/mail # make mailertable.db to update it. A reboot is not necessary for Sendmail changes.