report_json not sufficiently escaping quotes

Bjørn Ruberg bjorn at
Tue Jun 27 10:18:27 CEST 2017

On 27. juni 2017 09:15, Bjørn Ruberg wrote:
> The "report_json" log template format seems to lack one backslash when
> escaping quotes. My JSON recipient (Logstash) is not able to parse
> Amavis' output in its current form.


> Adding an extra backslash, the JSON is valid:


The JSON also validates when removing a backslash, i.e. changing \\" to
\", which is probably more correct.


More information about the amavis-users mailing list