You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Zsombor Gegesy <de...@mailbox.hu> on 2002/09/29 04:44:53 UTC
multi host support
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