Date: Tue, 25 Oct 2005 14:58:01 -0400 From: Chuck Swiger <cswiger@mac.com> To: stan <stanb@panix.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: sendmail/mailertable question Message-ID: <435E8039.4020205@mac.com> In-Reply-To: <20051025173932.GA13863@teddy.fas.com> References: <20051024223808.GA10918@teddy.fas.com> <9184F321-00C3-47C9-885C-014BFE245993@mac.com> <20051024230756.GA12082@teddy.fas.com> <435D917B.7040804@mac.com> <20051025024946.GA18256@teddy.fas.com> <435E5F62.5050002@mac.com> <20051025173932.GA13863@teddy.fas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
stan wrote: [ ... ] >>Yes and no. Masquerading is for mail which passes through the server, >>which includes mail being delivered locally from some other machine. > > OK, that makes sense. > > Next question, since sendmail is _already_ rewriting the address, why will > adding still more rewritng stop it from doing what it is doing now, since > Masquerading isn't enabled presently. There's a big long discussion of this in cf/README, but reasonable people have been known to find sendmail documentation non-informative. :-) It might be the case that using statements of the form: VIRTUSER_DOMAIN(`example.com')dnl ...in your .mc file may help exclude them from canonification. It may also be the case that what you want to do is going to be better handled by two SMTP servers, one as an external gateway, using and exposed to DNS and your wildcard MX records, and one internal mailserver which handles local delivery, masquerading, a mailertable distributing mail to any other local SMTP destinations (think mailserver/listservers running on other machines), and even use FEATURE nocanonify if you want to/have to disregard DNS entirely. Put a spamfilter/virusfilter on your external relay, which will then serve as your SMART_HOST for the internal mailserver. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435E8039.4020205>