From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 14:56:24 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 647FB16B0D5 for ; Thu, 8 Jun 2006 12:57:12 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id F21AC43D4C for ; Thu, 8 Jun 2006 12:57:11 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.136] (helo=anti-virus01-07) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1FoK4T-0000IS-SH; Thu, 08 Jun 2006 13:57:09 +0100 Received: from [80.192.2.223] (helo=[192.168.0.2]) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1FoK4T-0001G6-2R; Thu, 08 Jun 2006 13:57:09 +0100 Message-ID: <44881EA4.10207@dial.pipex.com> Date: Thu, 08 Jun 2006 13:57:08 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: a@zeos.net References: <20060607172044.GG923@localhost> <71E6E95B-C77A-4563-863F-12E0BA8C78BD@mac.com> <20060608050653.GB757@localhost> In-Reply-To: <20060608050653.GB757@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: On mail principles 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, 08 Jun 2006 14:56:29 -0000 a@zeos.net wrote: >On Wed, Jun 07, 2006 at 05:43:23PM -0400, Charles Swiger wrote: > > >>On Jun 7, 2006, at 1:20 PM, a@zeos.net wrote: >> >> >>>But this way is bad for local purposes: my MTA's diagnostic messages are sent >>>trough internet or lost at all, e. g. when my ADSL is in down. >>>(Moreover, my letters sent to other local users have non-local "envelope from" >>>address. Then local mail begin to go through external MTA.) >>> >>>What to do in such a situation? >>> >>> >>See the sendmail documentation [1] on MASQUERADE_AS(). >> >>-- >>-Chuck >> >>[1]: /usr/share/sendmail/cf/README, or check the FAQ from www.sendmail.org... >> >> > >That is not a proper feature because of different local users can use world >mail addresses with different hostnames. But masquerading is good only for >one domain. > > I believe newer postfixes have support for "masquerading" different local users with different external addresses when sending mail externally. Haven't tried it: just noted the feature in some email somewhere for future evaluation, so take with the usual pinch of salt. --Alex