Am 28 Mar 2006 schrieb Brent Stephens <brent.stephens@brij.net>:
> Ok, I hope that is enough information. One of the things happening
> is...some messages for some users are showing erratic behavior. Messages
> are refusing to retrain. In fact, it seems as if this is sporadically
> happening to ALL of the users over a small amount of time. With ONE user
> out of 35, I have actually received a blank error message from the DSPAM
> interface when retraining.
>
> Another behavior is that some messages, when retrained, are losing their
> data reported in the FROM and SUBJECT on the History page. In both of the
> previous cases there are no errors reported in the Apache logs.
I have posted a patch for some issues in dspam.cgi on the
development list yesterday.
You can download the patch from
<http://www.muempf.de/down/dspam/dspam-webui.diff.gz>
Changes:
- Using HTTP redirect to redirect the browser back to the original template
after the user has executed a link. Doesn't allow the browser to show the URL
location with the embedded command e.g. retrain=spam. Protects the user from
accidental re-execute of the command by reloading the page.
- Changed DisplayHistory to scan the entire logfile first and only then decide
which information has to be displayed based on history_page. Avoids wrong
display due to incomplete information available.
- Discard 'resent' messages in history display.
- Quote single-quote ' (mostly from subject) in javascript command for fragment
display. Prevents execution of the command.
- Added links to previous/next history page.
- Added 'history_page=1' to all templates for consistency.
- Apply MAX_COL_LEN to history display as well.
- Added DATE_FORMAT to configure.pl to allow customized date format in history
and quarantine (using strftime).
- Added OPTMODE to configure.pl to customize preferences tab for OptIn, OptOut
or no selectable option.
- Touching a mailbox timestamp file every time the user displays the quarantine.
This file can be used in a report_quarantine script.
- Removed 'sortby=Rating' from all templates as it renders SORT_DEFAULT useless.
- In quarantine, keep selected sort method after processing mails.
- In GetPrefs, read default prefs first and overlay them with user prefs.
May be you can give it a try and let us know the result.
> The Preferences issues I am having are setting global preferences through
> the WebUI. Under the Administration tab, it says ³You can also edit DSPAM's
> default preferences by leaving the input field empty.² This does not,
> however, work.
Yes, I observed that too.
If time permits, I'll look at admin.cgi in the next days.
Regards.
-- Stefan Huelswitt s.huelswitt@gmx.de | http://www.muempf.de/Received on Tue Mar 28 17:01:49 2006
This archive was generated by hypermail 2.1.8 : Wed Mar 29 2006 - 00:00:01 EST