scs@itivax.iti.org (Steve Simmons) (10/11/89)
We're looking at issues of doing MX forwarding for some sites around here, and someone came up with an interesting suggestion. Here's the deal. Suppose we have a domain, mi.org. Suppose we convince the NIC to point *.mi.org at us. Using IDA sendmail, we set up a bunch of table entries that go: foo.mi.org -> foo, deliver via UUCP. What would be nice is to have some pattern matching/substitution, so that *.mi.org would always resolve to '*' (ie, stripping the mi.org) unless there was an explicit match (we have cases where 'foo.mi.org' has the uucpname 'bar'). Please don't write and tell me that sendmail rules can be made to do this. We know that. We're using IDA because we hate the &^%^$# sendmail.cf files, and IDA saves us from dealing with it. IDA docs make no reference to this sort of feature, and a quick grep of the source didn't find regexp. In a similar vein, we'd like to do geographic matching. This would let us map lokkur.dexter.mi.us -> lokkur b-tech.ann-arbor.mi.us -> b-tech from a master like <host>.<anycity>.mi.us -> host In a similar
anselmo-ed@cs.yale.edu (Ed Anselmo) (10/11/89)
On 10 Oct 89 17:11:14 GMT, scs@itivax.iti.org (Steve Simmons) said: Steve> Suppose we have a domain, mi.org. Suppose we convince the NIC to Steve> point *.mi.org at us. Using IDA sendmail, we set up a bunch of Steve> table entries that go: Steve> foo.mi.org -> foo, deliver via UUCP. Steve> What would be nice is to have some pattern matching/substitution, Steve> so that *.mi.org would always resolve to '*' (ie, stripping the Steve> mi.org) unless there was an explicit match (we have cases where Steve> 'foo.mi.org' has the uucpname 'bar'). cardiology.ummc.umich.edu runs the mi.org nameserver. You can configure the MX records any old way you'd like, without intervention from the NIC. Just tell the person who runs the mi.org nameserver. Of course, mi.us is another story. I never found any way to do the regexp matching, but then again, it's not that hard to do the mapping *IF* the host is directly connected to the MX forwarder. The thing that I could never get IDA to do was MX for hosts that weren't directly connected to the forwarder. It looks do-able with a little hacking on the sendmail.cf. But this depends on intermediate hosts not mucking with things and causing nasty loops. Steve> In a similar Something missing here? -- Ed Anselmo anselmo-ed@cs.yale.edu {harvard,decvax}!yale!anselmo-ed