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]