[prev in list] [next in list] [prev in thread] [next in thread] 

List:       firewalls-gc
Subject:    Re: Rewriting User Names
From:       etxrosd () nmac ! ericsson ! se (Robert Stahlbrand)
Date:       1997-02-01 11:18:44
[Download RAW message or body]

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
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic