Re: [Evolution] Spamassassin and evolution setup



On Sun, 2003-08-24 at 14:16, Harry Wert wrote:
Thank you very much David. I followed the instructions and now will test
the filter. Very clear I might add.

Harry Wert
Physicist

On Sun, 2003-08-24 at 15:43, David Clack wrote:
http://support.real-time.com/open-source/spamassassin/evolution.html


On Sun, 2003-08-24 at 12:33, Harry Wert wrote:
I have a SuSE8.2 system running XD2 and Evolution 1.4.4 and
Spamassassin. My question is: Can anyone tell me how to set up
spamassassin to work with evolution or point me to a site which provides
that information? I have read the Man pages and done Google searches but
I can't seem to figure it out for myself. What I have done is made sure
spamd and spamc are installed. Then as su I start spamd, change to
regular user and start spamc. They produce no error messages but don't
seem to be intercepting any spam, what am I doing wrong? Do I need to be
doing something within Evolution? I have DSL account with earthlink, a
POP account for receiving, and SMTP for sending mail. I also have a
single user workstation.

Thanks in advance for any help.

Harry


Let us know how this works for you.  

Using SuSE 8.2, spamassassin (spamd/spamc) and Evolution I have not been
able to get spam headers written to my email messages.  This is with
Evolution retrieving the email directly from my ISP's pop.mail.server. 
My ISP does not pre-filter email with spamassassin so the messages are
received without spam headers.

What has worked for me is the following:

1. As root use the runlevel editor to turn on spamd for levels 3 and 5.

2. Also as root "rcspamd restart".  (This gets it started.)

3. Change your ~/.spamassassin/user_prefs to ensure that a level is
defined as spam i.e. required_hits   5  (This will likely need to be
uncommented.)

4. Add a folder to Evolution called "spam"

5. Build a spamassassin filter.  Have the filter "Pipe" messages to
"spamc -c".  Any messages that do not return a value of 0 are moved to
the folder "spam".  Then stop processing. 

This is the basic and simplest setup.  The email headers are not
modified, you simply filter out any messages that meet the minimum
definition (5 hits in this case) of spam.  I recommend placing the
spamassassin filter after your mailing list filters.

It can be refined beyond this, but try and get a basic setup first.

I have 2 computers set up like this and in the last week spamassassin
has probably collected ~700 spam, so far almost perfectly.  This
includes about 300 Sobig.F virus attempts in 2 hours that were treated
as spam by spamassassin.

HTH

-- 
Ralph Sanford       -       If your government does not trust you,
rsanford telusplanet net   -   should you trust your government?

DH/DSS Key   -   0x7A1BEA01




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]