Knowledge Base

Turning off email signatures in Microsoft Teams and Yammer notifications

Problem:

You want CodeTwo Email Signatures for Office 365 to stop adding email signatures to Microsoft Teams and Yammer notifications, group messages and voicemail notifications.

Solution:

If you don't want the software to add signatures to messages and notifications sent by Microsoft Teams and Yammer, you should exclude such emails from the CodeTwo Exchange transport rule.

Excluding Teams notifications and group messages from a mail flow rule

Teams notifications are sent from a specific domain depending on the region in which you are located. If you do not want signatures to be added to them, you need to add an exception in the CodeTwo Exchange transport rule. To do so, follow the steps below:

Important

In the example below we are using the amer.teams.ms domain. It is possible that in your case the domain will be different, e.g. apac.teams.ms, emea.teams.ms or email.teams.microsoft.com. Make sure to check which domain is the sender of Teams notifications in your specific case by analyzing the header of messages you receive in OWA or in the Outlook desktop app.

  1. Open the Microsoft 365 admin center and go to the Exchange admin center.
  2. Go to mail flow.
  3. Select the CodeTwo Exchange transport rule on the rules tab and click the Edit button (Fig. 1.).

Selecting the CodeTwo Exchange transport rule for editing.
Fig. 1. Selecting the CodeTwo Exchange transport rule for editing.

  1. Click the add exception button (Fig. 2.) in the Rule window.

Adding a new exception to the rule.
Fig. 2. Adding a new exception to the rule.

  1. Select The sender > domain is from the drop-down lists (Fig. 3.).

Selecting conditions for the exception.
Fig. 3. Selecting conditions for the exception.

  1. Enter the domain amer.teams.ms in the specify domain window, click the + (Add) button, and then click OK to add the domain to the exception (Fig 4.).

Adding the domain name to the exception.
Fig. 4. Adding the domain name to the exception.

  1. Click Save in the Rule window to confirm changes.

Excluding voicemail notifications from a mail flow rule

Voicemail messages sent from Teams/Yammer contain the Voice-CA value in the Content-Class header. If you don’t want CodeTwo Email Signatures for Office 365 to add signatures to such messages, you need to add a new exception to the CodeTwo Exchange transport rule. To do so, follow the steps below:

  1. Open the Microsoft 365 admin center and go to the Exchange admin center.
  2. Go to mail flow.
  3. Select the CodeTwo Exchange transport rule on the rules tab and click the Edit button (Fig. 5.).

Selecting the CodeTwo Exchange transport rule for editing.
Fig. 5. Selecting the CodeTwo Exchange transport rule for editing.

  1. Click the add exception button (Fig. 6.) in the Rule window.

Adding a new exception to the rule.
Fig. 6. Adding a new exception to the rule.

  1. Select A message header > includes any of these words from the drop-down lists (Fig. 7.).

Selecting conditions for the exception.
Fig. 7. Selecting conditions for the exception.

  1. Click Enter text in the transport rule window (Fig. 8.).

Defining the header exception.
Fig. 8. Defining the header exception.

  1. Enter Content-Class and confirm by clicking OK (Fig. 9.).

Adding the header name to the exception.
Fig. 9. Adding the header name to the exception.

  1. Click Enter words in the transport rule window (as shown in Fig. 8.), enter Voice-CA, click + (Add) and confirm by clicking OK (Fig. 10.).

Adding a header value to the exception.
Fig. 10. Adding a header value to the exception.

  1. Click Save in the Rule window to confirm the changes.

See also: