http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4939
Summary: "Use of uninitialized value in scalar chomp" in syslog
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338352
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
SA is filling my syslog with the following messages:
Nov 4 10:48:41 foobar spamd[27067]: Use of uninitialized value in
scalar chomp at /usr/sbin/spamd line 1765, <GEN86> line 2.
Nov 4 10:48:41 foobar spamd[27067]: Use of uninitialized value in
concatenation (.) or string at /usr/sbin/spamd line 1767, <GEN86> line 2
This is very annyoing. Should be no bigger problem to fix this.
[ Problem is in the following code: ]
#
# If vpopmail config enabled then set $dir to virtual homedir
#
if ( $opt{'vpopmail'} ) {
my $vpopdir = $dir;
$dir = `$vpopdir/bin/vuserinfo -d $username`;
if ($? != 0) {
#
# If vuserinfo failed $username could be an alias
#
$dir = `$vpopdir/bin/valias $username`;
if ($? == 0 && $dir !~ /.+ -> &/) {
$dir =~ s,.+ -> (/.+)/Maildir/,$1,;
} else {
- --> undef($dir);
}
}
chomp($dir);
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.