question

53793876 avatar image
0 Votes"
53793876 asked joyceshen-MSFT commented

Replace header from:

Hello, there is a possibility at the level of logical headers from: you need to make one name for several boxes. %companyname% but only for sending to external recipients.

When I try to enable the rule, I get:

error
You can't set header 'From' with value '"asdfasdfas" <info@hosting.com>'

office-exchange-online-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @53793876

Do suggestions below help?

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered

You can't change a header like that in a message with a transport rule.

You address re-writing if this is on-prem with the Edge role if you want to change that field

https://techcommunity.microsoft.com/t5/exchange-team-blog/why-is-my-address-rewriting-not-working-as-expected/ba-p/607458

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered

Hi @53793876

What's your Exchange server version or are you using Exchange online?

Yes, agree with Andy's reply above, we can't rewrite a system generated message header by transport rules. The only allowed rewriting is on the Edge server role or use a custom transport agent (Transport agents are available in versions of Exchange starting with Exchange 2007. Transport agents are not supported in Office 365 or Exchange Online).

Address rewriting on Edge Transport servers
Microsoft Exchange Edge Address Rewrite with Exchange Online

And more related information about transport agent:
Creating transport agents for Exchange 2013
From Address Rewriting in a Transport Agent for a Exchange 2007 Hub Server


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
 

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.