james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer ...@spam-box.de>
Subject Re: Get the current recip
Date Thu, 02 Feb 2006 14:50:50 GMT
Thats is what i did.. 
But when i use mail.getRecipient() to get a array of recips i get all
recipients but i just want to get the one the mail is spooled for..

bye
 
Am Donnerstag, den 02.02.2006, 15:45 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > Hi,
> > im not sure if you understand what i need to do.. or im not understand
> > you ;-)
> > 
> > we want to use james as relay. I need to set diffrent mailets for
> > diffrent domains.. So i need to spool them seperatly. After that i want
> > to call diffrent mailets for the recips based on the domain they belong
> > to. 
> > I thought the split in diffrent spools will be done automaticly when i
> > set remotedelivery for the diffrent domains to diffrent spool.
> 
> 
> <mailet match="HostIs=domain1.com" class="RemoteDelivery">
> 	.. remote delivery options ..
> </mailet>
> 
> <mailet match="HostIs=domain2.com" class="RemoteDelivery">
> 	.. remote delivery options ..
> </mailet>
> 
> <mailet match="All" class="RemoteDelivery">
> 	.. remote delivery options ..
> </mailet>
> 
> The use the gateway remotedelivery option when appropriate.
> 
> Stefano
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message