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!