Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 1999 17:33:44 +0100
From:      Mark Ovens <markov@globalnet.co.uk>
To:        Stan Brown <stanb@awod.com>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: How to configure sendmail to rewrite user id?
Message-ID:  <19990424173344.C256@marder-1>
In-Reply-To: <19990424172438.A256@marder-1>; from Mark Ovens on Sat, Apr 24, 1999 at 05:24:38PM %2B0100
References:  <19990424151440.160A514F0B@hub.freebsd.org> <19990424172438.A256@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 24, 1999 at 05:24:38PM +0100, Mark Ovens wrote:
> 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.
> 

The full URL is:

http://www.freebsdzine.org/199902/features/mail.shtml


> I use mutt as my mailer and have this in my .muttrc file:
> 
> my_hdr From: Mark Ovens <markov@globalnet.co.uk>
> 
> 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
> 

-- 
      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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990424173344.C256>