On Mon, 2010-02-01 at 14:14 +0100, Mark Martinec wrote: > Chris, > > > SA 3.3.0, just installed via CPAN this afternoon. When running my spam > > reporter script I noticed this: > > > > warn: reporter: DCC report via dccproc failed: Can't locate object > > method "close_pipe_fh" via package "Mail::SpamAssassin::Reporter" > > at /etc/mail/spamassassin/DCC.pm line 803,<DCC> line 2. > > Jan 31 18:01:05.755 [17665] info: reporter: could not report spam to > > DCC via dccproc > > > > spamd[18248]: rules: failed to run DCC_REPUT_13_19 test, skipping: > > spamd[30068]: util: failed to spawn a process > > "/usr/local/bin/dccproc, -H, -x, 0, -a, 204.15.81.110": > > Insecure dependency in exec while running setgid > > at /usr/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Util.pm line 1533. > > at /usr/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Util.pm line 1438. > > > > > you did a spamassassin -r? > > > > In a way yes, I run a perl script that runs sa-learn and also reports > > the spam to razor/pyzor/DCC all in one run. > > Can you reproduce the problem with a plain 'spamassassin -r' > (possibly setgui'd, like yours)? I wasn't successful. I guess you > will have to show your (stripped down) code that calls DCC reporting > so that the problem is reproducible. Please open a bug report > if you won't be able to locate the problem. One of the > arguments/options or a command path itself was tainted. > > Mark
Mark, running spamassassin -D -r (spam) nets: Feb 1 19:24:11.481 [16499] dbg: dcc: dccifd is not available: no r/w dccifd socket found Feb 1 19:24:11.482 [16499] dbg: util: current PATH is: /bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/chris/bin Feb 1 19:24:11.482 [16499] dbg: util: executable for dccproc was found at /usr/local/bin/dccproc Feb 1 19:24:11.482 [16499] dbg: dcc: dccproc is available: /usr/local/bin/dccproc Feb 1 19:24:11.483 [16499] dbg: info: entering helper-app run mode Feb 1 19:24:11.484 [16499] dbg: report: opening pipe: /usr/local/bin/dccproc -H -t many -x 0 -a 82.102.24.225 < /tmp/.spamassassin16499o8XfN7tmp Feb 1 19:24:11.486 [16536] dbg: util: setuid: ruid=500 euid=500 Feb 1 19:24:11.490 [16499] dbg: info: leaving helper-app run mode Feb 1 19:24:11.500 [16499] warn: reporter: DCC report via dccproc failed: Can't locate object method "close_pipe_fh" via package "Mail::SpamAssassin::Reporter" at /etc/mail/spamassassin/DCC.pm line 803, <DCC> line 2. Feb 1 19:24:11.500 [16499] info: reporter: could not report spam to DCC via dccproc The reporting part of the script is posted here: http://pastebin.com/m18e4e140 -- KeyID 0xE372A7DA98E6705C
signature.asc
Description: This is a digitally signed message part