I think this is a feature which may be somewhat useful
and shouldn't take too much time to implement, the idea
is to replace the ham/spam path in the message log with
an URL so that a log entry like (e.g.)

Dec-3-08 10:50:25 msg-97819-12267 [DNSBL] 62.47.205.182
<[EMAIL PROTECTED]> to: [EMAIL PROTECTED]
                  [spam found] (DNSBL, 62.47.205.182 listed by
ix.dnsbl.manitu.net) [one wife is not
                  eenough] -> k:\assp/spam/12267.eml

would become

Dec-3-08 10:50:25 msg-97819-12267 [DNSBL] 62.47.205.182
<[EMAIL PROTECTED]> to: [EMAIL PROTECTED]
                  [spam found] (DNSBL, 62.47.205.182 listed by
ix.dnsbl.manitu.net) [one wife is not
                  eenough] ->
http//assp.yourdomain.com:55555/get?file=spam/12267.eml

that way one, looking at the maillog tail may easily retrieve a
message just by copying/pasting such URL into the browser
address bar

About the message storage; at the moment ASSP saves messages
into the spam/notspam folders w/o checking for duplicate ones; this
means that one sending a bunch of identical messages may quickly
pollute the spam or notspam folder(s) I think that a better approach
may be the following

* calculate a checksum (e.g. MD5) on the message body (ignore the
  headers since the source/recipient may change)

* check if a message named "msgXXXXXXXX.eml" (where XXX.. is the
   MD5 checksum) exists, if not, write the new message to the folder

* When rebuildspamdb.pl runs, it will trim down the number of messages
   sitting into the spam/notspam folders by removing older messages till
   the message count reaches the required level (add a "bias" if needed)

the above will avoid bayesian pollution and will avoid storing the same
message over and over while still mantaining the size of the spam and
notspam folders down to a manageable size; the same may be applied
to the errors folders if needed



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to