From owner-freebsd-questions Sat Apr 24 8:14:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from grizzly.fas.com (cc69528-a.mtpls1.sc.home.com [24.6.61.166]) by hub.freebsd.org (Postfix) with ESMTP id 160A514F0B for ; Sat, 24 Apr 1999 08:14:39 -0700 (PDT) (envelope-from stanb@awod.com) Received: by grizzly.fas.com ($Revision: 1.37.109.23 $/16.2) id AA056066878; Sat, 24 Apr 1999 11:14:38 -0400 Subject: How to configure sendmail to rewrite user id? To: freebsd-questions@freebsd.org (Free BSD Questions list) Date: Sat, 24 Apr 1999 11:14:37 -0400 (EDT) From: "Stan Brown" X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1362 Message-Id: <19990424151440.160A514F0B@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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