Quantcast
Channel: Exchange Server 2013 - Mail Flow and Secure Messaging forum
Viewing all articles
Browse latest Browse all 3660

Custom DSN message nor custom rejection message is appearing when Transport Rule Blocks incoming e-mail.

$
0
0

Good Afternoon,

      My Customer is running Exchange 2013 CU5 that has a transport rule that is supposed to reject any email from a particular user as that user is no longer with the company. The transport rule rejects the message, BUT, it does not show the Custom DSN. It shows the default message:

Delivery has failed to these recipients or groups:

user@domain.com Your message wasn't delivered because the recipient's email provider rejected it.

Diagnostic information for administrators:

Generating server: EXMBX01.DOMAIN.LOCAL

user@domain.com Remote Server returned '< #5.7.169 smtp;550 5.7.169 TRANSPORT.RULES.RejectMessage; the message was rejected by organization policy>'

I have looked up the transport rule in Exchange:

Get-TransportRule "User Reject" | fl *Reject*,Description


RejectMessageEnhancedStatusCode   : 5.7.169
RejectMessageReasonText           : This E-MAIL Address is no longer in service. Please Contact
                                    nglaser@domain.com for assistance
SmtpRejectMessageRejectText       :
SmtpRejectMessageRejectStatusCode :

Description                                  : If the message:
                                                   Is sent to 'User@domain.com'
                                                   and Is received from 'Outside the organization'
                                               Take the following actions:
                                                   Set audit severity level to 'High'
                                                   and reject the message and include the explanation 'This E-MAIL
                                               Address is no longer in service. Please Contact
                                               nglaser@domain.com for assistance' with the status code: '5.7.169'

I tried setting up to separate external DSN messages and tried both with the same results:

Get-SystemMessage | ft -a -wr

Identity            Text
--------            ----
en\External\5.7.69  This E-MAIL Address is no longer in service. Please Contact nglaser@domain.com for assistance.
en\External\5.7.169 This E-MAIL Address is no longer in service. Please Contact nglaser@domain.com for assistance.

I tried to change the SmtpRejectMessageRejectText on both Exchange servers and got the following error:

Set-TransportRule -Identity "User Reject" -SMTPRejectMessageRejectText "This E-MAIL Addre
ss is no longer in service. Please Contact nglaser@domain.com for assistance"

A specified parameter isn't valid on a server with the Hub Transport role installed.
    + CategoryInfo          : InvalidArgument: (SmtpRejectMessageRejectText:String) [Set-TransportRule], ArgumentExcep
   tion
    + FullyQualifiedErrorId : [Server=EXMBX01,RequestId=b2a61aba-179b-4867-85b8-cc47eba62701,TimeStamp=6/27/2014
    7:19:32 PM] [FailureCategory=Cmdlet-ArgumentException] 8BBE1900,Microsoft.Exchange.MessagingPolicies.Rules.Tasks.
  SetTransportRule
    + PSComputerName        : exmbx01.domain.local

I really am having issues finding and answer. Any assistance would be greatful!

Thanks,

Lance Lingerfelt





Viewing all articles
Browse latest Browse all 3660

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>