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 Fri, 03 Feb 2006 06:08:29 GMT
Ah ok now i understand.. sorry ..

Just one more question. if i use  these config:

       <mailet match="HostIs=spam-box.de" class="RemoteDelivery">
             <outgoing> db://maildb/spool/outgoing1 </outgoing>
             <delayTime> 21600000 </delayTime>
             <maxRetries> 5 </maxRetries>
             <deliveryThreads> 8 </deliveryThreads>
             <gateway>192.168.0.100 </gateway>
             <gatewayPort>2525</gatewayPort>
         </mailet>

         <mailet match="HostIs=debian-made.de" class="RemoteDelivery">
             <outgoing> db://maildb/spool/outgoing2 </outgoing>
             <delayTime> 21600000 </delayTime>
             <maxRetries> 5 </maxRetries>
             <deliveryThreads> 8 </deliveryThreads>
             <gateway>192.168.0.110 </gateway>
             <gatewayPort>2525</gatewayPort>
	</mailet>

The Email will be splittet for the domains matched HostIs. Right ?
You  said "the remaining recipients will be passed to the following
HostIs matcher". So it should split the emails in the 2 RemoteDelivery
if a email is send to test@spam-box.de and test@debian-made.de .. I
think the problem is that is happen after the other mailets are
called .. right ?

So if i use HostIs= in the other mailets for each domain it will be
work ?


Sorry for being so dumb :-(

Thx for all your help

bye



Am Donnerstag, den 02.02.2006, 16:27 +0100 schrieb Stefano Bagnara:
> ts. A matcher or a mailet can split a single mail 
> with multiple recipients to multiple mail with single recipients, but 
> stop thinking that mails in the spool have a single recipient.
> 
> If you use HostIs then the mail is automatically splitted and only a
> new 
> mail with only the recipients matching the HostIs domain will run in
> the 
> RemoteDelivery for that matcher, and the remaining recipients will be 
> passed to the following HostIs matcher. 


---------------------------------------------------------------------
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