# # # Message-Id: Date: Wed, 14 Dec 1994 09:24:31 +0000 (GMT) From: Philip Hazel Subject: Re: phantom domains/mx records (fwd) To: "James H. Thompson" In-Reply-To: > Assuming xxx.com and yyy.com have mx records pointing to the same > host and those names are in the more_hostnames, > Is there any way to have > > aaa@xxx.com > and > aaa@yyy.com > > go to different mailboxes? Not in the standard smail. However, I happen to have considered this point a few weeks ago, and I have a patch for smail-3.1.29 that adds a "domains" attribute to the generic attributes for directors which allows you to do this. The patch has been tested by me, but has not been run in a live system. In conjunction with this it is helpful to have Nigel Metheringham's patch which allows a transport to be specified for a smartuser director. (He released this for 3.1.28, but I don't know if he has released a 3.1.29 version - I ported my own version.) If you have this you can then set up a directors file in the following style: # Handle xxx.com director1: domains="xxx.com", # Catch unknown names at xxx.com director2: driver=smartuser, transport=".....", domains="xxx.com", # Handle yyy.com director3: domains="yyy.com", #Catch unknown names at yyy.com director4: driver=smartuser, transport=".....", domains="yyy.com", # No messages for "xxx.com" or "yyy.com" will ever get this far director5: director for all remaining domains, without the need to list them all in "domains" -- Philip Hazel University Computing Service, ph10@cus.cam.ac.uk New Museums Site, Cambridge CB2 3QG, P.Hazel@ucs.cam.ac.uk England. Phone: +44 1223 334714