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

Paul Cockings <[email protected]> Wed, 23 Jan 2013 19:10:21 +0000
Newsgroups gmane.mail.spam.dspam.devel
Message-ID <[email protected]>
--===============2655275319737715266==
Content-Type: multipart/alternative;
	boundary="----CPO4YA59AP1PO21MV4AUHTW3TTVDCQ"

------CPO4YA59AP1PO21MV4AUHTW3TTVDCQ
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I've had discussions about using IMAP for storage, but no developer resou=
rces seem keen to make it happen.




Jani Partanen <[email protected]> wrote:

>I would like to toss in this mess again my idea what I already mention=20
>few years ago here, but don't remember end result.
>
>Would it be time to add support for db quarantine? Dspam already use=20
>database, so it should not be so hard to store quarantine messages into
>
>database.
>It would make Dspam much more scalable, example together with dbmail
>you=20
>could do all kind of magic with db replication etc...
>
>// JiiPee
>
>
>On 8.1.2013 4:33, Troy Ayers wrote:
>> 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
>>
>>
>>
>>
>------------------------------------------------------------------------=
------
>> 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
>>
>
>
>------------------------------------------------------------------------=
------
>Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>MVPs and experts. ON SALE this month only -- learn more at:
>http://p.sf.net/sfu/learnnow-d2d
>_______________________________________________
>Dspam-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/dspam-devel

------CPO4YA59AP1PO21MV4AUHTW3TTVDCQ
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head/><body><html><head></head><body>I&#39;ve had discussions abou=
t using IMAP for storage, but no developer resources seem keen to make it=
 happen.<br>
<br>
<br>
<br><br><div class=3D"gmail_quote">Jani Partanen &lt;[email protected]&g=
t; wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0=
.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style=3D"white-space: pre-wrap; word-wrap:break-word; font-family: m=
onospace; margin-top: 0px">I would like to toss in this mess again my ide=
a what I already mention <br />few years ago here, but don't remember end=
 result.<br /><br />Would it be time to add support for db quarantine? Ds=
pam already use <br />database, so it should not be so hard to store quar=
antine messages into <br />database.<br />It would make Dspam much more s=
calable, example together with dbmail you <br />could do all kind of magi=
c with db replication etc...<br /><br />// JiiPee<br /><br /><br />On 8.1=
.2013 4:33, Troy Ayers wrote:<br /><blockquote class=3D"gmail_quote" styl=
e=3D"margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-l=
eft: 1ex;">Could I trouble you for a sanitized version of your<br />/usr/=
site/dspam_train/bin/dspam_fp script?  My system is<br />Linux/sendmail/p=
rocmail.   Hate to re-invent the wheel... I'm having<br />trouble envisio=
ning how I would verify success or failure of d
 elivery
by<br />DSPAM.  Does it involve checking the users retrain.log?<br /><br =
/>(thinking out loud) I should check for a mailbox full condition too<br =
/>(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 /><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0.8=
ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">Here is another p=
atch for dspam.cgi that deals with the delivery of false positives from t=
he quarantine.  It is a patch on top of the recent quarantine file lockin=
g patch I submitted.  It allows for specifying in <a href=3D"http://confi=
gure.pl">configure.pl</a> an external command for delivering false positi=
ves.  If this command is not defined, the patch has no effect, other than=
 some optional additional logging.<br /><br />For us, this is a script th=
at first attempts to retrain/deliver with dspam as normal.  But then the =
script tries to verify if the message was actua
 lly
delivered, and if not, it will try to deliver the command directly (for i=
nstance, with procmail).  This external script is quite site specific.<br=
 /><br /><br />Background:<br /><br />If the DSPAM signature of a message=
 cannot be found in the database (most often because it has expired and h=
as been cleaned from the database), the dspam command will exit with a su=
ccessful status even though it does not deliver the message.<br /><br /><=
br />Long ago, we had several unhappy professors after they returned from=
 sabbatical and attempted to deliver old messages in their quarantines.<b=
r /><br /><br /><br />Tod Sandman<br />Sr. Systems Administrator<br />Mid=
dleware Development &amp; Integration<br />Rice University<br /><br /><br=
 /><hr /><br />Master SQL Server Development, Administration, T-SQL, SSAS=
, SSIS, SSRS<br />and more. Get SQL Server skills now (including 2012) wi=
th LearnDevNow -<br />200+ hours of step-by-step video tutorials by Micro=
soft MVPs and experts.<br />SALE $99.99 t
 his
month only - learn more at:<br /><a href=3D"http://p.sf.net/sfu/learnmore=
_122512">http://p.sf.net/sfu/learnmore_122512</a><br /><br /><br /><hr />=
<br />Dspam-devel mailing list<br />[email protected]<br =
/><a href=3D"https://lists.sourceforge.net/lists/listinfo/dspam-devel">ht=
tps://lists.sourceforge.net/lists/listinfo/dspam-devel</a></blockquote><b=
r /><br /><br /><hr /><br />Master SQL Server Development, Administration=
, T-SQL, SSAS, SSIS, SSRS<br />and more. Get SQL Server skills now (inclu=
ding 2012) with LearnDevNow -<br />200+ hours of step-by-step video tutor=
ials by Microsoft MVPs and experts.<br />SALE $99.99 this month only - le=
arn more at:<br /><a href=3D"http://p.sf.net/sfu/learnmore_122512">http:/=
/p.sf.net/sfu/learnmore_122512</a><br /><br /><br /><br /><hr /><br />Dsp=
am-devel mailing list<br />[email protected]<br /><a
href=3D"https://lists.sourceforge.net/lists/listinfo/dspam-devel">https:/=
/lists.sourceforge.net/lists/listinfo/dspam-devel</a></blockquote><br /><=
br /><br /><hr /><br />Master Visual Studio, SharePoint, SQL, ASP.NET, C#=
 2012, HTML5, CSS,<br />MVC, Windows 8 Apps, JavaScript and much more. Ke=
ep your skills current<br />with LearnDevNow - 3,200 step-by-step video t=
utorials by Microsoft<br />MVPs and experts. ON SALE this month only -- l=
earn more at:<br /><a href=3D"http://p.sf.net/sfu/learnnow-d2d">http://p.=
sf.net/sfu/learnnow-d2d</a><br /><hr /><br />Dspam-devel mailing list<br =
/>[email protected]<br /><a href=3D"https://lists.sourcef=
orge.net/lists/listinfo/dspam-devel">https://lists.sourceforge.net/lists/=
listinfo/dspam-devel</a><br /><br /></pre></blockquote></div></body></htm=
l></body></html>
------CPO4YA59AP1PO21MV4AUHTW3TTVDCQ--



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

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
--===============2655275319737715266==
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

--===============2655275319737715266==--