Increasing sending message limit configuration in postal.yml but not working #3634
testoneasia
started this conversation in
Development discussions
Replies: 1 comment
|
It sounds like you did everything right. How are you running MariaDB? if its with docker, you probably need to use a docker volume to update the config as any other update would be overridden by the container restarting |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I have the problem when my application using my Postal server sending the outbound email with the attachment (3files and total of more than 25MB). But the result was failed.
When I check the log of postal-worker. It had the error of 500 and the message of :
"Got a packet bigger than 'max_allowed_packet' bytes exception_backtrace=/usr/local/bundle/gems/mysql2-0.5.6/lib/mysql2/client.rb:151:in_query'\n/usr/local/bundle/gems/mysql2-0.5.6/lib/mysql2/client.rb:151:inblock in query'\n/usr/local/bundle/gems/mysql2-0.5.6/lib/mysql2/client.rb:150:inhandle_interrupt'\n/usr/local/bundle/gems/mysql2-0.5.6/lib/mysql2/client.rb:150:inquery."I had tried some configuration in the postal.yml , edit the parameter of " max_message_size: 50" under the part of "smtp_server".
And also modified the "max_allowed_packet" of 75MB in the "/etc/mysql/mariadb.conf.d/50-server.cnf".
Then I restarted the Postal services and the MariaDB services.
However, I got the same result in the end.
May I ask everyone has the experience of increasing the sending limit in Postal here?
All reactions