https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7646

            Bug ID: 7646
           Summary: spamd running with virtual-config-dir mkdir error
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: spamc/spamd
          Assignee: dev@spamassassin.apache.org
          Reporter: grava...@kng.it
  Target Milestone: Undefined

Hi, 
I'm installin our new relay and as before I'm running spamd with
--virtual-config-dir option enabled:
"spamd -d --pidfile=/var/run/spamd.pid -c -x
--virtual-config-dir=/var/lib/spamassassin/vconfig/%u/ --allow-tell -u
debian-spamd -g debian-spamd --max-children=5 --min-children=3 --max-spare=3"

It works well but it cannot create the vconfig dir if it's not existing.
I've put spamd in debug and the problem is with perl tainted:

config: mkdir /var/lib/spamassassin/vconfig/giuseppe/ failed: Insecure
dependency in mkdir while running with -T switch at
/usr/share/perl/5.26/File/Path.pm line 177, <GEN10> line 2.

I solved the problem running spamd without -T option (as arch linux is doing)
but it could be great to fix this tainted variable.

Thanks
Giuseppe

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to