From owner-freebsd-questions Sat Apr 24 9:29: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand3.global.net.uk (sand3.global.net.uk [194.126.80.247]) by hub.freebsd.org (Postfix) with ESMTP id 0583115135 for ; Sat, 24 Apr 1999 09:28:55 -0700 (PDT) (envelope-from marko@globalnet.co.uk) Received: from p2as11a06.client.global.net.uk ([195.147.219.43] helo=marder-1.) by sand3.global.net.uk with esmtp (Exim 2.05 #3) id 10b5IT-0002rv-00; Sat, 24 Apr 1999 17:28:53 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id RAA00310; Sat, 24 Apr 1999 17:24:38 +0100 (BST) (envelope-from marko) Date: Sat, 24 Apr 1999 17:24:38 +0100 From: Mark Ovens To: Stan Brown Cc: Free BSD Questions list Subject: Re: How to configure sendmail to rewrite user id? Message-ID: <19990424172438.A256@marder-1> References: <19990424151440.160A514F0B@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990424151440.160A514F0B@hub.freebsd.org>; from Stan Brown on Sat, Apr 24, 1999 at 11:14:37AM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 24, 1999 at 11:14:37AM -0400, Stan Brown wrote: > Thanks to the folks that have helped with this so far. > > I am runing FreeBSD 2.2.8 which has sendmail 8.8.8.1 installed on it. > > I have now gotten it configured to rewrite the domain name from am > unoffical one to the ISP's. This is a big step foward. > > Unfortunately the user ID's on my machine do not map directly to the > ISP's . For example I am "stan" on my machines, and "stanb" on his. I > used to rewrite this under HP-UX with a ruleset that looked like this: > Same here. I'm marko@localhost but the From: line needs to read markov@globalnet.co.uk. If you look at http://www.freebsdzine.org there was an in depth article about e-mail a couple of months ago. It included how to set up sendmail using m4. I just followed the instructions an it worked. I use mutt as my mailer and have this in my .muttrc file: my_hdr From: Mark Ovens Since sendmail is now setup to masquerade as globalnet.co.uk it leaves the user name alone. HTH > S11 > R$*<@$+.UUX> $@$2!$1<@$w> add local domain to UUCP address > R<@$+>:$* $@<@$w>:@$1:$2 add local domain to source route > R$+<@$+> $@$1<@$2> already has domain > R$+ $:$1<@$?Y$Y$|$w$.> add local domain > Rstan<$+> $:stanb<$1$.> rewrite sender to awod acount name > Rsandi<$+> $:sandib<$1$.> For sandi also > > How can I do the equivilint with this version of sendmail? > > Thanks. > > > -- > Stan Brown stanb@netcom.com 843-745-3154 > Westvaco > Charleston SC. > -- > Windows 98: n. > useless extension to a minor patch release for 32-bit extensions and > a graphical shell for a 16-bit patch to an 8-bit operating system > originally coded for a 4-bit microprocessor, written by a 2-bit > company that can't stand for 1 bit of competition. > - > (c) 1999 Stan Brown. Redistribution via the Microsoft Network is prohibited. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message