On 19-12-11 20:35, Ronald L. Rosson Jr. wrote: > On Dec 19, 2011, at 1:25 PM, Tom Hendrikx wrote: >> On 19-12-11 19:52, Ronald L. Rosson Jr. wrote: >>> On Dec 19, 2011, at 12:33 PM, Tom Hendrikx wrote: >>>> On 19-12-11 18:07, Ronald L. Rosson Jr. wrote: >>>>> I have successfully compiled and have dspam running under OSX >>>>> and checking e-mail. Only 2 issues that I have are ignoring of >>>>> preferences (e-mail sent earlier showing the log) and when in >>>>> daemon mode it is having a problem with iconv_open (dyld: Symbol >>>>> not found: _iconv_open Referenced from: >>>>> /usr/local/lib/libdspam.7.dylib Expected in: flat namespace). >>>>> >>>>> I have even gone as far as pulling the latest from git. >>>>> >>>>> Any help or suggestions. >>>>> >>>>> TIA -- Ron Rosson r...@oneinsane.org >>>>> >>>> >>>> Hi Ron, >>>> >>>> GIT has an open issue regarding iconv usage, which means it is not >>>> usable for you. The release tarball does not have this issue, so >>>> please use that. >>> >>> Did not see the issue listed on sourceforge when I pulled it and I >>> can not recall if I had the issue when I was using it from the >>> release tarball. (will check once I get the below issue resolved) >>> >>>> >>>> The error messages as reported earlier (dspam[61055]: Ignoring >>>> disallowed preference 'trainingMode') indicate that you have locked >>>> down some preferences using 'AllowOverride' in dspam.conf, but they >>>> are set in a pref file, or in your database. >>> >>> >>> Ok, so if I want my users to be able to modify everything but opting >>> out of using DSPAM what should be in my dspam.conf. My dspam install >>> is using postgres backend. I have a defaults.conf symlinked and >>> entries in dspam.conf. >>> >>> Guess I am confused what config needs to be where to give my users >>> the freedom I am looking for. >>> >> >> You probably have the correct config, however dspam simply warns that >> the user has a preference set while dspam is configured to ignore it. > > So if I have this correctly: > > defaults.conf: establishes a new user the minimum of what I recommend > dspam.conf: Preference directives set what I want setup > AllowOverride directive allows the user to override the > preferences > PostgresDB: Stores everything including preferences an uid's. > > Users should be able to modify everything except what I do not allow an > override for.
I still don't understand what you want to set in defaults.conf/defaults.pref, this file is not part of dspam distribution. Set default preferences with 'Preference', set 'AllowOverride' for settings you do not want altered, both in dspam.conf. Then allow the user to use the webui, which will add settings to the database. > >> >> Probably all the preferences that dspam warns about, are set in the >> symlinked defaults.conf (not sure why you would use that when you can >> set all values in dspam.conf, and disallow changing most of them). >> >> The message is harmless (just informal), so if it annoys you, configure >> your syslog daemon to filter the messages. > > Do I have this right? I have no idea what you are saying. > > -Ron > > P.S. BTW. rolled back to 10.3.1 and --daemon mode is working without the > iconv error. so you were right. > Nice ;) ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user