Mailinglist Archive: opensuse (3442 mails)
| < Previous | Next > |
Re: [SLE] Spam..
- From: Bruce Marshall <bmarsh@xxxxxxxxxx>
- Date: Fri, 14 Dec 2001 10:39:27 -0500
- Message-id: <200112141539.fBEFdRj21871@xxxxxxxxxxxxxxxxx>
On Friday 14 December 2001 9:55 am, Gideon Hallett wrote:
> On Friday 14 December 2001 14:19, Derek Fountain wrote:
> > > I download mail straight from my ISP via POP, through a Kmail filter
> > > that pattern-matches the regexp . in the headers, pipes it through
> > > spamassassin ('spamassassin -p') - note, uncheck the 'if match hit,
> > > stop processing here!' bit!
> >
> > I was looking at spamassassin just yesterday. I found myself in Perl
> > module dependency hell - it seemed to require just about every Perl
> > module under the sun. Half a dozen visits to CPAN later it was still
> > complaining so I scrapped the idea.
>
> Really?
>
> I followed the README word for word, and it did it all automagically.
>
> The one thing I would say is that it's a *good* idea to install the
> Mail::Audit module *first*. So;
>
> perl -MCPAN -e shell
>
> (answered 'no' to the 'do you want to muck around with the CPAN defaults'
> question; I'm no great shakes with Perl.)
>
> install Mail::Audit
> quit
>
> (ftp.perl.org was having a funny five minutes when I installed; I hit
> ctrl-c and it found another server (in Demon) and got Mail::Audit off there
> instead.)
>
> I also made a point of installing Net::DNS, just for the hell of it;
> identical procedure to the one above.
>
> You can then either download spamassassin as a tar.gz from
> http://spamassassin.taint.org/downloads.html or type;
>
> perl -MCPAN -e shell
> install Mail::SpamAssassin
> quit
>
> (if you do this, it autoinstalls)
>
> If you go the tarball way, then tar -zxvf it; perl Makefile.PL; make; make
> test; make install
>
> (which shoves it in /usr/lib/perl5/site_perl/5.6.1/ on my box.)
>
> Tried doing the tests in http://spamassassin.taint.org/dist/README and all
> worked fine from the off.
>
> > Also, I couldn't see how to make it integrate with Kmail. Can you give a
> > bit more detail on how mail gets through spamassassin into Kmail?
>
> From Kmail;
>
> Select 'Configure filters'
> New filter
>
> In Filter Criteria, select "<any header> <matches regular expression> . "
>
> (yup, dot - it's not just a full stop in my mail)
>
> Then, under Filter Actions, choose "<pipe through> spamassassin -P"
>
> *Uncheck* the box marked "If this filter matches, stop processing here".
>
> Hit OK, and it should save it.
>
> If you keep that filter at the top, then the first thing Kmail does on
> retrieving mail from your ISP is run it through that filter; it invokes
> spamassassin on the incoming mail and then passes it through to your other
> filters to be dealt with as per normal.
>
> As I said, I have a second filter set up after the spamassassin one to
> divert flagged spam into a folder marked Hormel; it sends them there if the
> headers contain "X-Spam-Flag: YES" or "X-Spam-Status: Yes" or the subject
> contains "*****SPAM*****" (which are three of the things spamassassin
> shoves into spam mails to identify them).
>
> Since I'm running a cable modem, I don't mind the slight delay in mail
> arrival caused by checking Razor, but you can disable all remote checks in
> /$HOME/spamassassin.prefs, which speeds it up considerably.
>
> Hope that gives you enough information to go on!
>
> Gideon.
I'm in dependency hell too..... Running SuSE 7.3 pro and as far as I can
tell I have everything loaded. But CPAN is giving me the error:
Running install for module Mail::Audit
Running make for S/SI/SIMON/Mail-Audit-2.0.tar.gz
CPAN: MD5 loaded ok
Can't locate object method "new" via package "MD5" (perhaps you forgot to
load "MD5"?) at /usr/lib/perl5/5.6.1/CPAN.pm line 4212.
MD5 is loaded as shown above....
Just too many gimmicks to make this work.
--
+----------------------------------------------------------------------------+
+ Bruce S. Marshall bmarsh@xxxxxxxxxx Bellaire, MI 12/14/01 10:37 +
+----------------------------------------------------------------------------+
"If knees were backwards, what would chairs look like?"
> On Friday 14 December 2001 14:19, Derek Fountain wrote:
> > > I download mail straight from my ISP via POP, through a Kmail filter
> > > that pattern-matches the regexp . in the headers, pipes it through
> > > spamassassin ('spamassassin -p') - note, uncheck the 'if match hit,
> > > stop processing here!' bit!
> >
> > I was looking at spamassassin just yesterday. I found myself in Perl
> > module dependency hell - it seemed to require just about every Perl
> > module under the sun. Half a dozen visits to CPAN later it was still
> > complaining so I scrapped the idea.
>
> Really?
>
> I followed the README word for word, and it did it all automagically.
>
> The one thing I would say is that it's a *good* idea to install the
> Mail::Audit module *first*. So;
>
> perl -MCPAN -e shell
>
> (answered 'no' to the 'do you want to muck around with the CPAN defaults'
> question; I'm no great shakes with Perl.)
>
> install Mail::Audit
> quit
>
> (ftp.perl.org was having a funny five minutes when I installed; I hit
> ctrl-c and it found another server (in Demon) and got Mail::Audit off there
> instead.)
>
> I also made a point of installing Net::DNS, just for the hell of it;
> identical procedure to the one above.
>
> You can then either download spamassassin as a tar.gz from
> http://spamassassin.taint.org/downloads.html or type;
>
> perl -MCPAN -e shell
> install Mail::SpamAssassin
> quit
>
> (if you do this, it autoinstalls)
>
> If you go the tarball way, then tar -zxvf it; perl Makefile.PL; make; make
> test; make install
>
> (which shoves it in /usr/lib/perl5/site_perl/5.6.1/ on my box.)
>
> Tried doing the tests in http://spamassassin.taint.org/dist/README and all
> worked fine from the off.
>
> > Also, I couldn't see how to make it integrate with Kmail. Can you give a
> > bit more detail on how mail gets through spamassassin into Kmail?
>
> From Kmail;
>
> Select 'Configure filters'
> New filter
>
> In Filter Criteria, select "<any header> <matches regular expression> . "
>
> (yup, dot - it's not just a full stop in my mail)
>
> Then, under Filter Actions, choose "<pipe through> spamassassin -P"
>
> *Uncheck* the box marked "If this filter matches, stop processing here".
>
> Hit OK, and it should save it.
>
> If you keep that filter at the top, then the first thing Kmail does on
> retrieving mail from your ISP is run it through that filter; it invokes
> spamassassin on the incoming mail and then passes it through to your other
> filters to be dealt with as per normal.
>
> As I said, I have a second filter set up after the spamassassin one to
> divert flagged spam into a folder marked Hormel; it sends them there if the
> headers contain "X-Spam-Flag: YES" or "X-Spam-Status: Yes" or the subject
> contains "*****SPAM*****" (which are three of the things spamassassin
> shoves into spam mails to identify them).
>
> Since I'm running a cable modem, I don't mind the slight delay in mail
> arrival caused by checking Razor, but you can disable all remote checks in
> /$HOME/spamassassin.prefs, which speeds it up considerably.
>
> Hope that gives you enough information to go on!
>
> Gideon.
I'm in dependency hell too..... Running SuSE 7.3 pro and as far as I can
tell I have everything loaded. But CPAN is giving me the error:
Running install for module Mail::Audit
Running make for S/SI/SIMON/Mail-Audit-2.0.tar.gz
CPAN: MD5 loaded ok
Can't locate object method "new" via package "MD5" (perhaps you forgot to
load "MD5"?) at /usr/lib/perl5/5.6.1/CPAN.pm line 4212.
MD5 is loaded as shown above....
Just too many gimmicks to make this work.
--
+----------------------------------------------------------------------------+
+ Bruce S. Marshall bmarsh@xxxxxxxxxx Bellaire, MI 12/14/01 10:37 +
+----------------------------------------------------------------------------+
"If knees were backwards, what would chairs look like?"
| < Previous | Next > |