Daniel, If you haven't already, can you create a diff and store it as an issue in JIRA?
-- Serge Knystautas Lokitech >> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED] On 10/11/05, Daniel Perry <[EMAIL PROTECTED]> wrote: > I'm not sure if it would be accepted into james. Although it maintains > backward compatibility, in that it only does anything if you add the extra > attribute - so it wont break anything! > > It also has the sql hard coded in James.java - it might be better to > externalise this as with other SQL code. I have only used it with MySQL, > but i think the query should work with all SQL compatible servers. > > It's also a bit of a bodge, and it only works with virtualusertable. A more > generic way of specify local servers would be better - so that it can be > used by virtualusertable, xmlvirtualusertable, and also an added feature: > domains to accept relaying for, but not treat as local would be nice. > > The code as-is has been running in a 2.1.3 server and a 2.2.0 server (since > it came out). So i guess it's stable enough. > > If you want this to make it into james, make a patch against SVN trunk, > compile it, check it works, and submit it to JIRA. Or, moan at me a lot, > and i might do it for you :) > > Daniel. > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: 11 October 2005 14:51 > > To: James Users List > > Subject: RE: Automating management of servernames list? > > > > > > It seems to me that deriving the domains from the > > virtualusertable + the ones defined in config.xml would be the > > solution to make it dynamic. > > > > Could you indicate what needs to be done more to your james.java > > before it will be sound enough to implement > > it in the next version? > > > > Pierre > > > > Citeren Daniel Perry <[EMAIL PROTECTED]>: > > > > > I half-heartedly did this. It makes james treat all the domains in the > > > virtualusertable as local. > > > > > > New James.java is at: > > > http://www.netcase.co.uk/daniel/james/2.2.0RC4_UNTESTED/ > > > > > > (i recoment you run diff against the cvs version of 2.2.0 to > > see the code > > > changes. > > > > > > Daniel. > > > > > > > -----Original Message----- > > > > From: JWM [mailto:[EMAIL PROTECTED] > > > > Sent: 06 October 2005 22:15 > > > > To: [email protected] > > > > Subject: Automating management of servernames list? > > > > > > > > > > > > I suspect I know what the answer to this is. But it won't hurt to > > > ask... > > > > > > > > I would like to fully automate the process of adding/removing domain > > > names > > > > in my hosting environment. In the case of James, I have to manually > > > edit > > > > config.xml and add/remove <servername> tags. Has anybody written > > > anything > > > > that can automate this? Or do I simply need to write a perl script to > > > go > > > > massage the file? > > > > > > > > Sure would be nice if there was an option for James to read > > the list of > > > > valid server names from a DB table. > > > > > > > > Oh well, just dreaming... is the answer to write my own?? > > > > > > > > Thanks. > > > > > > > > JWM > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > -- > > _____________________________________________________________________ > > Nu 12 maanden gratis Live Eredivisievoetbal bij 20 Mb ADSL voor maar > > EUR 39,95 per maand. Bestel op www.versatel.nl/voetbal > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
