> > However, we need to match ~200 domains to be delivered
> > as internet inbound mail.
>
> What are you trying to do that isn't covered by adding
> each to the <servernames> list in config.xml?
>
> > do a DNS lookup on the domain check to see if one of the
> > returned MX record(s ) matches the 'target IP Address'
>
> This sounds like you are trying to replace the
> <servernames> list with a DNS lookup.
maybe it wasn't explained very well -
James is being used ONLY as a front line (gateway) for all
inbound SMTP traffic.
James must validate all incoming mail so that all mail let
through is either for local POP3 delivery or outbound from
allowed networks.
This was illustrated by the provide processor.
I need a way to identify mail - in the pipeline - as either
inbound for local delivery , or outbound from a valid
network.
The <server> tag, as I understand it, has no direct
connection to a Mailet/Matcher pair, nor is there any
implied interaction betwen the two.
Therefore, it can't be used for this purpose.
In order for me to validate and direct mail, processed by
James, I need to use a processor that implements the
RemoteDelivery mailet.
In order to match mail to be processed for local delivery, I
need to match 425 hosts.
I cannot maintain this list in the James config.xml file.
Since all of these hosts share a common MX record, the
soluiton we came up with to match on this MX record.
---------------------------------------------------------
<processor name="gateWay">
<mailet match="HostIs= 192.168.200.100/32 "
class="RemoteDelivery">
<outgoing> file://var/mail/relay/ </outgoing>
<delayTime> 21600000 </delayTime>
<maxRetries> 5 </maxRetries>
<deliveryThreads> 1 </deliveryThreads>
<gateway> my.gateway.com </gateway>
<gatewayPort>25</gatewayPort>
</mailet>
<mailet match="RemoteAddrNotInNetwork= 192.168.201.0/24 "
class="Null"/>
<mailet match="All" class="RemoteDelivery">
<outgoing> file://var/mail/outgoing/ </outgoing>
<delayTime> 21600000 </delayTime>
<maxRetries> 5 </maxRetries>
<deliveryThreads> 1 </deliveryThreads>
</mailet>
</processor>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]