From owner-freebsd-questions Sun Apr 25 9: 6: 6 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 31A0414C2E for ; Sun, 25 Apr 1999 09:06:03 -0700 (PDT) (envelope-from stanb@awod.com) Received: by grizzly.fas.com ($Revision: 1.37.109.23 $/16.2) id AA277576361; Sun, 25 Apr 1999 12:06:01 -0400 Subject: Sendmail config help, please To: freebsd-questions@freebsd.org (Free BSD Questions list) Date: Sun, 25 Apr 1999 12:06:01 -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: 2291 Message-Id: <19990425160604.31A0414C2E@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I need for my FreeBSD 2.2.8 machine to send mail, and have it appear as though it comes from my ISP account, since I don;t have a real domain, and my usier ID on my machines is differetn from my user ID on the ISP machine. Thanks to Mark Ovens, I know have masquerading working so my maill now apperas to come from the isp's doamin. However I am still trying to get my user name rewriten. Mark pointed me to a web page describing how to do this, but the method of doing it thier requires creating a dummy account on my machine with the user name from the ISP> I really don;t want to do this, since I ahve in the past done it in i what I consider a much easire way. This involves just using sendmails rewrite rules. However the problem is that I was using an earlier version of sendmail at the time. Version 5.65 to be specific. With thisa version, I was able to add the following rules to ruleet 11: Rstan<$+> $:stanb<$1$.> rewrite sender to awod acount name Rsandi<$+> $:sandib<$1$.> For sandi also Which originaly looked like: 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 And all was well. The veersion of sendmail installed on my 2.2.8 machne is 8.8.8.1 And now ruleset 11 looks like: S11 R$+ $: $>51 $1 sender/recipient common R$* :; <@> $@ list:; special case R$* $: $>61 $1 qualify unqual'ed names R$+ $: $>94 $1 do masquerading And appending the two rewrite rules no longer works. Can some kind soul give me some guidance ere? 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