[Mimedefang] question

Dan Tulovsky dant at wetsnow.com
Sun Sep 29 14:25:00 EDT 2002


Hi...

To follow up..

I put this line into my filter_end (may be wrapped):

action_change_header("X-Spam-Status","No, hits=$hits required=$req
tests=$names version=$Mail::SpamAssassin::VERSION");

This gets run no matter what, regardless of thenumber of hits.  No matter
what email I send through, I always get this header in the emails:

X-Spam-Status: No, hits=0 required=5 tests= version=2.41

So SpamAssassin is being run.  It sees the required as 5, from the config
file.  It sees the version.  The hits is always 0...

thank you
dan


----- Original Message -----
From: "John Kirkland" <jpk at bl.org>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Saturday, September 28, 2002 2:16 PM
Subject: Re: [Mimedefang] question


> Can you confirm that spamassassin works if you run it manually?
>
> Go to the spamassassin source directory and run:
>
> spamassassin < sample-spam.txt
>
> -John
>
> On Sat, 28 Sep 2002, Dan Tulovsky wrote:
>
> > This is the output of the command.  It shows SpamAssassin installed and
the
> > SpamAssassin sub gets executed... today about 7 or 8 spams got through,
and
> > none of them triggered any hits.
> >
> > thank you
> > dan
> >
> > {root at puppy}-{/var/log} # mimedefang.pl -features
[28
> > Sep 11:13am]
> > MIMEDefang version 2.21
> >
> > File::Scan                    : yes
> > HTML::Parser                  : yes
> > Path:CONFDIR                  : yes (/etc/mail)
> > Path:QUARANTINEDIR            : yes (/var/spool/MIMEDefang)
> > Path:SENDMAIL                 : yes (/usr/sbin/sendmail)
> > Path:SPOOLDIR                 : yes (/var/spool/MIMEDefang)
> > SpamAssassin                  : yes
> > Virus:FileScan                : yes
> > Virus:OpenAV                  : yes
> > HTMLCleaner                   : no
> > Virus:AVP                     : no
> > Virus:CLAMAV                  : no
> > Virus:FPROT                   : no
> > Virus:FSAV                    : no
> > Virus:HBEDV                   : no
> > Virus:NAI                     : no
> > Virus:NVCC                    : no
> > Virus:RAV                     : no
> > Virus:SOPHIE                  : no
> > Virus:SOPHOS                  : no
> > Virus:TREND                   : no
> >
> > IO::Socket                    : Version 1.26
> > MIME::Tools                   : Version 5.411
> > MIME::Words                   : Version 5.404
> > Digest::SHA1                  : Version 2.00
> > Mail::SpamAssassin            : Version 2.41
> > Anomy::HTMLCleaner            : missing
> > File::Scan                    : Version 0.36
> > HTML::Parser                  : Version 3.26
> >
> > >What's the output of the following command?
> > >
> > >mimedefang.pl -features
> > >
> > >-John
> > >
> > >On Fri, 27 Sep 2002, Dan Tulovsky wrote:
> > >----------------------------
> >  Hi.
> > >
> > > I am new to mimedefang and my interest is to use it with SpamAssassin.
I
> > > installed everything, all the little pieces, but something is broken
> > > somewhere.
> > >
> > > All my mail goes through.  I get this header appended:
> > >
> > > X-Scanned-By: MIMEDefang 2.21 (www . roaringpenguin . com /
mimedefang)
> > >
> > > I am using the stock config of mimedefang, haven't changed anything.
It
> > > blocks attachments just fine.
> > >
> > > The Spam Assassin piece doesn't seem to be working.  The hits variable
is
> > > always 0.  I changed the code so that it would add a header in even if
> > hits
> > > < req, and it added the header in (so that code is executing), but the
> > hits
> > > is always 0.  As I understand, this gets incremented by various things
> > spam
> > > assassin scans.  No type of message I send through generates anything
but
> > 0.
> > >
> > > Running on Mandrake Linux.  Sendmail 8.12.3.
> > >
> > > Can anyone help with where I should be looking?
> > >
> > > Thank you
> > > Dan
> >
> >
> >
> > _______________________________________________
> > MIMEDefang mailing list
> > MIMEDefang at lists.roaringpenguin.com
> > http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> >
>
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>




More information about the MIMEDefang mailing list