Can't use Channel::Driver::Smtp: #<Net::SMTPFatalError: 552-5.2.3 Your message exceeded Google's message size limits

Infos:

  • Used Zammad version: 2.9.x
  • Used Zammad installation source: (source, package, …) deb
  • Operating system: ubuntu
  • Browser + version: chrome

Short question:
When I get the Error-Message “Can’t use Channel::Driver::Smtp: #<Net::SMTPFatalError: 552-5.2.3 Your message exceeded Google’s message size limits. Please visit >” in Monitoring-Overview, how do I find out the corresponding Ticket-ID?

Short answer but delayed answer :stuck_out_tongue: , like so:

Ticket::Article.where('created_at > ? AND created_at < ?', Time.zone.parse('2018-10-05 10:49:54'), Time.zone.parse('2019-10-05 11:49:54')).where("ticket_articles.body LIKE '%552-5.2.3 Your message exceeded Google’s%'").pluck(:ticket_id)

Followed by (replace 14 by the ID(s) you got returned)

Ticket.find(14).number

You can fiddle around with the two “created_ats” to have a tighter time frame, if needed.

Ah thanks al lot :upside_down_face:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.