cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2280
Views
0
Helpful
6
Replies

Howto send mails for a specific domain to another IP?

Pat_ironport
Level 1
Level 1

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?

6 Replies 6

Rayman_Jr
Level 1
Level 1

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
Level 1
Level 1

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
Level 1
Level 1

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

Pat_ironport
Level 1
Level 1

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
Level 1
Level 1

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

bfayne_ironport
Level 1
Level 1

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: