Re: Per user spamassassin bayes_path
[email protected] Wed, 10 Jan 2024 13:12:27 +0100
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <[email protected]> |
Vom: Wed, 10 Jan 2024 12:22:08 +0100 > > Is there absolutely no way to read bayes tokens from user's home dirs using the default berkdb files (even if it's slow)? > How would you manage file access to user's home dirs? Amavis (and > therefore Spamassassin) does not scan with root privileges. The amavis user and the users both are part of the "mail" group. I'm running sa-learn as mail user to train ham/spam, chmod'ing to 0660 afterwards. > > Did anyone manage to do this? > I don't see a simple way. A harder way would also be highly appreciated :) I'd go some lengths for avoiding a postgres/mariadb instance. I suppose just whitelisting the "bayes_path" property in the user-settings would impose a trove of new problems? -- Daniel