Re: More patches for dspam.cgi: delivery of false positives from quarantine

Troy Ayers <[email protected]> Mon, 07 Jan 2013 20:33:23 -0600
Newsgroups gmane.mail.spam.dspam.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============5013082679488493784==
Content-Type: multipart/alternative;
	boundary="------------080301030903040700050906"

This is a multi-part message in MIME format.
--------------080301030903040700050906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Could I trouble you for a sanitized version of your  
/usr/site/dspam_train/bin/dspam_fp script?  My system is 
Linux/sendmail/procmail.   Hate to re-invent the wheel... I'm having 
trouble envisioning how I would verify success or failure of delivery by 
DSPAM.  Does it involve checking the users retrain.log?

(thinking out loud) I should check for a mailbox full condition too 
(Quarantine mbox is separate from per user quotas in my case.)

-Troy



On 1/7/2013 7:24 PM, Tod A. Sandman wrote:
> Here is another patch for dspam.cgi that deals with the delivery of false positives from the quarantine.  It is a patch on top of the recent quarantine file locking patch I submitted.  It allows for specifying in configure.pl an external command for delivering false positives.  If this command is not defined, the patch has no effect, other than some optional additional logging.
>
> For us, this is a script that first attempts to retrain/deliver with dspam as normal.  But then the script tries to verify if the message was actually delivered, and if not, it will try to deliver the command directly (for instance, with procmail).  This external script is quite site specific.
>
>
> Background:
>
> If the DSPAM signature of a message cannot be found in the database (most often because it has expired and has been cleaned from the database), the dspam command will exit with a successful status even though it does not deliver the message.
>
>
> Long ago, we had several unhappy professors after they returned from sabbatical and attempted to deliver old messages in their quarantines.
>
>
>
> Tod Sandman
> Sr. Systems Administrator
> Middleware Development & Integration
> Rice University
>
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
>
>
> _______________________________________________
> Dspam-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspam-devel


--------------080301030903040700050906
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Could I trouble you for a sanitized&nbsp;
      version of your&nbsp; /usr/site/dspam_train/bin/dspam_fp script?&nbsp; My
      system is Linux/sendmail/procmail.&nbsp;&nbsp; Hate to re-invent the
      wheel... I'm having trouble envisioning how I would verify success
      or failure of delivery by DSPAM.&nbsp; Does it involve checking the
      users retrain.log?<br>
      <br>
      (thinking out loud) I should check for a mailbox full condition
      too (Quarantine mbox is separate from per user quotas in my case.)<br>
      <br>
      -Troy<br>
      <br>
      <br>
      <br>
      On 1/7/2013 7:24 PM, Tod A. Sandman wrote:<br>
    </div>
    <blockquote cite="mid:[email protected]" type="cite">
      <pre wrap="">Here is another patch for dspam.cgi that deals with the delivery of false positives from the quarantine.  It is a patch on top of the recent quarantine file locking patch I submitted.  It allows for specifying in configure.pl an external command for delivering false positives.  If this command is not defined, the patch has no effect, other than some optional additional logging.

For us, this is a script that first attempts to retrain/deliver with dspam as normal.  But then the script tries to verify if the message was actually delivered, and if not, it will try to deliver the command directly (for instance, with procmail).  This external script is quite site specific.


Background:

If the DSPAM signature of a message cannot be found in the database (most often because it has expired and has been cleaned from the database), the dspam command will exit with a successful status even though it does not deliver the message.


Long ago, we had several unhappy professors after they returned from sabbatical and attempted to deliver old messages in their quarantines.



Tod Sandman
Sr. Systems Administrator
Middleware Development &amp; Integration
Rice University
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/learnmore_122512">http://p.sf.net/sfu/learnmore_122512</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dspam-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/dspam-devel">https://lists.sourceforge.net/lists/listinfo/dspam-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------080301030903040700050906--



--===============5013082679488493784==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
--===============5013082679488493784==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============5013082679488493784==--