Great Circle Associates Firewalls
(January 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Rewriting User Names
From: Robert Harker <harker @ harker . com>
Date: Fri, 31 Jan 1997 10:54:26 -0800 (PST)
To: ds3721 @ strydr . com, firewalls @ GreatCircle . COM

If you are using M4 to generate your sendmail.cf file (recommended) then the
genericstable feature allows you re-write the users address into an
arbitrary domain style address.  For example in your case you could use the
database entry:
	ds3721 @
 stryder .
 com	daves @
 stryder .
 com
to rewrite your address.

>From the cf/README file:
This feature will cause certain addresses originating in the local domain or a
domain listed in $=G to be looked up in a map and turned into another
("generic") form, which can change both the domain name and the user name.
This is similar to the userdb functionality.  The same types of addresses as
for masquerading are looked up, i.e. only header sender addresses unless the
allmasquerade and/or masquerade_envelope features are given.  The addresses
must be in the list of names given by the macros GENERICS_DOMAIN or
GENERICS_DOMAIN_FILE (analogously to MASQUERADE_DOMAIN and
MASQUERADE_DOMAIN_FILE, see below).

The argument of FEATURE(genericstable) may be the map defintion; the default
map definition is:
	hash -o /etc/genericstable
The key for this table is either the full address or the unqualified username
(the former is tried first); the value is the new user address.  If the new
user address does not include a domain, $j is used.

Hope this helps

RLH

   > For info about our "Managing Internet Mail, Setting Up and Trouble <
   > Shooting sendmail and DNS" and a schedule of dates and locations,  <
   > please send email to info @
 harker .
 com, or visit www.harker.com      <

Robert Harker						Harker Systems
Sendmail and TCP/IP Network Training			1180 Hester Ave
Network and Sysadmin Consulting				San Jose, CA 95126
harker @
 harker .
 com					408-295-9432


Indexed By Date Previous: Re: Highly available Internet connection
From: Chris Lonvick <clonvick @ cisco . com>
Next:
From: (nil)
Indexed By Thread Previous: Rewriting User Names
From: Dave Schnardthorst <ds3721 @ strydr . com>
Next: Firewall Consolidation
From: "Adrian F. Setton" <asetton @ lightech . com . ar>

Google
 
Search Internet Search www.greatcircle.com