On Mon, 21 Dec 2009 19:25:32 +0300 Eugene Prokopiev <[email protected]> wrote:
> Hi, > Hallo Eugene, > Is it possible to store lock files and all statistics in ~/.dspam > directory? This feature works with 3.8.0, > if it worked in 3.8.0 with the same compile options as you have now for 3.9.0 then it's definately an error/bug. > but now I see: > > Dec 21 19:03:23 mail dspam[24044]: Unable to create directory: > /var/lib/dspam/data: Permission denied > Dec 21 19:03:23 mail dspam[24044]: Unable to open file for writing: > /var/lib/dspam/data/e/n/enp/enp.lock: Permission denied > Dec 21 19:03:23 mail dspam[24044]: Unable to attach DSPAM context > Dec 21 19:03:23 mail dspam[24044]: process_message returned error -2. > delivering. > > It is not an option to make /var/lib/dspam/data writable by all mail users. > When do you get that error? When calling the DSPAM binary? Normally that binary is setuid or setgid and the binary is then able to write to that directory. It must write there since it is going to update a bunch of files in the DSPAM_HOME directory. If you don't want to use that feature and want to have all data for DSPAM under the users home then use '--enable-homedir' and '--disable-large-scale' and '--disable-domain-scale'. Or use dspamc or 'dspam --client' to let the DSPAM daemon handle that for the caller. > -- > Thanks, > Eugene Prokopiev > -- Kind Regards from Switzerland, Stevan Bajić ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
