Great Circle Associates Firewalls
(February 1997)
 

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

Subject: Re: Rewriting User Names
From: etxrosd @ nmac . ericsson . se (Robert Stahlbrand)
Date: Sat, 1 Feb 1997 11:18:44 +0100
To: firewalls @ GreatCircle . COM

Hi!

I have got a problem with makemap! When I run: makemap outnames.db < 
outnames.db.txt the following error-messege appears:
"makemap: Type btree not supported in this version"

The same happens if I use hash-option instead of btree. I know that I had some 
trouble when I compiled makemap (sendmail ver. 8.8.5) and it couldn't generate 
manpages but what the heck was my thought. I don't need manpages for makemap 
(maybe I need now). I run sendmail on solaris 2.5.
Is there someone else who are having the same problem?
Is there anyone who can share a copy of the makemap binary for Solaris 2.5?

###########################################################
#                 Robert Stahlbrand                       #
# Network and System Administrator OPLab and NMAC domains #
#                                                         #
#                 Ericsson Telecom AB                     #
#                      Box 333                            #
#                   43184 Molndal                         #
#                      Sweden                             #
#                  +46 31 7476162                         #
#                  +46 31 7472942 (fax)                   #
#                                                         #
#              robert @
 nmac .
 ericsson .
 se                    #
###########################################################


> >   Incoming mail to myself could be aliased to daves @
 stryder .
 com .
   When
> >   I send outgoing mail my return address currently shows ds3721 @
 stryder .
 com .
 
> >   The outgoing mail should show daves @
 stryder .
 com .
 
> > 
> > Can somebody give me some examples as to how this might be accomplished.
> > 
> 
> What you want to do is not so hard, just copy the following steps. It may look
> a little harder than it is if you don't know sendmail that well.
> 
> First, create a list of address translations, like this:
> 
> ds3721		daves
> real_name	alias_name
> 
> making sure that the lefthand column is unique.
> 
> Then run 'makemap btree name_of_database < address_translation_list'.
> 
> In your /etc/sendmail.cf file, add the following
> 
> Kout btree /location_of_database/name_of_database
> 
> Moutbound_mailer,	P=[TCP], F=mDFMuX, S=12, R=22, A=IPC $h, E=\r\n
> 
> S12
> # rewrite outbound (sender's) addresses to proper format
> R$+<@$+>$*			$1 @
 $2$3				remove
> canocalization, then
> R$+ @
 stryder .
 com			$:$>31 $1 @
 stryder .
 com		rewrite 
if in
> groups
> R$+ @
 $*stryder .
 com		$ @
 $1<@$2stryder.com>		make canocical
> 
> S31
> R$+ @
 stryder .
 com	$:$(out $1 $)
> R$+		$:$1 @
 stryder .
 com
> 
> (for all you sendmail experts, it may be a little rought around the edges, but
> its from
> off the top of my head).
> 
> Hope it helps,
> -joav
> 

Indexed By Date Previous: Re: ICMP Class 9; Code 0 in FW-1 Logs??
From: Chris Lonvick <clonvick @ cisco . com>
Next: Re: [Fwd: Re: MS Proxy as a firewall?]
From: Patrick Nefkens <pnefkens @ globalxs . nl>
Indexed By Thread Previous: Re: Rewriting User Names
From: Larry Glaze <lglaze @ mc2-csr . com>
Next: Re: Rewriting User Names
From: Robert Harker <harker @ harker . com>

Google
 
Search Internet Search www.greatcircle.com