SpamAssasin 2.43/Mailscanner 3.25-1/Razor 2.21 Issues

Julian Field mailscanner at ecs.soton.ac.uk
Fri Nov 22 17:59:00 GMT 2002


At 17:28 22/11/2002, you wrote:
>Not that I can tell.  If I rm -rf the Razor2 perl directories and restart
>mailscanner, everything works
>just fine..... Very Weird!  Hopefully Version 4 of mailscanner will work!

How many installations of perl have you got? You seem to have 5.8 installed
in /usr/local. Have you got 5.6 elsewhere? By default, MailScanner will use
/usr/bin/perl, which might not be the version in which you have installed
SpamAssassin.

Do
         /usr/bin/perl -v
         /usr/local/bin/perl -v
and see if they produce different version numbers.
Having 2 sets of perl installed causes all sorts of problems, as CPAN may
use one while /usr/bin/perl points to the other one.


>If you have time, maybe youc an spot something with my set up:
>
>Thanks!
>  -Allan
>
>[root at mailman etc]# spamassassin -V
>SpamAssassin version 2.43
>
>razor-agents-2.21 (Which is currently uninstalled :).
>
>[root at mailman etc]# uname -a
>Linux mailman.equat.com 2.4.19 #1 SMP Thu Sep 19 12:44:18 PDT 2002 i686
>unknown
>
>[root at mailman etc]# locate SpamAssassin|grep -i perl
>/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/Mail/SpamAssassin
>/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/Mail/SpamAssassin/.packlist
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/AutoWhitelist.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/EncappedMIME.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/EncappedMessage.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/TextCat.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/MailingList.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PhraseFreqs.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/SHA1.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/EvalTests.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Replier.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/AuditMessage.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Reporter.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PersistentAddrList.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Locales.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ConfSourceSQL.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/DBBasedAddrList.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ExposedMessage.pm
>/usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm
>
>
>On Fri, 22 Nov 2002 09:07:48 +0000, Julian Field wrote:
>
> >At 22:35 21/11/2002, you wrote:
> >>Excellent, thats what I was hoping.  Just wondering, I've just installed
> >>razor, and its working fine with
> >>         spamassassin -t < testemail
> >>
> >>it shows the RAZOR2 Check.  But when I restart MailScanner, I always
> >>get these headers:
> >>
> >>X-mailscanner: Found to be clean
> >>X-mailscanner-SpamCheck: not spam,
> >>         SpamAssassin (Absolute Line Numbers: 3 7 10 15 18 23)
> >
> >I've never seen that before! You haven't inadvertently got 2 copies of
> >SpamAssassin installed anywhere have you?
> >
> >
> >>Any idea?
> >>
> >>  -Allan
> >>
> >>On Thu, 21 Nov 2002 09:48:56 +0000, Julian Field wrote:
> >>
> >> >I have added a note to 3.xx about it. However, it's likely that there
> will
> >> >not be another release of 3.xx (apart from security fixes).
> >> >
> >> >But I discovered that 4.xx suffers the same problem! So I have fixed it
> >> there.
> >> >The Exim code for V4 should appear very soon, it's being tested at the
> >> moment.
> >> >
> >> >Many thanks for reporting this.
> >> >
> >> >At 00:17 21/11/2002, you wrote:
> >> >>I'm still using 3.25-1  because I'm using exim.
> >> >>
> >> >>I noticed when I set the config variable "Multiple Headers"  in
> >> >>mailscanner.conf to:
> >> >>                         Multiple Headers = replace
> >> >>
> >> >>It's not checked for spamassassin reports; it always appends them.
> >> >>I would rather have it be replaced. (Like I have it set).
> >> >>
> >> >>I changed the sendmail.pl to reflect my change.  Perhaps you guys
> >> >>might want to do some if/else statements to actually use that variable.
> >> >>
> >> >>Keep up the good work.
> >> >>  -Allan
> >> >>
> >> >>On line 989, 1159,
> >> >>FROM
> >> >>========
> >> >>     $headers = MTA::AddHeader($headers, $Config::SpamHeader,
> >> >>                               $SpamReport->{$id})
> >> >>       if $Config::IncludeSpamHeader || defined($IsSpam->{$id});
> >> >>
> >> >>TO
> >> >>=======
> >> >>     $headers = MTA::ReplaceHeader($headers, $Config::SpamHeader,
> >> >>                               $SpamReport->{$id})
> >> >>       if $Config::IncludeSpamHeader || defined($IsSpam->{$id});
> >> >>
> >> >>
> >> >><- Allan Rafuse ->
> >> >>Systems Administrator
> >> >>Equat.com Technologies
> >> >>email: arafuse at equat.com
> >> >>web: http://www.equat.com
> >> >
> >> >--
> >> >Julian Field                Teaching Systems Manager
> >> >jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> >> >Tel. 023 8059 2817          University of Southampton
> >> >                             Southampton SO17 1BJ
> >> >
> >> >
> >> >
> >>
> >>
> >><- Allan Rafuse ->
> >>Systems Administrator
> >>Equat.com Technologies
> >>email: arafuse at equat.com
> >>web: http://www.equat.com
> >
> >--
> >Julian Field                Teaching Systems Manager
> >jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> >Tel. 023 8059 2817          University of Southampton
> >                             Southampton SO17 1BJ
> >
> >
> >
>
>
><- Allan Rafuse ->
>Systems Administrator
>Equat.com Technologies
>email: arafuse at equat.com
>web: http://www.equat.com
>
>

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list