As I mentioned above, there is one situation where I have found that the above configuration does not work. This is when email is sent to a canonical hostname in the virtual domain. For example, mail to [EMAIL PROTECTED] succeeds with no problems. Mail sent to [EMAIL PROTECTED], however, does not succeed. Where I've run into problems, according to the debug, is that in the 2nd case, mail.wkh.org never makes it into the mailertable definition, but gets rewritten to the primary host's canonical hostname in the virtusertable steps, e.g., [EMAIL PROTECTED] becomes [EMAIL PROTECTED] In the first example, [EMAIL PROTECTED] successfully makes it to the mailertable lookup, and everything works successfully from there. Since I very very rarely have any mail sent to the MX record's canonical host name, I can live with this (for now anyway :-).
Just for completeness, I found the problem I was mentioning here, and it didn't have anything to do with my sendmail.cf that I generated from the .mc rulesets I previously posted. It had everything to do with my being blind when looking at the local-host-names file. I had the mail.wkh.org hostname in there and that was short-circuiting the mailertable lookup.
Doh!
Will
---------------------------------------------------------------------------- William K. Hardeman [EMAIL PROTECTED] http://www.wkh.org
The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny ..." -- Isaac Asimov
Always listen to experts. They'll tell you what can't be done and why. Then do it. --Robert A. Heinlein --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html