Jun 03 2020 05:45 AM
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
Jun 03 2020 08:04 AM
Hi @Charlie Jones,
Jun 03 2020 12:32 PM
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 .
Jun 03 2020 01:56 PM
@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
Jun 03 2020 10:27 PM
Hi @Salman M. Rafique, it seems you forgot to explain how to add an X-header to the message.
Jun 06 2020 10:07 PM
@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
Then, how to leverage them with transport rules in EXO -
Mail flow rule conditions and exceptions (predicates) in Exchange Online
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.
Jun 08 2020 10:54 AM
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.
Jun 10 2020 05:44 AM
Hi @Charlie Jones, you have to write a custom piece of software to do what you want.