cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
971
Views
0
Helpful
2
Replies
Highlighted
Beginner

Redirect Internal Mail From a Specific Domain

He everyone,

     I've been messing with this all yesterday but I just cannot get it to work and yet it seems so simple...

I need to re route any outgoing mail sent from (lets say) @this-domain.com to an alternative IP address. I've used an outgoing mail policy with @this-domain.com as the affected sender and then set up a mail content filter which takes advantage of the send to alternate destination host action.

I tried setting the condition as envelope sender @this-domain.com and also left it blank, assuming the action would then affect all mail using this policy. However, on both occasions it has ignored the send to alternate destination host and gone straight to the usual IP. However I know it is using that policy from the trace and also it adds a footer so it is using the right policy.

I've read some similar posts on here regarding incoming mail but I can't seem to get it working for outgoing.

Thanks for any advice.

Everyone's tags (5)
2 REPLIES 2
Participant

Re: Redirect Internal Mail From a Specific Domain

Have you tried using a message filter?

Redirect-internal-mail:

if (recv-listener == "OutboundMail" AND mail-from == "@this-domain\\.com$") {

    alt-mailhost("alt.dest.server");

}

That's off the cuff, I haven't made any attempt to test it. I'm guessing at the receiving listener name of course. You do need to check for it, since you only want to do this for outbound mail.

++Don

Enthusiast

Redirect Internal Mail From a Specific Domain

Hello Chris,

simply use the content filter without any condition, the way you probably configured it is matching on an empty sender (bounce messages). AsyncOS does not require a condition for any filter, just an action, so if a condition is missing, everything matching the policy will trigger the filter.

Also, check message tracking/mail logs if the messages are actually outbound. Just to be sure.

Hope that helps,

Andreas

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here