Re: [Netmail-support] RE: ? re: anti-spam agent
Brought to you by:
pascal666
From: Pascal <Pas...@Us...> - 2004-08-12 20:14:33
|
This bug is fixed in current CVS. Click "browse CVS" from the project home page to download the current version. Most mail will match at least a couple rules. Very few will actually have a score of 0.0. For info on the fields of the message envelope, see the development notes page for a link to Novell's NetMail SDK. -Pascal Benjamin Ackinclose wrote: > > Scott, > I would be interested in looking at your changes. It would help me to > understand more. > In the mean time here is the piece I am working on. Any thoughts would > be appreciated. > > my $line; > while ($line = $client->getline) { > logmsg "check 1 $line : $_"; > last if ($line =~ /^6021 /); > if ($line =~ /^TSpamAssassin/) { > print $client "QDONE\n"; > $_ = $client->getline; > logmsg "check 2 $_"; > unless (/^1000 /) { > protocol_error ($_); > return 1; > } > $client->close; > return; > } > push(@envelope, $line); > > Here are the results of a mail coming through > > Aug 12 14:36:15 scratchy spamd[9825]: check 1 > Fli...@nm... - ^M : > Aug 12 14:36:15 scratchy spamd[9825]: check 1 A2533532544^M : > Aug 12 14:36:15 scratchy spamd[9825]: check 1 X1^M : > Aug 12 14:36:15 scratchy spamd[9825]: check 1 Lb...@cu... > rfc822;be...@cu... 8^M : > Aug 12 14:36:15 scratchy spamd[9825]: check 1 6021 Get busy!^M : > Aug 12 14:36:15 scratchy spamd[9829]: check 1 > Fli...@nm... - ^M : > Aug 12 14:36:16 scratchy spamd[9829]: check 1 A2533532544^M : > Aug 12 14:36:16 scratchy spamd[9829]: check 1 X1^M : > Aug 12 14:36:16 scratchy spamd[9829]: check 1 TSpamAssassin^M : > Aug 12 14:36:16 scratchy spamd[9829]: check 2 Lb...@cu... > rfc822;be...@cu... 8^M > Aug 12 14:36:16 scratchy spamd[9829]: bad protocol: header error: > Lb...@cu... rfc822;be...@cu... 8^M > > I don't understand why check2 Lben... is where it is at. To me it > should be after X1 and before TSpam... I am expecting the check2 value > to be a successful QDONE return of 1000. Any thoughts? > > Also how about spam check values? Will most normal mail be a 0.0? > > Thanks > Ben > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Netmail-support mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netmail-support |