Issues configuring message limit
We are using the latest postal version and adding the following isn't still helping us increase the message size limit to 25MB.
smtp_server: max_message_size: 25
We are seeing the following error.
552 Message too large (maximum size 14MB)
I have restarted postal after making the change and it still isn't working.
Can you share your postal.yml, redacted as much as you need?
Is that definitely /opt/postal/config/postal.yml?
Also you could try putting newlines before dns: and rails: for consistency.
Yes, that is the default postal.yml on which, I ended up changing the credentials etc, replaced it with dummy values and pasted it here. The only change apart from those credentials etc is the section to add the message size.
smtp_server: max_message_size: 25
Added new lines before dns: and rails: and restarted postal to ensure the yml is consistent.
I mean /opt/postal/config/postal.yml instead of /opt/postal/app/config/postal.example.yml or something else in the app folder.
Have you tried restarting the whole server? There might be an issue when you're restarting that isn't letting the processes update.
Yes, I did try restarting the server and nothing helps. How do we overcome this?
I'm assuming you're on the latest Postal, you can check with postal auto-upgrade.
If you're running the latest Postal and you've definitely edited /opt/postal/config/postal.yml and Postal has definitely been restarted, the setting should apply.
I did attempt the postal auto-upgrade and it did some git pull, and then restarted postal. Still the same issue.
Attaching the upgrade logs. If the upgrade is run again, it is doing the same process again. I'm not sure how to prove you that I have restarted postal, and the config file provided is the one available on the server, and still the issue remains. output.txt
I have the same problem. Changing the max_message_size doesn't actually work and I still get 14mb limit error.
I'm not sure how the auto-upgrade works but since https://postal.atech.media/packages/ hasn't been updated since November 1st 2017, neither on stable nor beta branch, I don't think the update actually contains the latest code.
That is a great spot @arashm and I've verified that is exactly the case with our development server.
@catphish are you able to make an up to date build?
In the meantime, you could make the changes to the ruby file and database yourself to enable you to keep using Postal.
@willpower232 What does this mean with regards to the issue am facing? Any workaround or solution for us to go live with an increased message limit?
In the meantime, you could make the changes to the ruby file and database yourself to enable you to keep using Postal.
Updating the code is only one line of code to change but you will also need to change the type of database field to guarantee it can store your attachments.
@willpower232 Can you help us with that change? I'm not sure where and what to change.
You would have to make the changes from the pull request where you originally commented (https://github.com/atech/postal/pull/383).
If you make the changes outlined in the "Files Changed" tab and then restart Postal, you should find your message limit increased.
@willpower232 We are able to resolve this issue now. Future upgrades will override this change and revert the max limit to 14MB?
Hopefully, the next update should include the changes but that relies on a new build being made.
If you run the update command and it resets your code, your current code copy should be automatically backed up in a new folder for you to restore from.
Is there any plan to release a new build?
I'd hope so but thats all down to @adamcooke and @catphish
I hope it will include fbl
Is there any way I could help so the release happens faster? Is there any roadmap? Left issue or something?