Include sender mail address in disclaimer

%3CLINGO-SUB%20id%3D%22lingo-sub-2115784%22%20slang%3D%22en-US%22%3EInclude%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2115784%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EToday%20I%20have%20an%20External%20Disclaimer%20configured%20in%20my%20Exchange%20Online%20and%20it's%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%22%5BEXTERNAL%5D%3C%2FSTRONG%3E%20This%20email%20originated%20outside%20the%20organization.%20Do%20not%20click%20any%20links%20or%20attachments%20unless%20you%20know%20the%20sender.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20have%20anti-phishing%20enabled%20and%20%22%3CSPAN%3EUser%20impersonation%22%20enabled%20in%20our%20C-Level%20users.%20But%20to%20improve%20our%20security%20I%20would%20like%20to%20know%20if%20it's%20possible%20to%20add%20a%20%22variable%22%20of%20%25%25from%25%25%20on%20disclaimer.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20would%20like%20to%20let%20disclaimer%20like%20this.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3E%22%5BEXTERNAL%5D%3C%2FSTRONG%3E%20This%20email%20originated%20outside%20the%20organization.%20Do%20not%20click%20any%20links%20or%20attachments%20unless%20you%20know%20the%20sender.%20The%20Original%20Sender%20of%20this%20email%20is%20%3CU%3E%3CSTRONG%3E%25%25from%25%25%20(e-mail%20address%20of%20sender)%3C%2FSTRONG%3E%3C%2FU%3E%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EPaulo%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2115784%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2118079%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118079%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20I%20searched%20a%20lot%20and%20can't%20found%20a%20native%20solution%20on%20Exchange%20Online%20to%20do%20it.%20It's%20possible%20to%20do%20it%2C%20but%20I%20will%20need%20to%20have%20a%20third%20party%20application%20(antispam).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2117032%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2117032%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%2F945422%22%20target%3D%22_blank%22%3E%40saifs19802210%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ecould%20you%20show%20how%20this%20rule%20rewrites%20%25%25Email%25%25%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2117028%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2117028%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F486807%22%20target%3D%22_blank%22%3E%40PauloFrisolio%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20try%20to%20research%20on%20disclaimer%20and%26nbsp%3B%3CSPAN%3Eadd%20a%20%22variable%22%20of%20%25%25from%25%25%20on%20disclaimer.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20per%20article-%3CA%20href%3D%22https%3A%2F%2Fcommunity.spiceworks.com%2Ftopic%2F2194881-adding-variable-to-link-for-exchange-online-mail-flow-rule%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fcommunity.spiceworks.com%2Ftopic%2F2194881-adding-variable-to-link-for-exchange-online-mail-flow-rule%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20We%20can%20use%26nbsp%3B%3CSPAN%3EDIV%20tag%20i.e.%20something%20like%3A%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CA%20href%3D%22https%3A%2F%2Funsubscribe.contoso.com%2F%25%25Email%25%25%26lt%3B%2Fdiv%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Funsubscribe.contoso.com%2F%25%25Email%25%25%3C%2FA%3E%3C%2FDIV%3E%26gt%3B%20in%20the%20disclaimer%20txt%20which%20you%20can%20see%20in%20the%20above%20article.%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E-%20I%20tried%20to%20reproduce%20the%20same%20in%20my%20Office%20365%20trial%20portal%2C%20but%20due%20to%20IP%20restriction%20for%20INDIA%20I%20cannot%20send%20test%20email%20out%20from%20my%20tenant%20to%20test%20this.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E-%20I%20would%20suggest%20if%20you%20could%20test%20the%20same%20in%20your%20tenant.%26nbsp%3B%20Please%20find%20attached%20Image%20of%20my%20tenant%20and%20disclaimer%20txt.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saifs19802210_0-1612719330348.png%22%20style%3D%22width%3A%201048px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253078iADE81C404FA89638%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saifs19802210_0-1612719330348.png%22%20alt%3D%22saifs19802210_0-1612719330348.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116995%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116995%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%2F486807%22%20target%3D%22_blank%22%3E%40PauloFrisolio%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EExchange%20cannot%20do%20what%20you%20want%20natively.%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20have%20to%20create%20something%20like%20that%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fivasoft.com%2Ftagexternal.shtml%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ETagExternal%20for%20Exchange%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116558%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116558%22%20slang%3D%22en-US%22%3E%3CP%3EThat's%20not%20possible%2C%20variables%20such%20as%20%25%25from%25%25%20can%20only%20be%20used%20with%20specific%20actions%2C%20and%20adding%20a%20disclaimer%20is%20not%20one%20of%20them.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116067%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116067%22%20slang%3D%22en-US%22%3EIf%20you%20have%20configured%20using%20office%20365%20transport%20rules%20then%20you%20can%20do%20it%20from%20Office%20365%20admin%20portal.%3CBR%20%2F%3EGo%20to%20Log%20in%20to%20the%20Exchange%20Admin%20Center.%20Once%20logged%20in%2C%20navigate%20to%20Mail%20Flow%20%26gt%3B%26gt%3B%20Rules%26gt%3B%20Edit%20the%20rule%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20add%20a%20condition%20in%20it%20with%20The%20Original%20Sender%20of%20this%20email%20is%20%25%25from%25%25%20(e-mail%20address%20of%20sender)%22%3CBR%20%2F%3E%3CBR%20%2F%3EReference-%20%3CA%20href%3D%22https%3A%2F%2Fsupertekboy.com%2F2020%2F02%2F17%2Fadd-external-sender-disclaimer-in-office-365%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupertekboy.com%2F2020%2F02%2F17%2Fadd-external-sender-disclaimer-in-office-365%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2127968%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2127968%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%2F486807%22%20target%3D%22_blank%22%3E%40PauloFrisolio%3C%2FA%3E%2C%20have%20a%20look%20at%20%3CA%20href%3D%22https%3A%2F%2Fivasoft.com%2Ftagexternal.shtml%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ETagExternal%20tool%3C%2FA%3E.%20It%20allows%20you%20to%20use%20the%20%3CSTRONG%3E%25%25From%25%25%3C%2FSTRONG%3E%20variable.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2128142%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2128142%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%2F100937%22%20target%3D%22_blank%22%3E%40Victor%20Ivanidze%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20info%2C%20it's%20really%20useful%2C%20but%20in%20my%20case%20I'm%20using%20the%20Exchange%20Online%20on%20MS365.%20Do%20you%20know%20if%20we%20have%20any%20similar%20tool%20for%20Exchange%20Online%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2128144%22%20slang%3D%22en-US%22%3ERe%3A%20Include%20sender%20mail%20address%20in%20disclaimer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2128144%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%2F486807%22%20target%3D%22_blank%22%3E%40PauloFrisolio%3C%2FA%3E%2C%20we%20are%20going%20to%20release%20it%20soon%20-%20I'll%20inform%20you%20here.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi all,

 

