11-02-2012 02:13 AM
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.
11-07-2012 12:44 PM
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
11-12-2012 03:30 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide