From owner-freebsd-questions@FreeBSD.ORG Tue Aug 4 01:01:06 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A074B106566B for ; Tue, 4 Aug 2009 01:01:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1B6E88FC15 for ; Tue, 4 Aug 2009 01:01:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id BE159EB53F8; Tue, 4 Aug 2009 04:01:04 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id A23014509B; Tue, 4 Aug 2009 04:01:04 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26oemszAFj3D; Tue, 4 Aug 2009 04:01:04 +0300 (EEST) Received: from kobe.laptop (adsl48-68.kln.forthnet.gr [77.49.175.68]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 6319845088; Tue, 4 Aug 2009 04:01:04 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n74113kP043054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Aug 2009 04:01:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n741122U043053; Tue, 4 Aug 2009 04:01:02 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: fbsd@dannysplace.net References: <4A763BDD.2010308@dannysplace.net> <4A767180.7080108@dannysplace.net> Date: Tue, 04 Aug 2009 04:01:02 +0300 Message-ID: <87ab2gtmsx.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: Sendmail Masqurading and root mails 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: Tue, 04 Aug 2009 01:01:06 -0000 On Mon, 03 Aug 2009 15:11:28 +1000, Danny Carroll wrote: > Jeffrey Goldberg wrote: >> I found the answer to your problem here: >> >> http://www.grok.org.uk/docs/smroot.html >> >> The file that is being included which has the >> >> EXPOSED_USER(`root') >> >> line lives at >> >> /usr/share/sendmail/cf/domain/generic.m4 > > It seems your google-fu is much better than mine. > Thanks so much for your help. There are a *lot* of details like this in your system. It just takes a bit of experience to look for the ``right option name'' and a bit of time to read through the file: /usr/share/sendmail/cf/README The part that hints at the default expose option for the `root' user reads: : Normally only header addresses are masqueraded. If you want to : masquerade the envelope as well, use : : FEATURE(`masquerade_envelope') : : There are always users that need to be "exposed" -- that is, their : internal site name should be displayed instead of the masquerade name. : Root is an example (which has been "exposed" by default prior to 8.10). : You can add users to this list using : : EXPOSED_USER(`usernames') There's a great amount of information in that README file. I often find by re-reading it that there are still details I was missing so far :-)