Today I have an External Disclaimer configured in my Exchange Online and it's working.

 

"[EXTERNAL] This email originated outside the organization. Do not click any links or attachments unless you know the sender."

 

I also have anti-phishing enabled and "User impersonation" enabled in our C-Level users. But to improve our security I would like to know if it's possible to add a "variable" of %%from%% on disclaimer.

 

I would like to let disclaimer like this.

 

"[EXTERNAL] This email originated outside the organization. Do not click any links or attachments unless you know the sender. The Original Sender of this email is %%from%% (e-mail address of sender)"

 

Regards,

 

Paulo

9 Replies
If you have configured using office 365 transport rules then you can do it from Office 365 admin portal.
Go to Log in to the Exchange Admin Center. Once logged in, navigate to Mail Flow >> Rules> Edit the rule

You can add a condition in it with The Original Sender of this email is %%from%% (e-mail address of sender)"

Reference- https://supertekboy.com/2020/02/17/add-external-sender-disclaimer-in-office-365/


That's not possible, variables such as %%from%% can only be used with specific actions, and adding a disclaimer is not one of them.

@PauloFrisolio 

 

I did try to research on disclaimer and add a "variable" of %%from%% on disclaimer.

 

As per article-https://community.spiceworks.com/topic/2194881-adding-variable-to-link-for-exchange-online-mail-flow...

 

- We can use DIV tag i.e. something like: <div>https://unsubscribe.contoso.com/%%Email%%</div> in the disclaimer txt which you can see in the above article.

- I tried to reproduce the same in my Office 365 trial portal, but due to IP restriction for INDIA I cannot send test email out from my tenant to test this.

- I would suggest if you could test the same in your tenant.  Please find attached Image of my tenant and disclaimer txt.

 

saifs19802210_0-1612719330348.png

 

 

Hi @saifs19802210,

 

could you show how this rule rewrites %%Email%%? 

@Vasil Michev 

 

Thanks, I searched a lot and can't found a native solution on Exchange Online to do it. It's possible to do it, but I will need to have a third party application (antispam).

Hi @PauloFrisolio, have a look at TagExternal tool. It allows you to use the %%From%% variable. 

Hi @Victor Ivanidze 

 

Thanks for the info, it's really useful, but in my case I'm using the Exchange Online on MS365. Do you know if we have any similar tool for Exchange Online?

Hi @PauloFrisolio, we are going to release it soon - I'll inform you here.