http://bugzilla.spamassassin.org/show_bug.cgi?id=4537
------- Additional Comments From [EMAIL PROTECTED] 2005-08-20 02:04 -------
(In reply to comment #7)
> Subject: Re: Taint problems with -v -u and --create-prefs options
>
> Please capture the debug output from spamd of 2-3 msgs being scanned
> that show this error.
>
> Thanks
> Michael
>
Ok,
I added -D option for debug, and so:
# /etc/init.d/spamassassin restart
Restarting SpamAssassin Mail Filter Daemon: trying to connect to syslog/unix...
no error connecting to syslog/unix
logging enabled:
facility: mail
socket: unix
output: syslog
creating INET socket:
Listen: 128
LocalAddr: 127.0.0.1
LocalPort: 783
Proto: 6
ReuseAddr: 1
Type: 1
debug: SpamAssassin version 3.0.3
debug: Score set 0 chosen.
debug: Storable module v2.12 found
spamd.
~# ps uxaw | grep -i spam
vpopmail 28011 0.0 4.6 27188 23404 ? Ss 10:41 0:01 /usr/bin/perl -T
-w /usr/sbin/spamd --create-prefs --max-children 2 -D -v -u vpopmail -d
--pidfile=/etc/spamassassin/spamd.pid
vpopmail 28481 3.0 5.0 28992 25304 ? S 10:41 0:32 spamd child
vpopmail 8215 0.1 5.0 29076 25396 ? S 10:41 0:01 spamd child
And this is my syslog:
Aug 20 10:47:14 xxxx spamd[28481]: logmsg: connection from localhost [127.0.0.1]
at port
47167
Aug 20 10:47:14 xxxx spamd[28481]: connection from localhost [127.0.0.1] at port
47167
Aug 20 10:47:14 xxxx spamd[28481]: logmsg: Creating default_prefs [Error:
unable to
setuid/.spa
massassin/user_prefs]
Aug 20 10:47:14 xxxx spamd[28481]: Creating default_prefs [Error: unable to
setuid/.spamassassi
n/user_prefs]
Aug 20 10:47:14 xxxx spamd[28481]: Use of uninitialized value in string ne at
/usr/share/perl5/
Mail/SpamAssassin.pm line 1476, <GEN3> line 2.
Aug 20 10:47:14 xxxx spamd[28481]: Use of uninitialized value in concatenation
(.) or string
at
/usr/share/perl5/Mail/SpamAssassin.pm line 1477, <GEN3> line 2.
Aug 20 10:47:14 xxxx spamd[28481]: Oops! user_dirs don't match! 'Error: unable
to setuid' vs
''
Aug 20 10:47:14 xxxx spamd[28481]: debug: using
"/var/lib/vpopmail/.spamassassin" for user
stat
e dir
Aug 20 10:47:14 xxxx spamd[28481]: Cannot write to Error: unable to
setuid/.spamassassin/user_p
refs: No such file or directory
Aug 20 10:47:14 xxxx spamd[28481]: logmsg: Couldn't create readable
default_prefs for
[Error: u
nable to setuid/.spamassassin/user_prefs]
Aug 20 10:47:14 xxxx spamd[28481]: Couldn't create readable default_prefs for
[Error: unable
to
setuid/.spamassassin/user_prefs]
Aug 20 10:47:14 xxxx spamd[28481]: debug: read_scoreonly_config: cannot open
"Error: unable
to
setuid/.spamassassin/user_prefs": No such file or directory
Aug 20 10:47:14 xxxx spamd[28481]: debug: user has changed
Aug 20 10:47:14 xxxx spamd[28481]: debug: bayes: 28481 tie-ing to DB file R/O
/etc/spamassassin
/bayes_toks
Aug 20 10:47:14 xxxx spamd[28481]: debug: bayes: 28481 tie-ing to DB file R/O
/etc/spamassassin
/bayes_seen
[...]
Aug 20 10:47:20 xxxx spamd[8215]: logmsg: connection from localhost [127.0.0.1]
at port
45654
Aug 20 10:47:20 xxxx spamd[8215]: connection from localhost [127.0.0.1] at port
45654
Aug 20 10:47:20 xxxx spamd[8215]: logmsg: Creating default_prefs [Error: unable
to
setuid/.spam
assassin/user_prefs]
Aug 20 10:47:20 xxxx spamd[8215]: Creating default_prefs [Error: unable to
setuid/.spamassassin
/user_prefs]
Aug 20 10:47:20 xxxx spamd[8215]: Use of uninitialized value in string ne at
/usr/share/perl5/M
ail/SpamAssassin.pm line 1476, <GEN3> line 2.
Aug 20 10:47:20 xxxx spamd[8215]: Use of uninitialized value in concatenation
(.) or string
at
/usr/share/perl5/Mail/SpamAssassin.pm line 1477, <GEN3> line 2.
Aug 20 10:47:20 xxxx spamd[8215]: Oops! user_dirs don't match! 'Error: unable to
setuid' vs
''
Aug 20 10:47:20 xxxx spamd[8215]: debug: using "/var/lib/vpopmail/.spamassassin"
for user
state
dir
Aug 20 10:47:20 xxxx spamd[8215]: Cannot write to Error: unable to
setuid/.spamassassin/user_pr
efs: No such file or directory
Aug 20 10:47:20 xxxx spamd[8215]: logmsg: Couldn't create readable default_prefs
for [Error:
un
able to setuid/.spamassassin/user_prefs]
Aug 20 10:47:20 xxxx spamd[8215]: Couldn't create readable default_prefs for
[Error: unable
to
setuid/.spamassassin/user_prefs]
Aug 20 10:47:20 xxxx spamd[8215]: debug: read_scoreonly_config: cannot open
"Error: unable
to s
etuid/.spamassassin/user_prefs": No such file or directory
Aug 20 10:47:20 xxxx spamd[8215]: debug: user has changed
[...]
Aug 20 10:52:44 xxxx spamd[28481]: logmsg: connection from localhost [127.0.0.1]
at port
33003
Aug 20 10:52:44 xxxx spamd[28481]: connection from localhost [127.0.0.1] at port
33003
Aug 20 10:52:44 xxxx spamd[28481]: logmsg: Creating default_prefs [Error:
unable to
setuid/.spa
massassin/user_prefs]
Aug 20 10:52:44 xxxx spamd[28481]: Creating default_prefs [Error: unable to
setuid/.spamassassi
n/user_prefs]
Aug 20 10:52:44 xxxx spamd[28481]: debug: using "Error: unable to
setuid/.spamassassin" for
use
r state dir
Aug 20 10:52:44 xxxx spamd[28481]: debug: mkdir Error: unable to
setuid/.spamassassin
failed: I
nsecure dependency in mkdir while running with -T switch at
/usr/share/perl/5.8/File/Path.pm
line 15
0, <GEN14> line 2._ No such file or directory
Aug 20 10:52:44 xxxx spamd[28481]: Cannot write to Error: unable to
setuid/.spamassassin/user_p
refs: No such file or directory
Aug 20 10:52:44 xxxx spamd[28481]: logmsg: Couldn't create readable
default_prefs for
[Error: u
nable to setuid/.spamassassin/user_prefs]
Aug 20 10:52:44 xxxx spamd[28481]: Couldn't create readable default_prefs for
[Error: unable
to
setuid/.spamassassin/user_prefs]
Aug 20 10:52:44 xxxx spamd[28481]: debug: read_scoreonly_config: cannot open
"Error: unable
to
setuid/.spamassassin/user_prefs": No such file or directory
Aug 20 10:52:44 xxxx spamd[28481]: debug: user has changed
Aug 20 10:52:44 xxxx spamd[28481]: debug: bayes: 28481 tie-ing to DB file R/O
/etc/spamassassin
/bayes_toks
Aug 20 10:52:44 xxxx spamd[28481]: debug: bayes: 28481 tie-ing to DB file R/O
/etc/spamassassin
/bayes_seen
Aug 20 10:52:44 xxxx spamd[28481]: debug: bayes: found bayes db version 3
Aug 20 10:52:45 xxxx spamd[28481]: debug: Score set 3 chosen.
[...]
Aug 20 10:56:24 xxxx spamd[8215]: logmsg: connection from localhost [127.0.0.1]
at port
59204
Aug 20 10:56:24 xxxx spamd[8215]: connection from localhost [127.0.0.1] at port
59204
Aug 20 10:56:24 xxxx spamd[8215]: logmsg: Creating default_prefs [Error: unable
to
setuid/.spam
assassin/user_prefs]
Aug 20 10:56:24 xxxx spamd[8215]: Creating default_prefs [Error: unable to
setuid/.spamassassin
/user_prefs]
Aug 20 10:56:24 xxxx spamd[8215]: debug: using "Error: unable to
setuid/.spamassassin" for
user
state dir
Aug 20 10:56:24 xxxx spamd[8215]: debug: mkdir Error: unable to
setuid/.spamassassin failed:
In
secure dependency in mkdir while running with -T switch at
/usr/share/perl/5.8/File/Path.pm
line 150
, <GEN31> line 2._ No such file or directory
Aug 20 10:56:24 xxxx spamd[8215]: Cannot write to Error: unable to
setuid/.spamassassin/user_pr
efs: No such file or directory
Aug 20 10:56:24 xxxx spamd[8215]: logmsg: Couldn't create readable default_prefs
for [Error:
un
able to setuid/.spamassassin/user_prefs]
Aug 20 10:56:24 xxxx spamd[8215]: Couldn't create readable default_prefs for
[Error: unable
to
setuid/.spamassassin/user_prefs]
Aug 20 10:56:24 xxxx spamd[8215]: debug: read_scoreonly_config: cannot open
"Error: unable
to s
etuid/.spamassassin/user_prefs": No such file or directory
Aug 20 10:56:24 xxxx spamd[8215]: debug: user has changed
Aug 20 10:56:24 xxxx spamd[8215]: debug: bayes: 8215 tie-ing to DB file R/O
/etc/spamassassin/b
ayes_toks
Aug 20 10:56:24 xxxx spamd[8215]: debug: bayes: 8215 tie-ing to DB file R/O
/etc/spamassassin/b
ayes_seen
Aug 20 10:56:24 xxxx spamd[8215]: debug: bayes: found bayes db version 3
Aug 20 10:56:24 xxxx spamd[8215]: debug: Score set 3 chosen.
Thanks
Giuseppe
P.S. Spamassassin version is 3.0.3, and not 3.0.4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.