Score:0

Additional mail check by a custom script on Exchange Server

mc flag

Customer would like to check e-mail content (including attachment parsing) from a list of accounts and, in case of some detected trigger words, to send a copy of the mail to a person who has to be aware.

A fast head-on solution was to send copies of all received mails to an in-between address, which is monitored by the parsing script developed in Python. However it is an additional load for the Exchange mail server deployed at the customer side.

Is there a smarter way, e.g., on the level of hub transport servers, to have the mail check with a custom self-developed script/program for a defined list of corporate accounts (addresses only in the list, without access credentials)?

Score:1
us flag

If you really need to run some custom logic applied to a mail flow, you can go with Exchange Transport Agents. With them you can get your custom code invoked during specific stages of the SMTP sessions or message processing. This feature is available in on-premises Exchange only.

See Microsoft docs for more details: https://learn.microsoft.com/en-us/exchange/mail-flow/transport-agents/transport-agents?view=exchserver-2019

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.