Wrong hard Bounce Code

Pankaj Singh

Active Member
I just wonder that see lots of hard bounces however as per my knowedge all of them should be either Internal or Soft bounce, check following error :
554 Email rejected due to security policies - https://community.mimecast.com/docs/DOC-1369#554 [kP21KhxBPc6RTrF02ezm4Q.uk282]

554 east.smtp.mx.exch083.serverdata.net ESMTP not accepting connections

I think all of them should be Internal bounces instead of hard !

Please screenshot !

1621444248378.png
 
@Pankaj Singh -
554 Email rejected due to security policies - https://community.mimecast.com/docs/DOC-1369#554 [kP21KhxBPc6RTrF02ezm4Q.uk282]
This matches hard bounces rule:
Code:
Matched rules:
Array
(
    [0] => Array
        (
            [/(?:alias|account|recipient|address|email|mailbox|user).*reject/i] => hard
        )

)
And it indeed should be an internal bounce, so with the addition of a new rule, we now mark it correctly:
Code:
Matched rules:
Array
(
    [0] => Array
        (
            [/(smtp;)?(\s*)?554(.*)?Email rejected due to security policies/i] => internal
        )

)

554 east.smtp.mx.exch083.serverdata.net ESMTP not accepting connections
This actually matches no rule, so it should be internal by default:
Code:
Matched rules:
Array
(
)

However, we added a new rule to match it specifically:
Code:
Matched rules:
Array
(
    [0] => Array
        (
            [/(smtp;)?(\s*)?554(.*)?ESMTP not accepting connections/i] => internal
        )

)
So now, both of them, will be internal bounces.
 
Back
Top