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
Auto-reply body empty with multiline messages #57
Comments
After some investigation, it appears that the message is empty when leaving dovecot. There is no body send to postfix for the vacation message. Will investigate furter. |
I finally traced back the issue to the dict access to SQLite, the root cause sounds close. It could be related (even remotely) to this:
It seems indeed that special characters will confuse the proxy protocol handler, notably new-line. Suggested solutions so far:
|
I was not yet able to disable the proxy and access the dict directly from the Dovecot process running sieve scripts. Sounds like the fix is going to be even trickier than expected. |
After some more digging, it seems that despite my previous message and some warnings on the Dovecot IRC channel, the dictionary protocol is escaping data using Using strace and a debugger, I was able to confirm that the string container tabs and new lines is properly escaped by the server when sent over the proxy socket, then properly unescaped, the bug seems to be located somewhere in Dovecot. I will try and find the root cause then solve it upstream with the Dovecot team. |
Here is the current status of the work upstream : http://www.dovecot.org/list/dovecot/2016-October/105700.html |
This was fixed in dovecot/core@4f051c3 The patch will be included in Dovecot 2.2.26. I am working on a new Alpine package for Dovecot and will try to backport the patch to 2.2.25. |
The patch was not included in 2.2.26-rc1. I will check that it is really going to be included in 2.2.26. |
2.2.26 is finally there. Waiting for Alpine, maybe I will post tonight to patchwork : http://www.dovecot.org/list/dovecot/2016-October/105867.html |
Most excited about those 2.
On 27-Oct-16 3:11 PM, kaiyou wrote:
|
Alpine patch is awaiting review: http://patchwork.alpinelinux.org/patch/2508/ |
The patch is out, ready for tagging 1.3 tonight. |
When the configured auto-reply body is a multiline string, the resulting reply email has an empty body.
The text was updated successfully, but these errors were encountered: