Odd emit when starting amavisd 2.8.0

Quanah Gibson-Mount quanah at zimbra.com
Mon Jul 16 19:18:35 CEST 2012


--On Saturday, July 14, 2012 2:29 PM +0200 Mark Martinec 
<Mark.Martinec+amavis at ijs.si> wrote:

> Quanah,
>
>> I just upgraded to amavisd-new 2.8.0, and I see the following emitted
>> when I start up:
>>
>> $ zmamavisdctl start
>> Starting amavisd...Amavis::Util: can't obtain a tainted string at
>> /opt/zimbra/amavisd/sbin/amavisd line 2609.
>
>> The block in question is:
>> 2608   $enc_tainted = substr($ENV{PATH}.$ENV{HOME}, 0,0);
>> 2609   tainted($enc_tainted) or warn "Amavis::Util: can't obtain a
>> tainted string";
>
>> Any idea what the cause is?
>
> Funny. Will investigate when I get home.
> It is harmless in itself, but shows that some of the Perl's
> taint checks will be less effective. Are you perhaps
> removing the -t flag from the first line in a file 'amavisd'?

Yes, we are, although I don't recall the reasons behind it.  Something I 
inherited.  I will see if it is still necessary.

> What version of Perl is this? OS is Linux I presume.

This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi, Ubuntu 
10 LTS

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration


More information about the amavis-users mailing list