Howto send mails for a specific domain to another IP?

Unanswered Question
Feb 8th, 2008

We have bought another company. Now we should transfer mails "more secure" between the two companies by using the available VPN-connection (and not the internet-gateway from our ISP).

How can we do that?
How can we configure the IronPort to check the recipient-domain for every outgoing mail and send mails for "@boughtcompany.com" to another IP-adress/gateway/mailserver then all the other Mails?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Rayman_Jr Fri, 02/08/2008 - 08:18

You can do that e.g. with "Outgoing Content Filters"

Create a filter with:

Condition: Envelope Sender
Rule: mail-from == "@sourcedomain.com$"

Action: Send to Alternate Destination Host
Rule: alt-mailhost ("destination.host.com")

That should do the trick

Pat_ironport Fri, 02/08/2008 - 12:39

Thanks for the fast answer. I would like to check the recipient-domain for our outgoing mails - should it not be something like this:

Condition: Envelope Recipient
Rule: rcpt-to == "@destination.com$"

Action: Send to Alternate Destination Host
Rule: alt-mailhost ("destination.host.com")
or
Rule: alt-mailhost ("[111.222.133.244]")

Rayman_Jr Fri, 02/08/2008 - 12:55

Outch, I apologize ! My brains were somehow cross-wired. You are absolutely right that the recipient address should be checked.

Pat_ironport Fri, 02/08/2008 - 13:03

No problem - your idea was important!
Do you know, if my syntax for the IP-address for the alt-mailhost-address is correct? I'm not sure, if we can include it in our DNS...

Rayman_Jr Fri, 02/08/2008 - 13:09

Yep, the syntax is correct. Should work just as you describe

bfayne_ironport Fri, 02/08/2008 - 15:31

It seems like this could easily be handled with an SMTP Route since the destination domain is what you are trying to match on.


Its under the Network Tab in the GUI, or just "smtproutes" in the CLI.

You can set it up in the GUI like this:
Network -> SMTP Routes -> Add Route

Recieving Domain=boughtcompany.com
Destination Host=IP or hostname

You can also match on subdomains for the recieving domain if you use ".boughtcompany.com"

That should use up less CPU than a content filter.

Actions

This Discussion