2.10.1 encoding problem

Dmitry Melekhov dm at belkam.com
Tue Mar 28 12:17:51 CEST 2017


Hello!


Moving my server from ubuntu 12.04 with 2.6.5 to 16.04 with 2.10.1.

And found that there is problem encoding amavis sends to user, namely 
about messages with viruses.


In 12.04 and 2.6.5

everything works just fine, but 2.10.1 sends  broken messages

I have ru_RU templates directory with charset file
with line UTF-8 in it.
In /etc/amavis/conf.d/30-template_localization
I have
$hdr_encoding = 'utf-8';
$bdy_encoding = 'utf-8';

I this case encoding of message is set to utf-8 ,
but message is broken, i.e. it is not in utf-8.

if I set
$bdy_encoding = 'iso-8859-1';
then there is utf-8 readable message, but just wrong info about encoding 
in it.

Everything like described here in last message:

http://serverdoma.ru/viewtopic.php?f=39&t=1027 
<http://serverdoma.ru/viewtopic.php?f=39&t=1027>


Could you, please, tell me how can I solve this problem?


Thank you!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170328/cf460014/attachment.html>


More information about the amavis-users mailing list