Re: Questions about spamassassin
Paul Schmehl skrev den 2024-06-21 01:17: bayes_path /usr/local/etc/mail/spamassassin/bayes/bayes On 22.06.24 16:30, Benny Pedersen wrote: this need spamd running as root :/ according to OP mail the directory is owned by spamd user https://marc.info/?l=spamassassin-users&m=171891451702472&w=2 bayes_path ~/.spamassassin/bayes path is not a file, just a dir it's a path + filename prefix so the setting is correct. I however prefer using /var, like in debian: debian-spamd:x:114:114::/var/lib/spamassassin:/bin/sh drwx-- 2 debian-spamd debian-spamd 4096 Jun 22 02:13 /var/lib/spamassassin/.spamassassin/ YMMV of course -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Quantum mechanics: The dreams stuff is made of.
Re: Questions about spamassassin
Paul Schmehl skrev den 2024-06-21 01:17: bayes_path /usr/local/etc/mail/spamassassin/bayes/bayes this need spamd running as root :/ bayes_path ~/.spamassassin/bayes path is not a file, just a dir expanded without ~ is in gentoo /var/lib/spamd this support any system users, spamd homedir incl id spamd uid=998(spamd) gid=337(spamd) groups=337(spamd),333(amavis) grep spamd /etc/passwd spamd:x:998:337:User for the SpamAssassin daemon:/var/lib/spamd:/sbin/nologin hope it helps, else ask
Re: Question about sa-updates
Paul Schmehl skrev den 2024-06-22 07:44: It’s not clear to me from your answer. Does SA read rules in both places? it eveal first sa-update rules, then later host rules Or only in /etc/mail/spamassassin/? this is host rules, you define all global configs here, and it will never be overrided by sa-update add rules to userprefs.cf in same place as local.cf is, score userprefs rules with nearly zerro score, but not zerro 0, why this ? if done this way scores can be changed in ldap/sql pr user, even in $HOME./spamassassin/user-prefs more help, then i need more info :=)