From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 07:45:23 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 A99CE16CB54 for ; Thu, 8 Jun 2006 05:07:02 +0000 (UTC) (envelope-from a@zeos.net) Received: from mailgate.kv.ukrtel.net (mailgate.kv.ukrtel.net [213.179.244.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2289F43D49 for ; Thu, 8 Jun 2006 05:07:02 +0000 (GMT) (envelope-from a@zeos.net) Received: from localhost (localhost.kv.ukrtel.net [127.0.0.1]) by localhost (Postfix) with SMTP id 8FA691AF66A; Thu, 8 Jun 2006 08:07:01 +0300 (EEST) Received: from localhost.my.domain (unknown [82.207.124.177]) by mailgate.kv.ukrtel.net (Postfix) with ESMTP id AAPA4487B07513FE3; Thu, 8 Jun 2006 08:07:01 +0300 (EEST) Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.13.6/8.13.6) with ESMTP id k5856rtg000928; Thu, 8 Jun 2006 08:06:53 +0300 (EEST) (envelope-from a@zeos.net) Received: (from elisej@localhost) by localhost.my.domain (8.13.6/8.13.6/Submit) id k5856rQh000927; Thu, 8 Jun 2006 08:06:53 +0300 (EEST) (envelope-from a@zeos.net) X-Authentication-Warning: localhost.my.domain: elisej set sender to a@zeos.net using -f Date: Thu, 8 Jun 2006 08:06:53 +0300 From: a@zeos.net To: Charles Swiger Message-ID: <20060608050653.GB757@localhost> Mail-Followup-To: Charles Swiger , freebsd-questions@freebsd.org References: <20060607172044.GG923@localhost> <71E6E95B-C77A-4563-863F-12E0BA8C78BD@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <71E6E95B-C77A-4563-863F-12E0BA8C78BD@mac.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) 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 07:45:25 -0000 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.