no .spamassassin folder in homefolder on user creation

3 posts / 0 new
Last post
#1 Mon, 09/09/2013 - 08:16
nameless66

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!

Mon, 09/09/2013 - 09:24
andreychek

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

Mon, 09/09/2013 - 10:04 (Reply to #2)
nameless66

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!!

Topic locked