From owner-freebsd-questions Mon Nov 4 5: 6:25 2002 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 C509537B401 for ; Mon, 4 Nov 2002 05:06:23 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A430943E42 for ; Mon, 4 Nov 2002 05:06:20 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gray.sea.gr (patr530-b177.otenet.gr [212.205.244.185]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gA4D6F5p006743; Mon, 4 Nov 2002 15:06:17 +0200 (EET) Received: from gray.sea.gr (gray [127.0.0.1]) by gray.sea.gr (8.12.6/8.12.6) with ESMTP id gA4D6djw008554; Mon, 4 Nov 2002 15:06:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gray.sea.gr (8.12.6/8.12.6/Submit) id gA4D59QI008333; Mon, 4 Nov 2002 15:05:09 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 4 Nov 2002 15:05:08 +0200 From: Giorgos Keramidas To: KizerSoze Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Default Sendmail install with FreeBSD Message-ID: <20021104130508.GB908@gray.sea.gr> References: <20021104080901.GA16056@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-11-04 03:16, KizerSoze wrote: > I have finally been able to get the masquerading setup on my machine > so that mail delivery from local accounts can actually make it to my > home system, but, sendmail DOES NOT masquerade the root account. > I'd like this one masqueraded so I can receive all the > daily/weekly/monthly emails. You have to change the list of usernames that are ``exposed'' in their unmasqueraded form. Try adding to your .mc file the following: EXPOSED_USER(`') > Does anyone know how to tell sendmail to also masquerade the root > account....every other account I try gets masqueraded BUT the root > account. That's because freebsd.mc includes a DOMAIN(generic) macro, which pulls in the file `/usr/share/sendmail/cf/domain/generic.m4'. That file contains the following line: EXPOSED_USER(`root') I hope this helps a bit. Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message