Mail Flow Rule For Reply-To

%3CLINGO-SUB%20id%3D%22lingo-sub-314723%22%20slang%3D%22en-US%22%3EMail%20Flow%20Rule%20For%20Reply-To%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314723%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20addition%20to%20the%20spam%20filters%20I%20was%20thinking%20of%20creating%20a%20mail%20flow%20rule%20based%20on%20the%20Reply-To%20address%2C%20which%20I%20don't%20think%20is%20inspected%20by%20the%20block%20list.%20(I%20may%20be%20wrong)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20not%20figure%20out%20how%20to%20create%20rule%20that%20would%20inspect%20for%20something%20like%20%22reply-to%20%3D%20user%40mail.com%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anybody%20suggest%20how%20I%20might%20create%20this%20rule%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-314723%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-314852%22%20slang%3D%22en-US%22%3ERe%3A%20Mail%20Flow%20Rule%20For%20Reply-To%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314852%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20exactly%20do%20you%20want%20to%20%22inspect%22%3F%20With%20transport%20rules%20you%20can%20only%20use%20%22constant%22%20values%20when%20comparing%20headers%2Faddresses%2C%20you%20cannot%20dynamically%20reference%20another%20value%20such%20as%20the%20%22From%22%20address%20or%20similar.%20For%20more%20robust%20inspection%2C%20you%20will%20need%20a%20custom%20transport%20agent%2C%20and%20as%20those%20are%20not%20available%20with%20Office%20365%20you%20will%20need%20to%20redirect%20the%20mail%20flow%20to%20some%20other%20system%20first.%20Which%20brings%20problems%20on%20its%20own.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

In addition to the spam filters I was thinking of creating a mail flow rule based on the Reply-To address, which I don't think is inspected by the block list. (I may be wrong)

 

I could not figure out how to create rule that would inspect for something like "reply-to = user@mail.com".

 

Can anybody suggest how I might create this rule?

1 Reply
Highlighted

What exactly do you want to "inspect"? With transport rules you can only use "constant" values when comparing headers/addresses, you cannot dynamically reference another value such as the "From" address or similar. For more robust inspection, you will need a custom transport agent, and as those are not available with Office 365 you will need to redirect the mail flow to some other system first. Which brings problems on its own.