DSN generation problem for UTF-8 files

Dominic Raferd dominic at timedicer.co.uk
Tue Jul 18 15:05:13 CEST 2017


On 18 July 2017 at 12:24, Dmitry Melekhov <dm at belkam.com> wrote:

> Hello!
>
>
> I run Ubuntu 16.04, it has 2.10.1 of amavisd-new  .
>
> If file is blocked by amavis, let's say it .exe file, and this file has
> UTF8 name (let's say Тест.exe), then
>
> amavis dies, without DSN generation and message stucks in queue:
>
>
> open body: Invalid argument at /usr/local/share/perl/5.22.1/MIME/Entity.pm
> line 1878, <GEN38> line 17244.): id=01268-01 at /usr/sbin/amavisd-new line
> 15165
>
>
> Could you tell me how to fix this problem?
>
>
> Thank you!
>
>
>
Just a thought, but ​looking at
/etc/amavis/conf.d/30-template_localization, it might be worth trying in
/etc/amavis/conf.d/50-user:
​$hdr_encoding = 'utf8';
​$bdy_encoding = 'utf8';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170718/eafe1b65/attachment.html>


More information about the amavis-users mailing list