What you are trying to do must be done in sendmail first, and majordomo
second. In sendmail you need to utilize the virtusertable for each list
being hosted, and in majordomo you need separate majordomo.cf files for
each domain. I would recommend separate list directories for each domain
too.
Dan Liston
Tom Rawson wrote:
>
> I am virtually hosting a couple of domains under a master (ie all at the
> same IP). Two virtually hosted domains use majordomo lists (1.94.4, I
> have 1.94.5 source as well). I would like to separate them so they use
> different config files, principally to set $whereami differently so that
> things end up at the right domain.
>
> I know I can specify a different config file on the resend command line
> but this does not seem sufficient as part of the problem is that
> majordomo's responses to the various list owners are not always going to
> the right domain.
>
> I can see a number of ways to address this if I recompile wrapper, but I'd
> like to know if there is a simpler method.
>
> Also, if there is not ... I have some problems with recompiling wrapper.
> The version of wrapper currently in use on my system, provided by the ISP
> and in use with 1.94.4, is about 1K long, which makes sense given the
> 1.94.5 wrapper source I've looked at. It's not a complex program.
> However when I compile with the 1.94.5 source just as a test I get a 58K
> file! I'm a C programmer and I can go generate maps and dig into this,
> but I'm not familiar with gcc and I thought maybe someone knew of a quick
> explanation. Presumably the link is pulling in something I don't need,
> and/or the compiler is generating debug info by default (though that seems
> unlikely). I'm on BSDI 3.1 and the installed compiler is gcc 1.42.
>
> Thanks for any tips.
>
> ----------
> Tom Rawson trawson@jpsoft.com
> JP Software Inc. http://www.jpsoft.com/
Follow-Ups:
References:
|
|