no .spamassassin folder in homefolder on user creation

Hallo,

I’ve setup a Virtualmin / LDAP System, which saves the SpamAssassin rules in LDAP Database. All works.

But on “user creation / email address creation” no .spamassassin folder will be created in it’s homefolder.

spamd.log shows:
warn: spamd: Insecure dependency in mkdir while running setuid at /usr/sbin/spamd line 2428, line 2.

–> Spam is not filtered :-/

Work-Around for me is to login with usermin and just open SpamAssassin Mail Filter Option under the ne account. Afterwards the .spamassassin folder will be created.

My /etc/default/spamassassin:
ENABLED=1
OPTIONS="–create-prefs --max-children 5 --helper-home-dir --setuid-with-ldap -x -s /var/log/spamd.log"
PIDFILE=/var/run/spamd.pid
CRON=1

Thanks in advance for help!

Howdy,

I suspect that’s an issue somehow related to LDAP. Out of curiosity, in Email Messages -> Spam and Virus Scanning, what is “SpamAssassin client program” set to?

-Eric

It’s spamc.

I’ve read the help this for, yeah and it says, that only spamassassin standalone can manage per user/domain settings. So I give it a try and…

YEAH, IT WORKS!

ThX a LOT!!