Forum Discussion

Charlie Jones's avatar
Charlie Jones
Copper Contributor
Jun 03, 2020

Separate alias disclaimer | Exchange Online

Hi is it possible to create a rule that appends different disclaimers depending on the alias the message is sent from?

example:

(Primary)= me@web1.com

(Alias)= me@web2.com

 

i want two separate signatures, if possible?

 

Kind rgds 

7 Replies

  • Charlie Jones One possible option I can see right off the bat is to use custom "X-header" for your requirement. You can always leverage custom X-headers along with some unique value to the message sent using primary SMTP address: mailto:me@web1.comand then a different (but unique) value if the message get triggered using alias address: mailto:me@web2.cometc.

     

    In action, how to?

    ++++++++++++

    Detect the sender address along with custom X-header value in your existing disclaimer transport rule for default domain (For primary,  use default, web1 company disclaimer)

     

    For secondary domain, create a new transport rule. Insert you demo web2, company disclaimer only if the custom X-header you specified for the domain2, web2.com is present.

     

    Good luck & Cheers, Sammy

      • Salman M. Rafique's avatar
        Salman M. Rafique
        Copper Contributor

        Victor_Ivanidze Opps..my bad 🙂

        So, X-Custom Header can be inserted with little code development.
        See: 
        Provision x-headers by using EWS in Exchange

        https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-provision-x-headers-by-using-ews-in-exchange

         

        Then, how to leverage them with transport rules in EXO - 
        Mail flow rule conditions and exceptions (predicates) in Exchange Online

        https://docs.microsoft.com/en-us/exchange/security-and-compliance/mail-flow-rules/conditions-and-exceptions#message-headers

         

        Here's courtesy to MVP, he shared using Outlook Macro/VBA code I think.

        https://forums.slipstick.com/threads/8388-x-header-insertion-issue/

         

        Thanx.

         

  • Victor_Ivanidze's avatar
    Victor_Ivanidze
    Bronze Contributor

    Hi Charlie Jones, please describe in details how do you send as alias.

    As far as I know you cannot send as alias nor with desktop Outlook nor with OWA .

Resources