-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Changing the password on Roundcube WILL make Postfix unable to receive mail #85
Comments
Possibly related to mail-in-a-box/mailinabox#2185 |
Issue 2185 concerns a misconfiguration of the Roundcube password plugin used by Mail-in-a-Box. Update: removed link to Roundcube issue as I don't think it applies anymore. |
Both are indeed related. I want to keep an eye on how they'll eventually solve it. This issue was caused due to the fix I applied on #77, though in all honesty is still a bit mysterious to me how it ended up happening: since that behavior goes back to Roundcube Strangely enough nobody else reported this problem to me so far. I wonder if it actually happened to somebody else or if it was a spurious episode on my case. |
I see your solution for the #77 bug is the same as mine for the 2185 bug. Of course, because it is the same issue ;) I don't think #77 caused the postfix sqlite bug. Probably most people don't change their password via Roundcube and thus the issue was not seen before. Also, I did not see errors in the MiaB status page, which thus also hides the issue somewhat. Update: when testing this, an easy way to disable wal is Another update: I think the reason we're seeing this only now, is because Roundcube only introduced the |
Ah. Suddenly everything begins to make sense.
I've came to the same conclusion, but this is probably not very practical or secure to automate via |
i have this
j have the same problem. cant receive any emails anymore |
@e-fu go to the folder where your users.sqlite database is stored and run the following command: |
I have done some work on this and reached to a solution that more or less is able to please everyone-ish (see the PR above). It will have some drawbacks though; it's a good idea to take a look at it and share your thoughts :) |
Fixed on v60.4 |
I'm not really using MiaB, but facing the same problem which my mail server is on Postfix (the cf refer to .db file), and the roundcube allow change password. When user come to roundcube UI and change password, I can see it created -wal file and -shm file. Then postfix crashed. Can you please suggest me a way to resolve this please? |
God help me, this took a big, big while to figure out
So a technical TL;DR on this: SQLite has a few logging modes, among them wal (Write-Ahead-Log) and delete (aka none).
users.sqlite
database when it is set to delete.(which are as helpful as a submarine in the desert)
4. Postfix will never be able to process incoming mail because they cannot read the database the way the want to.
The text was updated successfully, but these errors were encountered: