Serge Knystautas wrote: > I know this is obvious, but Apache and Tomcat are webservers, and James > is a mail server. :) The point being, HTTP supports virtual hosting, > and POP3/IMAP do not. All mail servers that do support "virtual > hosting" do it with one of these hack approaches. >
Some food for thought: one possibility is to support the HTTPMail protocol as a James service. HTTPMail is the WebDAV-based protocol developed by Hotmail and used by MS Outlook (>=2002) and Outlook Express to access Hotmail, Lycos, MSN, and Spray.se. In Outlook config it is called simply "HTTP."
So, while not an IETF standard, it is in wide use and well supported by OSS, including 3 JavaMail providers.
- HTTPmail, JavaMail - http://www.kennethballard.com/Projects/HttpMail/ - jDAVmail, JavaMail - http://jdavmail.sourceforge.net/ - jHTTPmail, JavaMail - http://jhttpmail.sourceforge.net/
- httpmail, Perl - http://httpmail.sourceforge.net/ - Hotwayd, POP3 to HTTPMail gateway daemon. http://hotwayd.sourceforge.net/about/
HTTPMail supports message and folder manipulation as well as sending, so it would replace IMAP and SMTP in client connections. Security can be provided by HTTP 1.1 methods, such as Basic Auth and SSL (or, useful to corporations, SPNEGO), while being firewall-friendly.
I looked a little at AbstractJamesService and its implementations, but the truth is I'm barely a mailet hacker. If somebody wanted to start it, I'd be willing to help with documentation or testing. Or, I could use some help with architecture and what other Apache software I could leverage, such as any Slide utils, or if I should just create server responses manually, eg as Strings, should I use Slide server and/or Tomcat to proxy James, etc.
-enrique
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
