Re: SENDMAIL and virtusertable


To kbethke@ezy.net
From "Steve \"Stevers!\" Coile" <scoile@patriot.net>
Date Wed, 2 Jul 1997 09:14:43 -0400 (EDT)
cc inet-access@earth.com
In-Reply-To <199707012051.QAA04334@slab.ezy.net>
Reply-To inet-access@earth.com
Sender inet-access@earth.com

On Tue, 1 Jul 1997 kbethke@ezy.net wrote:
[...]
>Installing virtusertable is actually very easy.  Simply complie makemap,
>uncomment out the virt stuff in sendmail.cf, make your virt user database
>and go :)

Note that "uncomment out the virt stuff in sendmail.cf" includes
uncommenting the line near the beginning of the file *and* uncommenting
the rewrite rules for virtuser support near the end of the file
(the rewrite rules confounded me for a long time, until I resorted to
generating a sendmail.cf from the M4 configuration and compared the two
to find what I had missed).

Specifically, change:

#Kvirtuser dbm /etc/virtusertable

to:

Kvirtuser dbm /etc/virtusertable

(i.e. remove the leading hash (#)) and change:

# handle virtual users
#R$+ < @ $=w . >        $: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
#R< @ > $+ < @ $+ . >   $: < $(virtuser @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
#R< @ > $+              $: $1
#R< error : $- $+ > $*  $#error $@ $( dequote $1 $) $: $2
#R< $+ > $+ < @ $+ >    $: $>97 $1

to:

# handle virtual users
R$+ < @ $=w . >        $: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
R< @ > $+ < @ $+ . >   $: < $(virtuser @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
R< @ > $+              $: $1
R< error : $- $+ > $*  $#error $@ $( dequote $1 $) $: $2
R< $+ > $+ < @ $+ >    $: $>97 $1

(i.e. remove the leading hash (#) from the second through sixth lines).

-- 
    Steve Coile           P a t r i o t  N e t      Systems Engineering
 scoile@patriot.net      Patriot Computer Group        (703) 277-7737


============================== ISP Mailing List ==============================
Email ``unsubscribe'' to inet-access-request@earth.com to be removed.
Email ``subscribe'' to inet-access-request@earth.com to join the list.