<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-forward-container"><br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Hello!</p>
<p><br>
</p>
<p>Moving my server from ubuntu 12.04 with 2.6.5 to 16.04 with
2.10.1.</p>
<p>And found that there is problem encoding amavis sends to user,
namely about messages with viruses.</p>
<p><br>
</p>
<p id="yui_3_10_3_1_1490694355354_1406">In 12.04 and 2.6.5 <br>
</p>
<p>everything works just fine, but 2.10.1 sendsĀ broken messages<br>
</p>
<p> I have ru_RU templates directory with charset file<br>
with line UTF-8 in it.<br>
In /etc/amavis/<wbr>conf.d/<wbr>30-template_<wbr>localization<br>
I have<br>
$hdr_encoding = 'utf-8';<br>
$bdy_encoding = 'utf-8';</p>
<p>I this case encoding of message is set to utf-8 ,<br>
but message is broken, i.e. it is not in utf-8.</p>
<p>if I set<br>
$bdy_encoding = 'iso-8859-1';<br>
then there is utf-8 readable message, but just wrong info about
encoding in it.</p>
<p>Everything like described here in last message:</p>
<p><a moz-do-not-send="true" rel="nofollow"
href="http://serverdoma.ru/viewtopic.php?f=39&t=1027">http://<wbr>serverdoma.<wbr>ru/viewtopic.<wbr>php?f=39&<wbr>t=1027</a></p>
<p><br>
</p>
<p>Could you, please, tell me how can I solve this problem?</p>
<p><br>
</p>
<p>Thank you!</p>
<p><br>
</p>
</div>
</body>
</html>