I want to limit some accounts to internal e-mail only. I have followed a few examples on the web and have done the following:
1. Created a distribution containing the accounts that cannot receive or send outside e-mail.
2. I have created two transport rules. 1 for rejecting incoming mail and the other for rejecting outgoing mail.
The transport rule for rejecting incoming mail is working with no problems. The one for outgoing mail is not working. I have enabled pipeline tracing, but cannot figure out the issue from those files. Here are my two transport rules:
Reject outgoing mail (which is not working):
If the message:
Is received from 'test@turners.com'
and Is sent to 'Outside the organization'
Take the following actions:
reject the message and include the explanation 'Your account is set for internal e-mail only.' with t
he status code: '5.7.1'
Reject incoming mail (which is working):
If the message:
Is received from 'Outside the organization'
and Is sent to a member of group 'NoInternetMail@turners.local'
Take the following actions:
reject the message and include the explanation 'The intended recipie
nt is not allowed to receive outside e-mail.' with the status code: '5.7
.1'
I changed the outgoing one to just be for one account for testing, but that does not work either. I tried changing the priority and making the outgoing one a higher priority, but that didn't work either. I only have these two transport rules in the system. Can anybody offer any help for me. This is on an Exchange 2010 server with all three roles running on one computer (mailbox, hub, and cas).
Thanks in advance.
Jeff
1. Created a distribution containing the accounts that cannot receive or send outside e-mail.
2. I have created two transport rules. 1 for rejecting incoming mail and the other for rejecting outgoing mail.
The transport rule for rejecting incoming mail is working with no problems. The one for outgoing mail is not working. I have enabled pipeline tracing, but cannot figure out the issue from those files. Here are my two transport rules:
Reject outgoing mail (which is not working):
If the message:
Is received from 'test@turners.com'
and Is sent to 'Outside the organization'
Take the following actions:
reject the message and include the explanation 'Your account is set for internal e-mail only.' with t
he status code: '5.7.1'
Reject incoming mail (which is working):
If the message:
Is received from 'Outside the organization'
and Is sent to a member of group 'NoInternetMail@turners.local'
Take the following actions:
reject the message and include the explanation 'The intended recipie
nt is not allowed to receive outside e-mail.' with the status code: '5.7
.1'
I changed the outgoing one to just be for one account for testing, but that does not work either. I tried changing the priority and making the outgoing one a higher priority, but that didn't work either. I only have these two transport rules in the system. Can anybody offer any help for me. This is on an Exchange 2010 server with all three roles running on one computer (mailbox, hub, and cas).
Thanks in advance.
Jeff