Are there restrictions in email addresses that prohibit someone from using two periods in a row? For example is [EMAIL PROTECTED] a valid address? If that is legit, then someone could use [EMAIL PROTECTED] if they want which would break the pattern. Just nitpicking. I suppose it is not a big deal to have the admin tool not allow that particular substring.

Also, the username column in users table needs to be increased in size to handle long domains. I think the rfc states 68 characters? So using your format it would need to be 64 + 6 + 68 (user + "..at.." + domain). Is there any harm in just changing the sql.xml file? I wouldn't think so, but just checking. Does the column length of 64 mean anything special?

Daniel Perry wrote:

I finally found some time to finish my james virtual hosting solution.

Everything is available from:
http://www.netcase.co.uk/daniel/james

virtualhosting.txt describes how to use it - if there is interest i will
rewrite this into somthing more readable.

The modified sources, james.jar, james.sar and a dist are available.

This customized version of james:
-includes dynamic servername checking - uses virtual hosting table for
domain names as well as config.xml
-requires @ symbols in usernames, so you can have the same user at more that
one host
-includes a (php based) web admin tool for users
-no need to restart server for adding domain/users
-includes an init.d script for phoenix and altered phoenix.sh (better
checking of .pid file process to make sure james actually starts)

However it also means:
-config tool no longer usable
-requires mysql for users and virtualusers
-you are relying on software i wrote to work properly - no guarentees :)

Hope this is of some use to someone.
Drop me an email if you have any questions.

Daniel.


--------------------------------------------------------------------- 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]



Reply via email to