*BSD News Article 82491


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!math.ohio-state.edu!jussieu.fr!eurocontrol.fr!polaris.eurocontrol.fr!not-for-mail
From: Ollivier.Robert@eurocontrol.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Virtual Domain Sendmail problem
Date: 8 Nov 1996 10:03:13 GMT
Organization: Eurocontrol EEC, Bretigny, France
Lines: 29
Message-ID: <55v0h1$fg1@polaris.eurocontrol.fr>
References: <01bbc75d$4d085be0$d16ffea5@mel.vrtx.com> <01bbcd96$4c544440$1364d9cd@kevin.akorn.net>
NNTP-Posting-Host: mozart.eurocontrol.fr
X-Newsposter: Pnews 4.0-test46 (31 Oct 96)

    [courtesy cc of this posting sent to cited author via email]

In article <01bbcd96$4c544440$1364d9cd@kevin.akorn.net>,
Kevin D. Sellars <kevin@akorn.net> wrote:
> then I issue this command to write it into the out.db:
> 
> /usr/local/src/mail/sendmail-8.7.3/makemap/makemap hash /etc/out <
> /home/kevin/mailshit/se

Sendmail 8.8.2 can do it "out-of-the-box" with the "virtusertable" feature.

virtusertable   A domain-specific form of aliasing, allowing multiple
                virtual domains to be hosted on one machine.  For example,
                if the virtuser table contained:

                        info@foo.com    foo-info
                        info@bar.com    bar-info
                        @baz.org        jane@elsewhere.net

                then mail addressed to info@foo.com will be sent to the
                address foo-info, mail addressed to info@bar.com will be
                delivered to bar-info, and mail addressed to anyone at
                baz.org will be sent to jane@elsewhere.net.  All the host
                names on the left hand side (foo.com, bar.com, and baz.org)
                must be in $=w.  The default map definition is:

-- 
Ollivier ROBERT   -=- Eurocontrol EEC/TS -=-   Ollivier.Robert@eurocontrol.fr
FreeBSD FAQ: <URL:http://www.FreeBSD.org/FAQ/>