Re: [SLE] Spamassassin learning
From: Carlos E. R. (robin1.listas_at_tiscali.es)
Date: 12/26/03
- Previous message: Carlos E. R.: "Re: Re: [SLE] Newbe question about Hijacking"
- In reply to: Bob S.: "Re: [SLE] Spamassassin learning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Dec 2003 01:38:22 +0100 (CET) To: SuSE SLE <suse-linux-e@suse.com>
The Thursday 2003-12-25 at 01:54 -0500, Bob S. wrote:
> Nope, no X-Spam headers - So, evidently as Carlos and you pointed out,
> Spamassassin is evidently not running.
>
> rpm -q says that Spamassassin is installed but is evidently not checking
> my mail. (must be working - did sa-learn on some files) Couldn't find
> an Install file nor any how-to's
You looked at the wrong place :-)
There are some readme files in "/usr/share/doc/packages/spamassassin/" you
should look at first before googling it.
> so I downloaded the Install file from
> the Spamassassin site. Very long and confusing. Says I have to install
> it with CPAN.pm and then add .procmail and .procmailrc to my /home /bob
> directory etc. etc. Shouldn't the SuSE rpm have set it up for me?
No, because there are many ways to set it up, depending on how you get
your email.
If you are using procmail to sort your email then the procmailrc file is
a very good place to call SpamAssassin. For example I have at the start
of "/home/user/.procmailrc" these lines:
VERBOSE=off
LOGFILE=$HOME/procmail.log
:0fw
| /usr/bin/spamc
:0 a:
* ^X-Spam-Status: Yes
$HOME/Mail/in_spam
That will run SpamAssassin client part, and move recognised spam to folder
'/home/youruser/Mail/in_spam' (in mbox format). Some prefer to set it up
as systemwide call (from /etc/procmailrc), but I prefer to do it as user
(the theory is that what a user considers spam another one might not). In
both cases you also need to have service "spamd" running.
Procmail is usually called from postfix or sendmail - there is a click box
in Yast that will do it. But some call it directly from "fetchmail".
There is also another way to call it directly from kmail - this has been
documented on this list several times, so I suppose you will be able to
find it. If you use kmail to retrieve your email you will certainly need
it.
This is Linux! You have many choices :-)
--
Cheers,
Carlos Robinson
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Carlos E. R.: "Re: Re: [SLE] Newbe question about Hijacking"
- In reply to: Bob S.: "Re: [SLE] Spamassassin learning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|