From dlai@hopper.mti.sgi.com Mon Dec 9 16:35:13 1996 Date: Sun, 8 Dec 1996 00:38:08 -0800 (PST) From: David Lai To: ryan@pcslink.com, chris@westnet.com Subject: Re: New stuff for the /providers/ page I did a bit of improvement over Ryans sendmail suggestion. Ryan's fix removes an important feature of Robert Sanders fix, namely mapping unknown users to a postmaster, ie: (from rsanders' email) someplace.com spowner With these changes, one can use the entire mapping of domains by using a key with '@'. # virtual domain handler # database # key value meaning # ======== ==== ======================== # x@d u x@d -> u # d u unmatched_user@d -> u # @a b u@a -> u@b # R$+ < @ $+ . > $: $1 < @ $2 > . R$+ < @ $+ > $* $: $(maildomains $1@$2 $: $1 < @ $2 > $3 $) R$+ < @ $+ > $* $: $(maildomains $2 $: $1 < @ $2 > $3 $) R$+ < @ $+ > $* $: $1 < @ $(maildomains @$2 $: $2 $) > $3 R$+ < @ $+ @ $+ > $* $: $2 < @ $3 > $4 R$+ < @ $+ > . $: $1 < @ $2 . > # end of virtual domain handler Send comments + improvements to dlai@sgi.com -- David Lai http://reality.sgi.com/dlai