Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 00:47:25 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Gary Kline <kline@tao.thought.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tao.thought.org is back.....
Message-ID:  <20061019214725.GA1683@gothmog.pc>
In-Reply-To: <20061019193854.GC11212@thought.org>
References:  <20061018211258.GA1350@thought.org> <20061018215708.GB93083@gothmog.pc> <20061019001443.GC3342@thought.org> <EA1428C1-A621-4DC4-85DD-02C208EBF62C@mac.com> <20061019193854.GC11212@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-10-19 12:38, Gary Kline <kline@tao.thought.org> 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.




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