📜 ⬆️ ⬇️

Exchange 2013 transport queue is no longer a single mailing point

image For many years, the transport queue has been the place where the entire Exchange mail flow was processed. In Exchange 2013, they even refused local mail delivery in order for the entire mail flow to go through the transport queue and be checked for spam, viruses, policy requirements, and so on.

But now there are exceptions to this rule - the new transport agent in CU9 behaves quite differently than expected, and the Clutter service in Exchange Online quietly adds messages directly to mailboxes. Not sure if this is a good trend.

When the next cumulative update of CU9 for Exchange 2013 came out in June 2015, I thought there would be no surprises with it. To be honest, the CU9 looked like a very weighted, verified update. But only as long as you are not interested in what mystic is going on with the letters used by the Health Service to monitor the databases.

As you know, a special Health Mailbox is created in each Exchange mail database, which is used to send messages to monitor the availability of the database. It is obvious that e-mail messages are sent with good intentions, but only they interfere with the work of some other subsystems, for example, e-mail journaling. Few people want to look at the message log, littered with monitoring letters, especially since Exchange generates them in very abundant quantities.
')
After hearing plenty of complaints, Microsoft decided it was time to do something. Meet - "System Probe Drop SMTP Agent", debuting in CU9 as a new way to deliver monitoring messages bypassing the transport queue. Well, that did not get into the queue, did not fall into the magazine. PROFIT.

After all, Microsoft is known to all precisely how carefully she listens to user problems. Without documentation, without warnings, in our time of flexible (agile) programming, we take the new code and immediately into the release, without being distracted by any nonsense that accompanies traditional development methods.

Maybe this approach works well in Office Online. But it should be borne in mind that the functionality of Office 365 is sometimes somewhat different from the corporate counterpart. For example, you cannot set an Exchange Online mailbox as a mailbox that stores journaling messages, simply because Office 365 involves journaling out of service.

The law of "unexpected consequences" manifested itself fully when, after the release of CU9, it was discovered that the new method of message delivery conflicts with Vamsoft's ORF anti-spam software, since the latter removes the recipient information from the diagnostic messages. I suppose that no Exchange developer expected a similar effect, which once again proves how wrong it is to make changes to such a complex product, guided only by the spirit of flexible programming and other newfangled things. Perhaps if third-party developers were notified in advance of a change in functionality, this would not have happened.

You may ask why it was necessary at all to interfere in the work of the transport line in such a strange way? But by and large there is nothing to worry about the fact that system messages are processed using special rules. But only if these rules are known, understood and documented. Problems arise when the functionality is specifically hidden, and the light on it suddenly shed only when problems arise.

And this is not the only example of non-standard mail creation. Another questionable example of the use of this technology is the Clutter service in Exchange Online that messages are sorted. These notifications are created and placed in the user's mailbox directly; there is no close transport queue there. This entertaining fact opened when some customers tried to filter out these intrusive notifications. It was then that it was found out that it is impossible for them to create a transport rule simply because they do not pass through transport.

Of course, developers create products with the best of intentions. No one argues. But Microsoft developers live inside the bubble, not noticing that there is a world outside Office 365. The more they put pressure on developers in pursuit of new functionality, the more problems it brings. So there will always be something to write about.

Source: https://habr.com/ru/post/264155/


All Articles