Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database error for email with large attachment #17

Open
daniel-lerch opened this issue Mar 31, 2021 · 0 comments
Open

Database error for email with large attachment #17

daniel-lerch opened this issue Mar 31, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@daniel-lerch
Copy link
Owner

We received a message with four attachments of at least 16MB in total which got stuck and prevented other mails to be delivered:

PHP Fatal error:  DB ERROR (db_insert_data): 1153: Got a packet bigger than 'max_allowed_packet' bytes,
QUERY: INSERT INTO `ko_mailing_mails` (`body`, `header`, `size`, `status`, `crdate`, `code`,
`subject`, `from`, `user_id`, `sender_email`, `recipient`, `modify_rcpts`, `rectype`, `crm_project_ids`)
VALUES (....

This issue has to be investigated. OpenKool should deny mails with too large attachments instead of letting them cause a denial of service.

@daniel-lerch daniel-lerch added the bug Something isn't working label Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant