-
Bug
-
Resolution: Fixed
-
Low
-
5.12.11, 5.12.17, 5.17.5
-
2
-
Severity 2 - Major
-
9
-
Issue Summary
The JSM mail handler stops processing emails when it encounters an email with a sender address that exceeds 255 characters.
Steps to Reproduce
- Send an email to the mailbox configured in the JSM mail handler, having a sender's address that exceeds 255 characters.
Expected Results
The email is processed by the JSM mail handler.
Actual Results
The email is not processed by the JSM mail handler, which stops the processing of all subsequent emails.
The incoming mail logs show the following error:
2025-01-22 14:16:01,567+0000 ERROR [] Caesium-1-3 ServiceRunner Exception when MailPullerWorker pulls emails: com.querydsl.core.QueryException: Caught MysqlDataTruncation for insert into `AO_2C4E5C_MAILITEM` (`MAIL_CONNECTION_ID`, `STATUS`, `CREATED_TIMESTAMP`, `UPDATED_TIMESTAMP`, `FROM_ADDRESS`, `SUBJECT`) values (?, ?, ?, ?, ?, ?)
Workaround
- Manually increase the size for the FROM_ADDRESS column. Here is an example statement for MySQL:
ALTER TABLE AO_2C4E5C_MAILITEM
MODIFY
FROM_ADDRESS varchar(500);
Keep in mind that this column size will be modified to its original value as soon you restart Jira or execute an upgrade so don't forget to apply the workaround again
- Remove the email that has the exceeding Sender address size from the mailbox.
Versions Tested
Testing Requirements | Version | Affected Version |
---|---|---|
Customers Reported Version | 5.17.5 | Yes |
Most Recent LTS | 10.3.2 | Yes |
Previous Supported LTS | 5.12.17 | Yes |
Other Versions | 5.12.11 | Yes |
- relates to
-
JSDSERVER-15648 Issue creation via email failed if email subject exceeds 255 characters
-
- Closed
-
- links to