https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6313
Summary: SPAM Checking gets disabled for Virtual Users when
userprefs exist in SQL only
Product: Spamassassin
Version: 3.3.0
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: major
Priority: P5
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [email protected]
3.3.0 wants to mkdir ~/.spamassassin for userprefs.
(My earlier version (3.1.7) did not attempt to do this.)
I'm running spamd from rc.conf with spamd_flags="-Q -x -d -m 10 " so my
userprefs
are stored in mySQL (and I really don't want a ~/.spamassassin directory).
The attempt to create this directory results in error message
"Insecure dependency in mkdir while running setuid" in /usr/local/bin/spamd
line 2300, <GENxx> line 2. and disables SPAM checking for the current user. As
each virtual user receives mail that is processed through SA, the "Insecure.."
message is reissued, incrementing the "xx" in GENxx - ultimately spam checking
gets disabled for almost all users.
I'm not running LDAP. There seems to be code in SPAMD in the LDAP area similar
to what is near line 2300.
I'm also not running AWL.
Mark suggested pre-creating ~/.spamassassin directories as a workaround. This
will work however in my implementation I would need to create a home directory
for each virtual user as well.
Juergen
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.