Le mercredi 22 juillet 2009 à 16:31 +0200, Steve a écrit :
> > I think this is quite complicated, don't you think?
> >
> To be honest? No. I don't think it is complicated. I have memorized it
> by thinking: What would be the logical approach to set preferences?
> 
> And that helped me. To me it is logical to use the preference
> extension on storage engines where this is supported. Should
> preference extension not be enabled or available then it's logical to
> me to go with the default preferences and as a last exit use
> dspam.conf if everything fails.
> 
Yes, you are right it is logical, when you are working on DSPAM
development ;) I am not sure a sysadmin can always remember such things,
especially for an anti-spam filter, which you usually set up and
configure once, and then forget about it as long as it works as expected
(until you have to change something... and that's precisely when
"problems" can happen)

> > I guess one way to fix default preferences should be enough, as at
> the
> > end,
> >
> I look it from that perspective that:
> 
> 1) Normal DSPAM:
> 1.1) default.prefs is the place to add preferences
> 1.2) dspam.conf is the place to add preferences if default.prefs is
> not available
> 
> 2) DSPAM with the preference extension:
> 2.1) Users preferences in the preference extension is the first place
> to add preferences
> 2.2) Should there be no user preferences, go and check default (uid 0)
> 2.3) Should default fail do the same as with normal DSPAM (1.1 then
> 1.2)
> 
That is something very clear which could be included in the
documentation.

> > after some time, you might forget how things work if you want to
> change
> > something (it happened to me with DSPAM some time ago, and thought
> they
> > had
> > to bet set in dspam.conf...) I simplified this by removing
> default.prefs.
> > 
> You forgot how DSPAM works and then you removed a file without knowing
> the impact of that action? That kind of things can happen all the
> time. No matter how simple something is or how well it is documented.
> 
Actually, I wanted to set default preferences, and first edited
dspam.conf and noticed these new preferences weren't taken into account.
Then I reminded of this default.prefs file which I decided to simply
remove to avoid any problem in the future (it might simply be my way of
thinking, but the first thing I look for when I want to configure
something is always the main configuration file).
> 
> > It should at least be better documented in README which lacks the
> kind of
> > details you have given in your first answer.
> > It should answer the following questions:
> > - how default preferences are set
> > - how user's preferences are set
> > - in which priorities are the preferences applied
> > 
> Feel free to update the documentation and send it here to the ML. I am
> sure your work on the documentation as a native speaking English
> person will be much appreciated by the others from the DSPAM
> community.

I am unfortunately not a native speaker, and I fear I am not able to
write a whole part of documentation. However, I might give it a try to
start the discussion so that other people can complete/correct/comment
it. I won't be able to do it now, but I think I can do this during
August, if someone can try and being earlier, I'd be happy to help
after!

Cheers,
Julien


------------------------------------------------------------------------------
_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to