SA Bugzilla – Bug 7020
Util.pm refusing to untaint
Last modified: 2015-12-22 14:41:27 UTC
Running a message through spamassassin it at the command line gives this warning from Util.pm warn: util: refusing to untaint suspicious path: "${exec_prefix}/lib" Calling spamassassin from within MIMEDefang milter: mimedefang-multiplexor[27529]: s1QKZwcH017978: Slave 1 stderr: util: refusing to untaint suspicious path: "${exec_prefix}/lib" (Applying the patch from bug id=7015 not fix it.)
Looking at this more with another programmer helping, I think you are passing the path of "${exec_prefix}/lib" when you likely mean to sometime earlier have exec_prefix replaced with something. In short, I'm 99.9% sure this is a configuration error.
Yes, it appears to have been a configuration issue. I removed all .pre files from /etc/mail/spamassassin, re-installed SA and the warning is no longer produced. I can only assume that a .pre file was inadvertently left from a previous install.
In my case, the source of the problem was Rhyolite DCC which was activated in v310.pre: loadplugin Mail::SpamAssassin::Plugin::DCC Commenting this line out removed the error immediately. Digging further I found out you really need to pass an Argument --libexecdir= to the ./configure (do this in /var/dcc/build if you plan to update DCC autmatically), e.g.: ./configure --disable-IPv6 --disable-server --disable-dccm --libexecdir=/var/dcc/libexec With this option given DCC works without errors and can be re-enabled.
Thanks for the follow-up!