Error count for closing connection
smtpd_hard_error_limit

This parameter specifies an error count upper limit. The SMTP server disconnects after an SMTP client makes this number of errors within a session.