No subject


Thu Jan 12 21:14:02 GMT 2006


like a lot would have to be rewritten to get mailscanner to rewrite the
message to include the report and return it to the main routine.  Though
I could be wrong, I'd have to review it again.
=20
=20
-----Original Message-----
From: Kelly Hamlin [mailto:fizz at BOMB.NET]=20
Sent: Tuesday, March 26, 2002 11:31 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Feature Request



        As you may or may not have noticed, people have been wanting the
ability to A. Know what spam is being scored even when it doesnt meat
the threshold. and B. Be able to include the terse report that
spamassassin uses..
        Ex:(damnit, cant find example)
        Anyway it shows which elements of the message scored what. Which
would then allow you to further tweak the scores.
        I think mailscanned is a wonderful utility and as it gets more
users/features will continue to be the best.
        =20
        I would love to see better intergration ability with
spamassassin and maybe razor in future releases. And maybe a flat text
file whitelist for people you dont want mailscanner to mark ANY mail as
spam, and still scan for virus's. Basically a little more flexability. I
know some requests are a little iffy, but im interested to see how many
people would like this functionality from the wonderful mailscanner by
its incredibile author Julian :)
=09
        =20


------_=_NextPart_001_01C1D550.629EACA8
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>It=20
already does the whitelist.&nbsp; When Mailscanner first started using =
SA, I=20
made some modifications in sendmail.pl within the SAForkAndTest sub, =
after the=20
line</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2>&nbsp;&nbsp;&nbsp; $SAResult =3D int($spamness-&gt;get_hits()) =
if=20
$SAResult;</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2><BR></FONT></SPAN><SPAN class=3D502350605-27032002><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>I added </FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2>&nbsp;&nbsp;&nbsp; if ($SAScore &gt;=3D5)=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $spamness-&gt;rewrite_mail=20
();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $SARewrite =3D=20
$spamness-&gt;get_full_message_as_text();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
local(*DOUT);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; open(DOUT,=20
"&gt;&gt;/var/spam/queue/spr$mID") or Log::DieLog("Failed to create copy =
of spam=20
message spr$mID");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print DOUT=20
$SARewrite;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; close =
DOUT;<BR>&nbsp;&nbsp;=20
}<BR>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>This=20
dumps the message including the SA report into a queue.&nbsp; This =
allows me to=20
take samples and also to report the messages as spam to=20
razor.</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>Oh yeh=20
I had to added $mID to the subroutine call so the </FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>&nbsp;=20
$SAResult =3D SAForkAndTest($SAspamtest, $spammail); =
</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2>became&nbsp;&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>&nbsp;=20
$SAResult =3D SAForkAndTest($SAspamtest, $spammail, =
$mID);</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>and=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>&nbsp; my($Test,=20
$Mail) =3D @_;<BR>became</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D502350605-27032002><SPAN class=3D502350605-27032002><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>&nbsp; my($Test, $Mail, $mID) =3D=20
@_;<BR></FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2>Granted I could probably stop doing this since I think Julian =
mentioned=20
adding the ability to forward or cc the spam messages to an=20
account.</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =
size=3D2>From=20
what I can see in the code with my amateur perl knowledge, it looks like =
a lot=20
would have to be rewritten to get mailscanner to rewrite the message to =
include=20
the report and return it to the main routine.&nbsp; Though I could be =
wrong, I'd=20
have to review it again.</FONT></SPAN></DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D502350605-27032002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV></DIV>
<DIV><FONT face=3DTahoma size=3D2>-----Original =
Message-----<BR><B>From:</B> Kelly=20
Hamlin [mailto:fizz at BOMB.NET] <BR><B>Sent:</B> Tuesday, March 26, 2002 =
11:31=20
PM<BR><B>To:</B> MAILSCANNER at JISCMAIL.AC.UK<BR><B>Subject:</B> Feature=20
Request<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV><FONT face=3DArial size=3D2>As you may or may not have noticed, =
people have=20
  been wanting the ability to A. Know what spam is being scored even =
when it=20
  doesnt meat the threshold. and B. Be able to include the terse report =
that=20
  spamassassin uses..</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Ex:</FONT><FONT face=3DArial =
size=3D2>(damnit, cant=20
  find example)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Anyway it shows which elements of the =
message=20
  scored what. Which would then allow you to further tweak the=20
  scores.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I think mailscanned is a wonderful =
utility and as=20
  it gets more users/features will continue to be the best.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I would love to see better =
intergration ability=20
  with spamassassin and maybe razor in future releases. And maybe a flat =
text=20
  file whitelist for people you dont want mailscanner to mark ANY mail =
as spam,=20
  and still scan for virus's. Basically a little more flexability. I =
know some=20
  requests are a little iffy, but im interested to see how many people =
would=20
  like this functionality from the wonderful mailscanner by its =
incredibile=20
  author Julian :)<BR></FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C1D550.629EACA8--



More information about the MailScanner mailing list