> I need a way to identify mail - in the pipeline - as either
> inbound for local delivery , or outbound from a valid
> network.

"inbound for local delivery" is usually matched by RecipientIsLocal and
HostIsLocal.  Those use MailetContext.isLocalServer(String), which James
implements as:

  serverNames.contains(serverName.toLowerCase(Locale.US))

> I cannot maintain this list in the James config.xml file.

So we want to see if James is listed in the MX records for a domain.  That
would make it easier to configure James.  The lookup will be slower, since
it would require a DNS lookup, but would off-load the administration of the
list.

As an aside, the HostIs matcher isn't a network matcher.  It matches by
name.  This is important.  Address matching on destinations is only of
marginal utility because it doesn't hold up outside of simple
configurations.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to