This is true, pop3/smtp dont have a hostname header - but they do have a to address and a login - so you can work it out.
Incoming mails have a hostname in the to address.... (unless you're accepting mails to an ip.... which i think you have to do without). Logging into server - use [EMAIL PROTECTED] as the username. This works effectively for me. (note you have to patch james's code to work around not beign able to have @s in usernames) With very little effort james does provide a good virtual hosting solution. Btw, i have been working with a modified version of latest stable james. I havnt checked out the cvs verion of james - what new virtual hosting features will be added? Will i still have to patch it to convert "@'s" to "..at.." and also add code for treating any domains in virtual host table as local? Daniel. -----Original Message----- From: Danny Angus [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 15:06 To: James Users List Subject: Re: Virtual Domain Emulation - Cookbook? > P.S. Just out of curiosity, is there any plan to incorporate virtual domains natively in James in a future release? Would seem to me to be a pretty basic function and should be > native such as with Apache and Tomcat. Yes I'm going to do it, I've already done it once, and lost it in an hdd crash :-( I'm waiting until Noel's merged our two main branches, and will probably be implementing JNDI for resource lookups first. You should be aware that IP based Vhosting *is* fairly straightforward, but name based vhosting isn't as there is no equivalent in POP or IMAP to http's "Hostname" header for telling us what name you're trying to get. d. *************************************************************************** The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient (or responsible for delivery of the message to the intended recipient) please notify us immediately on 0141 306 2050 and delete the message from your computer. You may not copy or forward it or use or disclose its contents to any other person. As Internet communications are capable of data corruption Student Loans Company Limited does not accept any responsibility for changes made to this message after it was sent. For this reason it may be inappropriate to rely on advice or opinions contained in an e-mail without obtaining written confirmation of it. Neither Student Loans Company Limited or the sender accepts any liability or responsibility for viruses as it is your responsibility to scan attachments (if any). Opinions and views expressed in this e-mail are those of the sender and may not reflect the opinions and views of The Student Loans Company Limited. This footnote also confirms that this email message has been swept for the presence of computer viruses. ************************************************************************** --------------------------------------------------------------------- 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]
