On Mon, 18 Aug 2003 17:23:39 -0700, Stephen Warren <[EMAIL PROTECTED]> wrote:
> I'm using tmda-cgi 0.11 on a system with name-based virtual domains. > > If I go to the Address page, and attempt to generate e.g. a keyword > address, leaving "use address" blank, tmda-cgi will use > "[EMAIL PROTECTED]" ([EMAIL PROTECTED]) instead of > [EMAIL PROTECTED] (the ID I logged in with). How about I add: HOSTNAME = "%(Domain)s" to the skel/install/.tmda/config file instead of patching the address generator? That way HOSTNAME gets put in the config file correctly so it won't get guessed incorrectly when you generate an address. > On thinking about this, on a system with IP-based virtual domains, I'm > guessing tmda-cgi should somehow grab the actual domainname from the > virtual user info script, cat this onto the end of the user ID used to > login, and pass this into the address factory, so that works too... I don't know what would happen in such a case. I don't have a machine compiled that way. Can anyone out there test this? Personally, I think if such a situation causes a screw up, it is just up to the sysadmin to adjust the skel files. > Either that, or the X-Primary-Address should be parsed out of the user's > tmda config files. tmda-cgi's default install does define this. Gre7g. _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
