Guillaume HILT schreef: > Hi, > > I'm not sure to understand what the use flag user-homedirs is doing for > dspam on Gentoo. > If I don't use it, does it mean that all the spam settings and data will > be global and not per user ? > > I'm actually installing a virtual mail server with dovecot, postfix, > dspam and clamav for a few domains. > All my mails will be in /home/vmail/$domain/$user/.maildir and I'd like > to install dspam-web but it require me to reinstall dspam without the > user-homedirs flags. > > Thanks and happy new year. > > Guillaume > > > >
When you read the ebuild, you'll see that it enables the 'homedir' configure flag ('--enable-homedir'). >From the dspam source's README: ========= --enable-homedir When enabled, instead of checking for $HOME/$USER/opt-in/ $USER[.dspam|.nodspam], DSPAM will check for a .dspam|.nodspam file in the user's home directory. DSPAM will also store each user's data in ~/.dspam when this option is enabled. Because of this, DSPAM will automatically install and run setuid root so that it can read each user's home directory. Note: This function is incompatible with most implementations of the Web UI, since it requires access to read each user's home directory. Therefore, only use this option if you will not be using the Web UI or plan on doing something asinine like running it as root. ========== This has no effect on how the data for users is separated, but only where config files for users are located. Due to the fact that the files are in a location which is (probably) not reachable for the web-interface in this configuration, it is disabled. Regards, Tom !DSPAM:1011,495b4c3f150921094571452!