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]
