Date: Sun, 25 Apr 1999 12:06:01 -0400 (EDT) From: "Stan Brown" <stanb@awod.com> To: freebsd-questions@freebsd.org (Free BSD Questions list) Subject: Sendmail config help, please Message-ID: <19990425160604.31A0414C2E@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990425160604.31A0414C2E>