Skip to content

Change of logic for recipient determination

Latest
Compare
Choose a tag to compare
@kavejo kavejo released this 15 Oct 08:11

Documentation

Documentation on: https://github.com/kavejo/TransportAgents/wiki

Information

This release implements a substantial change. The HeaderReroutingAgent used to determine if any given recipient was internal or external by relying on the RecipientCategory.IsSameOrganization property; this however under certain circumstances, such as when the Transport Agent runs on Edge Servers, might have been incorrectly populated for internal addresses not associated with a recipient in the organization (such as when a domain is shared across multiple organizations and set as InternalRelay).

As such, the HeaderReroutingAgent now checks, for each recipient, if the recipient domain (domain part of the SMTP Address) is an AcceptedDomain within the organization, if so, it marks the message as internal regardless of how Transport categorized it.

In the HeaderReroutingAgent class is also now available a check that validate if a recipient is internal based on the fact it can be resolved from the AddressBook. Whilst this value is currently not used, this is anyway surfaced on the Event Log for messages that are processed as it can ease investigations in case any troubleshooting is necessary.

Please do review the documentation, available on the wiki, for the agent(s) you plan to deploy for more information.

Note

The DLL is now digitally signed and timestamped.