Menu

#465 getMail raises postgres index error on addMessage

v2.0.9
closed-fixed
7
2006-05-22
2006-05-21
No

ERROR: index row requires 25812 bytes, maximum size is
8191 INSERT INTO mm_message (id, ticket_id, message_id,
from_name, from_email, subject, msg_date, msg_to, cc,
bcc, reply_to, raw_headers, body, html_body) VALUES
(81585, 61646, ...)

Looks like it's adding in an attachment into mm_message.

Discussion

  • Kevin Campbell

    Kevin Campbell - 2006-05-22

    Logged In: YES
    user_id=1241761

    This was due to a malformed incoming email. Added in a
    sanity check to the code to prevent message ids of over 1024
    characters in size. Doesn't seem to be any limit given in
    RFC2822, but for practical terms I doubt message ids of this
    size will ever be reached.

     
  • Kevin Campbell

    Kevin Campbell - 2006-05-22
    • status: open --> closed-fixed
     

Log in to post a comment.