bounceHammer has been EOL'ed on February 29, 2016

EOL on February 29, 2016

bounceHammer have been downloaded and used by many users and companies since the first release on March 2010 and has been EOL: End Of Life on February 29, 2016. Thanks for using bounceHammer for a long time. We are now providing Sisimai (the successor of bounceHammer, more faster, more higher precision of analysis) as a bounce mail parser library in BSD 2-Clause License.

Sisimai
Commercial Support

  • 1Setting Up Sisimai Your Server
  • 2Support developmenet using Sisimai
  • 3Support via Email
  • 4Support bounce management
  • 5Parsing your bounced emails

Gmail's 9 state values

2011/04/26

9 state values in bounce email from Gmail

bounceHammer can parse a bounce email from Gmail. But Gmail's bounce email format is difer from a bounce email which created by Sendmail, and Postfix, and qmail. In this article, we describe about 9 state values in bounce email from Gmail.

Updated at Apr 27, 2013

From the beginning of this spring, these 9 state values are not written in the bounce email from Gmail.

A bounce email from Gmail

 

The format of Gmail's bounce email is difer from other open source MTAs. We found 9 state values from Gmail's bounce email while develop bounceHammer.

In this article, these 9 state values are described. (See also lib/Kanadzuchi/MTA/US/Google.pm file if you have bouncehammer source code)

Gmail's state values

 

The following table show state value, SMTP command, bounce reasons detected by bounceHammer, Note about the error.

state SMTP Command Bounce Reason Note
6MAILsystemerror Perm Error:
Remote server does not support TLS
8AUTHsystemerror Perm Error:
SMTP AUTH failed with the remote server
9AUTHsystemerror Temp Error:
TLS missing certificate
12AUTHsystemerror Perm Error:
Remote server does not support SMTP Authenticated Relay
13MAILrejected Perm Error:
Envelope sender was rejected(<****@gmail.com>... Access denied)
14RCPTuserunknown
mailboxfull
Perm Error:
Envelope recipient does not exist(User Unknown) OR Envelope recipient's mailbox is full
15after DATAfiltered Perm Error:
SPF unauthorized mail is prohibited OR no valid recipients (rejected by the content of To: header)
17after DATAfiltered Perm Error:
rejected by the content of To: header (No such user here) OR rejected by email body or email header (Address rejected ***@***.***)
18after DATAfiltered Perm Error:
Unknown user *****@***.**.*** (rejected by the content of To: header)

Details of state 14

 

state 14 have 2 kind of messages

The state value is almost 14 or 18 in our sample bounce emails from Gmail.

But the state 14 have two bounce reasons: User Unknown and Mailbox Full. To find a correct bounce reason, you should read error messages too.

In the case of User Unknown

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain.
We recommend contacting the other email provider for further information about the
cause of this error. The error that the other server returned was:
550 550 5.1.1 <******@docomo.ne.jp>... User Unknown (state 14).

In the case of Mailbox Full

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain.
We recommend contacting the other email provider for further information about the
cause of this error. The error that the other server returned was:
550 550 5.2.2 <*****@docomo.ne.jp>... Mailbox Full (state 14).

actual error messages of each state value

 

state 6

500 Remote server does not support TLS (state 6).

state 8

535 SMTP AUTH failed with the remote server. (state 8).

state 9

454 454 TLS missing certificate: error:0200100D:system library:fopen:Permission denied (#4.3.0) (state 9).

state 12

500 Remote server does not support SMTP Authenticated Relay (state 12).

state 13

550 550 5.7.1 <****@gmail.com>... Access denied (state 13).

state 14 (two kind of messages are observed)

550 550 5.1.1 <******@*********.**>... User Unknown (state 14).

550 550 5.2.2 <*****@****.**>... Mailbox Full (state 14).

state 15 (two kind of messages are observed)

550 550 5.7.1 SPF unauthorized mail is prohibited. (state 15).

554 554 Error: no valid recipients (state 15).

state 17 (two kind of messages are observed)

550 550 <****@***.**> No such user here (state 17).

550 550 #5.1.0 Address rejected ***@***.*** (state 17).

state 18

550 550 Unknown user *****@***.**.*** (state 18).


Unknown state values

This article described 9 state values of Gmail's bounce email. But the following state values are not observed: 1,2,3,4,5,7,10,11,16,19 or larger. We don't know that these values exist or not.

If you found these values please send the bounce email to us.