spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mathias gnigler" <mathia...@gmx.at>
Subject Virtual Config dir: Insecure dependency in mkdir while running with -T switch
Date Thu, 09 Nov 2017 11:40:12 GMT
<html><head></head><body><div style="font-family: Verdana;font-size:
12.0px;"><div>Hello everyone,</div>

<div>&nbsp;</div>

<div>Currently I move to a new Server with newer OS, Perl and SpamAssassin Version.<br/>
From: Ubuntu 14.04.5 LTS Perl 5.18.2 SpamAssassin version 3.4.0<br/>
To: Ubuntu 16.04.3 LTS Perl 5.22.1 SpamAssassin version 3.4.1</div>

<div>&nbsp;</div>

<div>/etc/default/spamassassin<br/>
OPTIONS=&quot;-u spamd -D --create-prefs -m5 --virtual-config-dir=/var/opt/spamd/%u -x
--daemonize --max-children 5&quot;</div>

<div>&nbsp;</div>

<div>The above Options worked fine on the old Server, on the new Server i get a Perl
error during creating the Folders for the User directories.</div>

<div>&nbsp;</div>

<div>Could not find anyone with the same problem, new bug or a config error on my side?</div>

<div>/var/opt/spamd exists rights should also be fine.</div>

<div>&nbsp;</div>

<div>Part from the Log: (Recipient address was office@domain.tld)<br/>
spamd[1468]: spamd: using default config for office: /var/opt/spamd/office/user_prefs<br/>
spamd[1468]: info: user has changed<br/>
spamd[1468]: bayes: learner_new self=Mail::SpamAssassin::Plugin::Bayes=HASH(0x3065950), bayes_store_module=Mail::SpamAssassin::BayesStore::DBM<br/>
spamd[1468]: bayes: learner_new: got store=Mail::SpamAssassin::BayesStore::DBM=HASH(0x35da948)<br/>
spamd[1468]: config: using &quot;/var/opt/spamd/office&quot; for user state dir<br/>
<strong><u>spamd[1468]: config: mkdir /var/opt/spamd/office failed: Insecure dependency
in mkdir while running with -T switch at /usr/share/perl/5.22/File/Path.pm line 136, &lt;GEN17&gt;
line 2.</u></strong><br/>
spamd[1468]: bayes: no dbs present, cannot tie DB R/O: /var/opt/spamd/office/bayes_toks<br/>
spamd[1468]: config: score set 1 chosen.<br/>
spamd[1468]: spamd: running as uid 1001<br/>
spamd[1468]: config: time limit 300.0 s<br/>
spamd[1468]: message: line ending changed to CRLF<br/>
spamd[1468]: message: main message type: text/plain<br/>
spamd[1468]: spamd: processing message (unknown) for office:1001<br/>
spamd[1468]: check: pms new, time limit in 299.978 s<br/>
spamd[1468]: bayes: no dbs present, cannot tie DB R/O: /var/opt/spamd/office/bayes_toks</div>

<div>&nbsp;</div>

<div>Has anyone seen this before, currently no idea to fix this.</div>

<div>&nbsp;</div>

<div>Thanks,</div>

<div>Mathias</div></div></body></html>

Mime
View raw message