Paul Cockings wrote: > On 27/03/2012 11:08, Frantisek Hanzlik wrote: >> I'm trying test dspam (latest git version). What seem for me quite >> unacceptable is displaying base64 (maybe quoted-printable too) >> Sender and Subject items as-is, which make them human-unreadable. >> Especially in managed groups - I'm now looking (as group manager) >> in web UI/history page at item with >> Sender: "=?iso-8859-1?B?RXVyb3BlIERlYnRjb2xsZWN0?= >> Subject: =?iso-8859-1?B?Q29sbGVjdCB5b3VyIHJlY2Vp?= >> >> This makes any human classification unpossible, when not know >> Sender, Subject and without searching in logs neither recipients >> (as manager see items for all group members). What good is dspam >> perhaps excellent classification engine, when I'm not able >> learn it? >> >> I'm thinking several months ago there in list was mentioned that >> some patch solving this problem was accepted and included in, but >> is it true? >> >> Rem.: I'm using hash driver, but it probably don't matter, I think >> history items are taken from user's log (what in case managed group >> isn't optimal, better would be take system log and in webui display >> recipients too). I not know how is treated quarantine webui page. >> but same problem I see there too - but there at least I can display >> mail source ant decide on that. >> >> Thanks, Franta Hanzlik >> > > Maybe you are thinking about the two fixes in GIT on 22/Feb/2012 ? > > You could take a look at the options in [web-ui-location]/configure.pl > Here you will see some options: > > $CONFIG{'HISTORY_HTMLIZE'} = "no"; # Wether to HTML-ize sender and > subject in history "yes" or "no" > $CONFIG{'QUARANTINE_HTMLIZE'} = "no"; # Wether to HTML-ize sender and > subject in quarantine "yes" or "no" > $CONFIG{'MIME_DECODE'} = 0; > > Please alter these options 1 at a time and report back your success or > failure
Hello Paul, thanks for Your reply and these recommendations. After some tries, I'm still not lucky. Maybe I'm doin something wrong. My thinking is as (e.g. when dspam.cgi process quarantine): When I in browser see MIME encoded strings, then I must surely enable MIME_DECODE (i.e. $CONFIG{'MIME_DECODE'} = 1;). Eventual usage of QUARANTINE_HTMLIZE setting should be done only when resulting string will be contain garbage at diacritics chracters, I'm right? Thus I set "$CONFIG{'MIME_DECODE'} = 1;" (btw, i not understand, why isn't MIME decoding switched on as default, or rather permanently? Probably everyone want readable output instead human-unreadable strings. Or it is non-default option because on some systems MIME::WordDecoder and Unicode::Map8 are not available? I'm still doing some tries, but it seem as there is problem with processing multi-line header items, both in dspam.cgi (as it display badly when processing quarantine mboxes) and dspam (as it write incomplete "From:" and "Subject:" (and maybe "To:" too) pieces of corresponding items. e.g.: a) when in mail header is: ... From: "=?iso-8859-1?B?RXVyb3BlIERlYnRjb2xsZWN0?= =?iso-8859-1?B?aW9u?=" <a.przyw...@gce-mailer-8.com> Subject: =?iso-8859-1?B?Q29sbGVjdCB5b3VyIHJlY2Vp?= =?iso-8859-1?B?dmFibGVzIGluIEZyYW5jZSBhbmQgaW4gdGhlIHdvcmxk?= Date: Wed, 11 Apr 2012 10:04:13 +0200 ... then web page shows (i have custom date format) only: 62% 11.04 11:12 "=?iso-8859-1?B?RXVyb3BlIERlYnRjb2xsZWN0?= =?iso-8859-1?B?Q29sbGVjdCB5b3VyIHJlY2Vp?= b) when in header are items: From: =?windows-1250?Q?Nakladatelstv=ED?= FRAUS <ka...@fraus.cz> Subject: =?windows-1250?Q?Pozv=E1nka?= na =?windows-1250?Q?Semin=E1=F8?= - =?windows-1250?Q?=C8esk=FD?= jazyk pro =?windows-1250?Q?Z=8A nov=EC?= ... then in logs (both system and user) is only: 1333375296 I Nakladatelství 4f79b140237537245819226 Pozvánka Delivered ... instead of right: 1333375296 I Nakladatelství FRAUS <ka...@fraus.cz> 4f79b140237537245819226 Pozvánka na Seminář Český jazyk pro ZŠ nově Delivered ... PS: When I can request for improvements: IMO in history and quarantine pages, when logged user is manager of (shared,managed) group, would be for easier human classification helpful display message recipients too. Would be easily possible do it, please? Thanks, Franta Hanzlik ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user