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
Not Sending Emails with Medium Attachment Size #594
Comments
Can you tell us the current value of If you aren't sure where to look, you can run this query |
Hi, here it is: |
The log file in question is a core part of how MySQL operates so you'll have to at least double the value. You will need to stop your database server cleanly and update the configuration. It would also be worth stopping Postal during this process. Have a read of this https://dev.mysql.com/doc/refman/5.6/en/innodb-data-log-reconfiguration.html, be careful and good luck! |
Thanks, it worked. I increased from 50 MB to 256 MB. Now I can send the email. |
When I try to visualize the email through the Postal Web Panel (Plain Text, HTML and Attachments) it responds with 502 Gateway Error but if I force page refresh it loads correctly. Can't I just disable the email body not to be stored? |
As far as I can see it was a RAM issue, however it eats a lot of memory just by navigating through those tabs (Plain Text, HTML and Attachments). I restarted the server and navigated through those tabs and 500 MB of RAM were instantly gone! |
If you have just restarted the server, the MySQL and Postal processes will take a little while to get going so measuring memory use straight away is difficult to get accurate. How much memory does your server have? |
I upgraded from 2 GB to 4 GB. I only use to send a few emails, is not for bulk email sending. I use it as a relay, I don't need it to store messages. |
If you're literally only needing a relay, there are other software packages available that will do this task better, e.g. Postfix. Postals primary purpose is sending emails it receives from applications over an API. |
It seems I'm running into the same issue. A have tons of mails which do not even attempt to been delivered... Used the install for Ubuntu. Where can I find info on logging? It's a nice project yet misses some logical build. Like log paths, configuration paths etc. Its like a black box which sends en receives mails. |
@influenist please have a look at |
I hit upon this issue today. I've leaving a comment here in case it helps other Postal users. I increased the value of
so Postal can store and deliver larger emails. From my web searches, it seems like the only con of increasing the value of |
Hello, I am trying to send an email with two attachments, one with 400 kb and the other with 8.7 MB.
The server is not sending the email because is throwing an error: "Mysql2::Error: The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size us ing innodb_log_file_size."
As far as the error says it's because the size and I can or might fix it by increasing innodb_log_file_size. What if I do not want to log it at all? Is there any way I can disable logging?
The text was updated successfully, but these errors were encountered: