Spamassassin nouser

learnLinux

New Member
Hallo,

ich habe nun von etch auf lenny umgestellt und jetzt habe ich bei der /etc/default/spammassassin config das problem:

Restarting SpamAssassin Mail Filter Daemon: [9202] error: spamd: cannot use --sql-config without -u
spamd: cannot use --sql-config without -u

Ich verwende diesen Befehl:
OPTIONS="--sql-config --nouser-config --daemonize --max-children=5"

und dort steht doch --nouser-config ?!
 
Ich habe gehört, dass es häufig helfen soll, die Dokumentation der genutzten Programme zu lesen. Aber lesen wird IMHO völlig überbewertet, seit es das Intarweb gibt...

spamd(1) said:
-q, --sql-config
Turn on SQL lookups even when per-user config files have been disabled with -x. this is useful for spamd hosts which don't have user's home directories but do want to load user preferences from an SQL database.

If your spamc client does not support sending the "User:" header, like "exiscan", then the SQL username used will always be nobody.

This inhibits the setuid() behavior, so the "-u" option is required. If you want the setuid() behaviour, use "-Q" or "--setuid-with-sql" instead.
 
VIELEN DANK!

funktioniert gut.
Aber was ich eben nicht verstehe ist, warum es bei etch so ohne Probleme funktioniert hat:
--sql-config --nouser-config --daemonize --max-children=5

und warum ich jetzt bei lenny:

--setuid-with-sql --nouser-config --local --daemonize --max-children=5

Außerdem kam bei etch nie dieser Fehler:
/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
Bei etch hat er es immer in /mail/webxpx/spamassassin/ gespeichert (Je nach Benutzer)
 
Last edited by a moderator:
Back
Top