[ http://issues.apache.org/jira/browse/JAMES-716?page=comments#action_12452572 ] Norman Maurer commented on JAMES-716: -------------------------------------
Here are the things i changed: - Add a config.xml option enableVirtualHosting in the james block which is set to false as standart (old behavoir) - getUserInBox(String) [MailServer interface] now take the fullemail address as username. If virtualHosting is disabled it only use the user before the '@' ( mimic old behavoir). If only a user without a domain is given it mimi the old behavoir. If virtualHosting is enabled and an emailaddress is given as username it takes the full emailaddress as username. If the InboxURL starts with file:// (FileRepository) it store the inbox in (example): file://var/mail/inboxes/domain/user/ - RemoteManager now can be used to list users of a given domain. If a username with an @ is given and virtualHosting is enabled but the domain is not present in the DomainList it print an error message - ToMultiRepository use the fullemailaddress to get the users inbox. > Add support for VirtualHosting > ------------------------------ > > Key: JAMES-716 > URL: http://issues.apache.org/jira/browse/JAMES-716 > Project: James > Issue Type: New Feature > Reporter: Norman Maurer > Assigned To: Norman Maurer > Fix For: Trunk > > Attachments: virtualHosting.diff > > > We should support real virtualhosting -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
