wiki:MySQLServerHasGoneAway

Version 2 (modified by maia@…, 15 years ago) (diff)

Added MysqlMaxPacket 'WikiWord?'

spam_scan FAILED: DBD::mysql::st execute failed: MySQL server has gone away

This could be caused by one of two things (that I'm aware of):

  • Check the max_allowed_packet setting in my.cnf. It should match the setting for Mail size limit (bytes): in the Maia Admin/System? Configuration page. MysqlMaxPacket has more information about this.
  • If you are using Postfix as your MTA, ensure that you are not using body or header checks with Postfix.