amavisd-new-2.7.0-pre15 pre-release is available

tonio at starbridge.org tonio at starbridge.org
Thu May 12 16:18:29 CEST 2011


Le 11/05/2011 14:02, Mark Martinec a écrit :
> Tonio,
>
>> so far the patch seems working, no more problems on quarantined email.
>>
>> Concerning the other problem:
>> _WARN: Use of uninitialized value in string eq at (eval 118) line 275.
>>
>> I've assumed it happens on all email but I was wrong.
>> It seems to only happen on whitelisted or soft whitelisted sender (I use
>> SQL queries).
>> I've set level 5 into amavisd.conf, but with this level, no more error
>> message
>> At level 2 error message appears like this:
>>
>> Apr 15 09:21:09 smtp01 amavis[12151]: (12151-01) _WARN: Use of
>> uninitialized value in string eq at (eval 118) line 275.
> Thanks!
> Took me a while, but now I understand the issue.
> This warning is innocent. Here is a fix (diff against 2.7.0-pre15):
>
> --- amavisd~	2011-04-13 02:29:25.000000000 +0200
> +++ amavisd	2011-05-11 13:59:24.610258750 +0200
> @@ -16740,5 +16740,6 @@
>        my(@names) = @{$conn_h->sth($sel)->{NAME_lc}};
>        $match = {}; @$match{@names} = @$a_ref;
> -      if (!exists $match->{'local'} && $match->{'email'} eq '@.') {
> +      if ($self->{clause_name} eq 'sel_policy' &&
> +          !exists $match->{'local'} && $match->{'email'} eq '@.') {
>          # UGLY HACK to let a catchall (@.) imply that field 'local' has
>          # a value undef (NULL) when that field is not present in the
>
>
> Mark
Hi Mark,
after applying the fix, no more warning in the log, so it's ok !

thanks again for your work

Regards
Tonio


More information about the amavis-users mailing list