spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amir Caspi <>
Subject uninitialized value $( in line 1595
Date Mon, 08 Apr 2019 21:41:20 GMT
Kevin et al,

I am getting errors in maillog relating to an uninitialized $( in, line 1595:
Mar 24 03:28:35 server spamd[27149]: Use of uninitialized value $( in concatenation (.) or
string at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/ line 1595.

I saw an existing bugzilla ( for this
error occurring on lines 1510 and 1595... it looks like 1510 has been patched but 1595 is
still happening.  I posted in that BZ but it seems to not have much activity so I thought
I'd probe the list to see if others might have an idea how to patch it...

Following the discussion in that BZ, I'm guessing this is happening because the spamc user
is a member of multiple groups:
util: setuid: ruid=1000 euid=1000 rgid= 10 190 egid= 10 190

So when line 1595 is trying to find the gid, it's getting something formatted differently
than what it wants.  When spamc is run for a user who is only a member of a single group,
this error doesn't occur, so it seems clear that it's related to being part of multiple groups.

Line 1510 was solved by including a split statement... could that help here, too?  Unfortunately
I'm not sufficiently expert to figure out the proper syntax and where to include the split.

(This is in CentOS 7, fully updated.)

Cheers and thanks!

--- Amir

View raw message