Dear Mark,

        Thank you very much for your message and guide , 
        I already checked and see some users have "amavisSpamTagLevel = undef" 
in ldap data.
        
        If I input some value into this config , the warning will fix . Right ?
        

Please do not hesitate to contact us , If you have any questions .
Best Regards.
################################
#  Watthanachai KEKHUA (Golf)
#  SYSTEM ENGINEER
#  Tel: 02-2367227 Ext. 3155
#  Direct Line Tel: 02-2366395
#  NTT Communications (Thailand) Co., Ltd.
#################################

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Mark Martinec
Sent: Wednesday, April 11, 2012 5:19 PM
To: [email protected]
Subject: Re: found some warning on maillog

Watthanachai Kekhua,

> Today we found some warning below, 
>   amavis[67002]: (67002-03-2) _WARN: Argument "undef" isn't numeric
>   in addition (+) at (eval 123) line 307.
> 
> My amavisd version = amavisd-new-2.7.0 OS = FreeBSD 8.2 amd 64 bit

Are you using LDAP lookups? This looks like it is coming from a LDAP lookup on 
an attribute which is supposed to be numeric, but contains a string "undef".

If an undefined value was really intended, it should be represented in LDAP (or 
in SQL) as a NULL, not some string.

  Mark



Reply via email to