# # From # Message-Id: From: Dan Trottier Date: Mon, 12 Dec 1994 17:43:59 -0500 To: "James H. Thompson" , Subject: Re: phantom domains/mx records On Dec 9, 11:22pm, "James H. Thompson" wrote: } Subject: phantom domains/mx records > We have serveral phantom domains that want to receive their > mail on our system. i.e. > > our system: xxx.com > phantom domain: yyy.com with MX record pointing to xxx.com > > Whats is the best way to tell smail running on xxx.com to deliver mail > addressed to aaa@yyy.com to aaa@xxx.com? We are likely to end up with a > large number (100 or so) of these. For the moment I added yyy.com to the > more_hostsnames line in the smail config file, but am not sure > if that was the best approach or how many host names I can put > on the line. We create a gateways map file and refer to it in the routers files with: gateways: +always, driver = pathalias, transport = smtp; file = maps/gateway.map, proto = lsearch The gateways file has the following in it: yyy.com xxx.com!%s zzz.com xxx.com!%s You have to make sure user names picked for yyy.com and zzz.com match the appropriate users on xxx.com or match an alias pointing the the right user. > > Thanks. > > Jim > jht@aloha.net > }-- End of excerpt from "James H. Thompson" dan -- Dan Trottier dan@maccs.dcss.McMaster.CA Dept of Computer Science & Systems ...!uunet.ca!lsuc!maccs!dan McMaster University (905) 525-9140 x23444