Skip to content

Commit

Permalink
Update error message patterns in Sisimai::Rhost::Mimecast, import com…
Browse files Browse the repository at this point in the history
…mit e7be1e61884b6b24561748b30f6ce0d3e32bd302
  • Loading branch information
azumakuniyuki committed Mar 7, 2024
1 parent 2278532 commit f3a45b7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/sisimai/rhost/mimecast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module Mimecast
class << self
MessagesOf = {
# https://community.mimecast.com/s/article/Mimecast-SMTP-Error-Codes-842605754
# https://community.mimecast.com/s/article/email-security-cloud-gateway-mimecast-smtp-error-codes
'authfailure' => [
# - The inbound message has been rejected because the originated IP address isn't list-
# ed in the published SPF records for the sending domain.
Expand Down Expand Up @@ -76,6 +77,12 @@ class << self
[554, 'maximum email size exceeded'],
],
'networkerror' => [
# - The recipients' domains have MX records configured incorrectly
# - Check and remove any MX records that point to hostnames with outbound references.
# Only Inbound smart hosts are supported on MX records.
[451, 'the incorrect hostname used for inbounds'],
[550, 'the incorrect hostname used for inbounds'],

# - The message has too many "received headers" as it has been forwarded across multi-
# ple hops. Once 25 hops have been reached, the email is rejected.
# - Investigate the email addresses in the communication pairs, to see what forwarders
Expand Down Expand Up @@ -135,8 +142,8 @@ class << self

# - A personal block policy is in place for the email address/domain.
# - Remove the email address/domain from the Managed Senders list.
[550, 'envelope blocked user entry'],
[550, 'envelope blocked user domain entry'],
[550, 'envelope blocked - user entry'],
[550, 'envelope blocked - user domain entry'],
[550, 'rejected by header-based manually blocked senders - block for manual block'],

# - A Block Sender Policy has been applied to reject emails based on the Header From or
Expand Down

0 comments on commit f3a45b7

Please sign in to comment.