That's what I was beginning to wonder about, thanks for the tip, testing now.
-David > -----Original Message----- > From: Stefano Bagnara [mailto:[EMAIL PROTECTED] > Sent: Friday, August 12, 2005 7:30 AM > To: 'James Users List' > Subject: Re: Multiple remote delivery mailets > > Hi David, > Your problem is that both RemoteDelivery use the same outgoing spool. > So your mail are directed to the 2 different remotedelivery but both store > the mail in the same queue to send. So you "lose" the original intent. > > Just use file://var/mail/outgoing-ratemod/ for the second remote delivery. > > Stefano > > > Hi I am using a james server in front of two qmail servers, > > and it *should* be matching email from certain domains and > > forwarding to one server or the other. I put both > > RemoteDelivery mailet sections in the transport processor, > > with specific HostIs matchers for the domains. Problem is, > > James seems to randomly be deciding which remotedelivery to > > run and deliver to, irregardless of host name. here is what > > my config looks like: > > > > <mailet match="HostIs=dailydoselearning.com" > > class="RemoteDelivery"> > > <outgoing> file://var/mail/outgoing/ </outgoing> > > <outgoing> db://maildb/spool/outgoing </outgoing> > > <delayTime> 5 minutes </delayTime> > > <delayTime> 10 minutes </delayTime> > > <delayTime> 45 minutes </delayTime> > > <delayTime> 2 hours </delayTime> > > <delayTime> 3 hours </delayTime> > > <delayTime> 6 hours </delayTime> > > <maxRetries> 25 </maxRetries> > > > > <deliveryThreads> 10 </deliveryThreads> > > <sendpartial>false</sendpartial> > > > > <gateway> mail.dailydoselearning.com </gateway> > > <gatewayPort>25</gatewayPort> > > </mailet> > > > > <mailet match="HostIs=ratemod.com,ratemod.net" > > class="RemoteDelivery"> > > <outgoing> file://var/mail/outgoing/ </outgoing> > > <delayTime> 5 minutes </delayTime> > > <delayTime> 10 minutes </delayTime> > > <delayTime> 45 minutes </delayTime> > > <delayTime> 2 hours </delayTime> > > <delayTime> 3 hours </delayTime> > > <delayTime> 6 hours </delayTime> > > <maxRetries> 25 </maxRetries> > > > > <deliveryThreads> 10 </deliveryThreads> > > > > <sendpartial>false</sendpartial> > > > > <gateway> mail.ratemod.com </gateway> > > <gatewayPort>25</gatewayPort> > > </mailet> > > > > Both of those are at the start of the transport processor. Any ideas? > > > > Thanks, > > David > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.6/69 - Release Date: 8/11/2005 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
