Hi, I don't know, whether there is a built in support in James for serve mail for multiple domains, with same username (eg. [EMAIL PROTECTED] and [EMAIL PROTECTED]) So I created a simple solution, you just add the user to the user repo with full address (eg [EMAIL PROTECTED]) 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
Description: Zip compressed data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
