[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    multi host support
From:       Zsombor Gegesy <deepspace () mailbox ! hu>
Date:       2002-09-29 2:44:53
[Download RAW message or body]

Hi,
 I don't know, whether there is a built in support in James for serve mail for
multiple domains, with same username (eg. info@my.domain and
info@other.domain) So I created a simple solution, you just add the
user to the user repo with full address (eg info@my.domain) and
modify the config.xml to include a matcher-mailet pair in the transport
processor:

  <mailet match="RecipientIsLocalFullAddress" class="LocalDeliveryFullAddress"/>

and modify the mail repository, to use instead of
o.a.j.m.JDBCMailRepositoryFullAddress instead of
o.a.j.m.JDBCMailRepository, and o.a.j.m.JDBCSpoolRepositoryFullAddress
instead of o.a.j.m.JDBCSpoolRepository.

That's all ... feel free, to use :)


Best regards,
 Zsombor

["multidomain.zip" (application/x-zip-compressed)]

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic