Separate alias disclaimer | Exchange Online

%3CLINGO-SUB%20id%3D%22lingo-sub-1436011%22%20slang%3D%22en-US%22%3ESeparate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1436011%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20is%20it%20possible%20to%20create%20a%20rule%20that%20appends%20different%20disclaimers%20depending%20on%20the%20alias%20the%20message%20is%20sent%20from%3F%3C%2FP%3E%3CP%3Eexample%3A%3C%2FP%3E%3CP%3E(Primary)%3D%20%3CA%20href%3D%22mailto%3Ame%40web1.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eme%40web1.com%3C%2FA%3E%3C%2FP%3E%3CP%3E(Alias)%3D%20%3CA%20href%3D%22mailto%3Ame%40web2.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eme%40web2.com%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20want%20two%20separate%20signatures%2C%20if%20possible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20rgds%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1436011%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1436486%22%20slang%3D%22en-US%22%3ERe%3A%20Separate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1436486%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98375%22%20target%3D%22_blank%22%3E%40Charlie%20Jones%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CFONT%3EHi%2C%3CBR%20%2F%3EI%20think%2C%20it%20is%20possible.%20Please%20check%20the%20rule%20possibility%20as%20follows%20from%20your%20exchange%20control%20panel%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rule.png%22%20style%3D%22width%3A%20838px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F196209iCAE9639507AA462C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22rule.png%22%20alt%3D%22rule.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1438392%22%20slang%3D%22en-US%22%3ERe%3A%20Separate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1438392%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98375%22%20target%3D%22_blank%22%3E%40Charlie%20Jones%3C%2FA%3E%2C%20please%20describe%20in%20details%20how%20do%20you%20send%20as%20alias.%3C%2FP%3E%3CP%3EAs%20far%20as%20I%20know%20you%20cannot%20send%20as%20alias%20nor%20with%20desktop%20Outlook%20nor%20with%20OWA%20.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1438636%22%20slang%3D%22en-US%22%3ERe%3A%20Separate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1438636%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98375%22%20target%3D%22_blank%22%3E%40Charlie%20Jones%3C%2FA%3E%26nbsp%3BOne%20possible%20option%20I%20can%20see%20right%20off%20the%20bat%20is%20to%20use%20custom%20%22X-header%22%20for%20your%20requirement.%20You%20can%20always%20leverage%20custom%20X-headers%20along%20with%20some%20unique%20value%20to%20the%20message%20sent%20using%20primary%20SMTP%20address%3A%26nbsp%3B%3CA%20href%3D%22mailto%3Ame%40web1.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eme%40web1.com%26nbsp%3B%3C%2FA%3Eand%20then%20a%20different%20(but%20unique)%20value%20if%20the%20message%20get%20triggered%20using%20alias%20address%3A%20%3CA%20href%3D%22mailto%3Ame%40web2.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eme%40web2.com%26nbsp%3B%3C%2FA%3Eetc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20action%2C%20how%20to%3F%3C%2FP%3E%3CP%3E%2B%2B%2B%2B%2B%2B%2B%2B%2B%2B%2B%2B%3C%2FP%3E%3CP%3EDetect%20the%20sender%20address%20along%20with%20custom%20X-header%20value%20in%20your%20existing%20disclaimer%20transport%20rule%20for%20default%20domain%20(For%20primary%2C%26nbsp%3B%26nbsp%3Buse%20default%2C%20web1%20company%20disclaimer)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20secondary%20domain%2C%20create%20a%20new%20transport%20rule.%20Insert%20you%20demo%20web2%2C%20company%20disclaimer%20only%20if%20the%20custom%20X-header%20you%20specified%20for%20the%20domain2%2C%20web2.com%20is%20present.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20luck%20%26amp%3B%26nbsp%3BCheers%2C%20Sammy%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1439274%22%20slang%3D%22en-US%22%3ERe%3A%20Separate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1439274%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F133851%22%20target%3D%22_blank%22%3E%40Salman%20M.%20Rafique%3C%2FA%3E%2C%20it%20seems%20you%20forgot%20to%20explain%20how%20to%20add%20an%20X-header%26nbsp%3B%20to%26nbsp%3B%20the%20message.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1445935%22%20slang%3D%22en-US%22%3ERe%3A%20Separate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1445935%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F100937%22%20target%3D%22_blank%22%3E%40Victor%20Ivanidze%3C%2FA%3E%26nbsp%3BOpps..my%20bad%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3ESo%2C%20X-Custom%20Header%20can%20be%20inserted%20with%20little%20code%20development.%3CBR%20%2F%3ESee%3A%26nbsp%3B%3CBR%20%2F%3EProvision%20x-headers%20by%20using%20EWS%20in%20Exchange%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fexchange-web-services%2Fhow-to-provision-x-headers-by-using-ews-in-exchange%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fexchange-web-services%2Fhow-to-provision-x-headers-by-using-ews-in-exchange%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%2C%20how%20to%20leverage%20them%20with%20transport%20rules%20in%20EXO%20-%26nbsp%3B%3CBR%20%2F%3EMail%20flow%20rule%20conditions%20and%20exceptions%20(predicates)%20in%20Exchange%20Online%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fsecurity-and-compliance%2Fmail-flow-rules%2Fconditions-and-exceptions%23message-headers%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fsecurity-and-compliance%2Fmail-flow-rules%2Fconditions-and-exceptions%23message-headers%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20courtesy%20to%20MVP%2C%20he%20shared%20using%20Outlook%20Macro%2FVBA%20code%20I%20think.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fforums.slipstick.com%2Fthreads%2F8388-x-header-insertion-issue%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fforums.slipstick.com%2Fthreads%2F8388-x-header-insertion-issue%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanx.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1449068%22%20slang%3D%22en-US%22%3ERe%3A%20Separate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1449068%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F133851%22%20target%3D%22_blank%22%3E%40Salman%20M.%20Rafique%3C%2FA%3E.%20so%20you%20suggestion%20is%20to%20add%20a%20piece%20of%20software%20to%20each%20Outlook%3F%3C%2FP%3E%3CP%3EI'm%20afraid%20a%20topic%20starter%20will%20not%20be%20very%20happy%20then.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1453628%22%20slang%3D%22en-US%22%3ERe%3A%20Separate%20alias%20disclaimer%20%7C%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1453628%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98375%22%20target%3D%22_blank%22%3E%40Charlie%20Jones%3C%2FA%3E%2C%20you%20have%20to%20write%20a%20custom%20piece%20of%20software%20to%20do%20what%20you%20want.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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

Hi @Charlie Jones,

 

Hi,
I think, it is possible. Please check the rule possibility as follows from your exchange control panel
rule.png
Highlighted

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 .

Highlighted

@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: me@web1.com and then a different (but unique) value if the message get triggered using alias address: me@web2.com etc.

 

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

Highlighted

Hi @Salman M. Rafique, it seems you forgot to explain how to add an X-header  to  the message.

Highlighted

@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-...

 

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-exc...

 

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.

 

Highlighted

Hi @Salman M. Rafique. so you suggestion is to add a piece of software to each Outlook?

I'm afraid a topic starter will not be very happy then.

Highlighted

Hi @Charlie Jones, you have to write a custom piece of software to do what you want.