Hi, Following to Stevan's suggestion in the discussion around sf bug #2824760: I would say that the logic regarding preferences should be: Priority 1) User preferences Priority 2) Use group preferences Priority 3) Use default preferences (uid 0) Fallback) Use preferences from dspam.conf
I take the leave to ask the following: I have never really experimented with default.prefs files. Would someone be so kind and explain the following part of admin.cgi: if ($FORM{'username'} eq "") { $FILE = "./default.prefs"; if ($CONFIG{'PREFERENCES_EXTENSION'} != 1 && ! -l "$CONFIG{'DSPAM_HOME'}/default.prefs") { $DATA{'ERROR'} = "<em>WARNING:</em> " . "These default preferences will not be loaded by DSPAM, but only by ". " the CGI interface when a user initially sets up their preferences. ". "To have DSPAM override its configuration with these default ". "preferences, symlink $CONFIG{'DSPAM_HOME'}/default.prefs to the ". "default.prefs file in the CGI directory.<BR><BR>"; } What are the default preferences? Stevan refers to uid 0, are they only used when using preferences-extension? If not using them, then default.prefs is used? Cheers, Julien ------------------------------------------------------------------------------ _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel