Date: Fri, 1 Jun 2001 07:31:41 -0600 From: Duke Normandin <01031149@3web.net> To: Giorgos Keramidas <keramidi@otenet.gr> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail domain re-writting Message-ID: <20010601073140.A82381@mandy.rockingd.calgary.ab.ca> In-Reply-To: <20010531220932.M1126-100000@hades.hell.gr>; from "Giorgos Keramidas" on Fri, Jun 01, 2001 at 07:40:16AM References: <20010531095722.A13118@polands.org> <20010531220932.M1126-100000@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 01, 2001 at 07:40:16AM +0300, Giorgos Keramidas wrote: > On Thu, 31 May 2001, Doug Poland wrote: > > > Sorry for *yet another sendmail* question. This should be > > a simple solution.. > > > > I want sendmail on my 4.3-STABLE box to strip off the hostname > > part of my email address. For example: > > > > doug@mybox.mydomain.com > > > > becomes > > > > doug@mydomain.com > > > > Given a stock sendmail.cf, how does one accomplish this? > > Yes, you can use FEATURE(genericstable) to do that. > In my master-config file I have: > > FEATURE(`genericstable', `btree -o /etc/mail/genericstable')dnl > GENERICS_DOMAIN(`hell.gr')dnl > FEATURE(`generics_entire_domain')dnl > > Generated my sendmail.cf again and copied it to /etc/mail. > Then, I added in my /etc/mail/genericstable file: > > charon@hades.hell.gr keramidi@otenet.gr > > Make the genericstable map the usual way: > > # cd /etc/mail > # makemap btree genericstable < genericstable > > And all is set to go. What mail I sent from <charon@hades.hell.gr> will be > rewritten to look as if it came from <keramidi@otenet.gr>. > Hi giorgos.... Could you explain the difference between using 'genericstable' and the 'masquerade' feature. I suppose my confusion is semantical, as the above _seems_ to be a 'masquerade' as well. ;) TIA... -- -duke Calgary, Alberta, Canada 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?20010601073140.A82381>