Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsfeed.internetmci.com!news.zeitgeist.net!news.greatbasin.net!usenet From: bruce@greatbasin.net (Bruce Robertson) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: Post.Office -- Any experience? Date: 01 Oct 1996 18:09:20 -0700 Organization: Great Basin Internet Services, Reno, NV Lines: 23 Sender: bruce@owl.greatbasin.net Distribution: world Message-ID: <x7pw32uq7z.fsf@owl.greatbasin.net> References: <3250B843.701B@555-1212.com> NNTP-Posting-Host: owl.greatbasin.net In-reply-to: Jeff Field's message of Mon, 30 Sep 1996 23:20:51 -0700 X-Newsreader: Gnus v5.0 >>>>> "Jeff" == Jeff Field <jfield@555-1212.com> writes: In article <3250B843.701B@555-1212.com> Jeff Field <jfield@555-1212.com> writes: Jeff> The reason for doing this is so that I can forward mail to Jeff> multiple domains, for example: Jeff> info@domain1.com info@domain2.com You can do this trivially with sendmail v8. Here's the relevant portions of our .mc file: Kmaildomains hash /etc/maildomains.db LOCAL_RULE_0 R$+ < @ $+ . > $: $1 < @ $2 > . R$+ < @ $+ > $* $: $(maildomains $1@$2 $: $1 < @ $2 > $3 $) R$+ < @ $+ > $* $: $(maildomains $2 $: $1 < @ $2 > $3 $) R$+ < @ $+ > . $: $1 < @ $2 . > -- Bruce Robertson, President/CEO +1-702-348-7299 Great Basin Internet Services, Inc. fax: +1-702-348-9412 PGP Key fingerprint = 03 2D A8 4A 37 07 FB 53 EB C9 02 5C E5 10 66 F2