SA Bugzilla – Bug 4552
[review] Unitialized value warnings in spamd
Last modified: 2005-08-27 12:29:18 UTC
I'm assuming sample-spam.txt was originally learned as spam. ./spamc/spamc -p 12345 -L spam < sample-spam.txt in the debug output from spamd: [2391] warn: Use of uninitialized value in concatenation (.) or string at ./spamd line 1484, <GEN5> line 32. [2391] warn: Use of uninitialized value in concatenation (.) or string at ./spamd line 1489, <GEN5> line 32. [2391] warn: Use of uninitialized value in concatenation (.) or string at ./spamd line 1489, <GEN5> line 32. [2391] info: spamd: for duncf:1000 in 0.1 seconds, 799 bytes ./spamc/spamc -p 12345 -L ham < sample-spam.txt debug output: [2391] warn: Use of uninitialized value in concatenation (.) or string at ./spamd line 1489, <GEN7> line 32. [2391] info: spamd: Setting local for duncf:1000 in 0.2 seconds, 799 bytes ./spamc/spamc -p 12345 -L spam < sample-spam.txt debug output: [2391] warn: Use of uninitialized value in concatenation (.) or string at ./spamd line 1489, <GEN8> line 32. [2391] info: spamd: Setting local for duncf:1000 in 0.2 seconds, 799 bytes Note the "Setting " lines are missing information that seems important.
Created attachment 3105 [details] Patch to fix this This fixed the uninitialized value warnings and makes the log message make sense if the message was not learned/unlearned.
Please vote on attachment 3105 [details] for 3.1.0. Fixed in trunk (261912).
+1
Sending spamd/spamd.raw Transmitting file data . Committed revision 263805.