Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!wuarchive!udel!rochester!rit!ultb!mwg8908 From: mwg8908@ultb.isc.rit.edu (M.W. Goheen) Newsgroups: comp.mail.sendmail Subject: sendmail.cf - help matching a class of domain names Message-ID: <1659@ultb.isc.rit.edu> Date: 22 Nov 89 23:43:07 GMT Organization: Rochester Institute of Technology, Information Systems Lines: 23 I (and a few other sendmail.cf newcomers) spent a good deal of yesterday bashing a config file senseless trying to get a rule that would strip off all the possible addresses that were local to our site. The list is something like: ultb.isc.rit.edu isc.rit.edu ultb.rit.edu rit.edu ultb I tried putting those in a class and matching them, but that didn't work, I think probably because the tokens like "rit.edu" don't match the broken apart form that sendmail generates (i.e. < "@" "rit" "." "edu" > ). I ended up using a brute force kludge (generate a line for EACH possible name). We also tried used the $=w class, but couldn't seem to get anywhere with that either (perhaps the same problem?). Any tips/help would be greatly appreciated! Matt Goheen mwg8908@ultb.isc.rit.edu