Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Training Spamassassin via KMail

0 views
Skip to first unread message

Daniel D Jones

unread,
Jul 5, 2009, 1:30:20 PM7/5/09
to
I have Spamassasin running on my mail server rather than on my desktop box. I
therefore can't run the Anti-Spam Wizard on KMail, since it correctly fails to
detect a spam filter as installed. I have a mailbox configured on my server for
spam. Any mail sent to that mailbox is used to train Spamassasin. Before
upgrading to KDE 4, I had a button on my toolbar which activated a filter to
forward missed spam back to the spam mailbox on my server. This transferred
over on the upgrade but there was some sort of warning message on the filter
that it could not be edited or it would be lost. I don't recall the exact
message.

I recently had a runaway process fill up my hard disk and KMail crashed because
the hard drive was full. I fixed that issue but had to reconfigure KMail from
scratch and lost my Spam button. I've been unable to find any info on the 'Net
on how to recreate it.

What I'd like is a button on my KMail toolbar that, when pressed, forwards the
selected email to a specific email address and moves the email to the Spam
folder. Any help in configuring this would be greatly appreciated.

Stroller

unread,
Jul 5, 2009, 5:30:07 PM7/5/09
to

On 5 Jul 2009, at 18:29, Daniel D Jones wrote:
> ...

> What I'd like is a button on my KMail toolbar that, when pressed,
> forwards the
> selected email to a specific email address and moves the email to
> the Spam
> folder. Any help in configuring this would be greatly appreciated.

May I suggest a possible alternative:

http://johannes.sipsolutions.net/Projects/dovecot-antispam

You may be able to program a button to simply move the message into a
folder more easily than you can program it to forward to a certain
address.


Stroller.

Robin Atwood

unread,
Jul 7, 2009, 8:50:12 AM7/7/09
to
On Tuesday 07 July 2009, Robin Atwood wrote:

> On Monday 06 July 2009, Stroller wrote:
> > On 5 Jul 2009, at 18:29, Daniel D Jones wrote:
> > > ...
> > > What I'd like is a button on my KMail toolbar that, when pressed,
> > > forwards the
> > > selected email to a specific email address and moves the email to
> > > the Spam
> > > folder. Any help in configuring this would be greatly appreciated.
>
> You can do all that (and train spamassassin using spamc) using the Filters
> dialog.

Correction: you want "sa-learn --spam" for the training with the "pipe-
through" filter action.

HTH
-Robin
--
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------

Robin Atwood

unread,
Jul 7, 2009, 8:50:16 AM7/7/09
to
On Monday 06 July 2009, Stroller wrote:
> On 5 Jul 2009, at 18:29, Daniel D Jones wrote:
> > ...
> > What I'd like is a button on my KMail toolbar that, when pressed,
> > forwards the
> > selected email to a specific email address and moves the email to
> > the Spam
> > folder. Any help in configuring this would be greatly appreciated.

You can do all that (and train spamassassin using spamc) using the Filters
dialog.

HTH

Sebastian Beßler

unread,
Jul 7, 2009, 9:00:20 AM7/7/09
to
Robin Atwood schrieb:

> Correction: you want "sa-learn --spam" for the training with the "pipe-
> through" filter action.

You can train a spamassassin running on an server by running "sa-lern
--spam" on the client? Thats new to me, but thats maybe because I don't
use KMail and don't know the "pipe-through" filter action.

Greetings

Sebastian

signature.asc

Robin Atwood

unread,
Jul 7, 2009, 11:00:18 AM7/7/09
to

"man sa-learn" :)

Etaoin Shrdlu

unread,
Jul 7, 2009, 11:10:13 AM7/7/09
to
On Tuesday 07 July 2009, Sebastian Beßler wrote:
> Robin Atwood schrieb:
> > "man sa-learn" :)
>
> metatron@DarkStation ~ $ man sa-lern
> Keine Handbuchseite für sa-lern
>
> This is a client, spamassassin runs on my server.
> So spamassassin isn't installed here, and with this no sa-lern.

I understand the english-german issue that might have occurred, however the
name of the tool is sa-learn not sa-lern :)

Sebastian Beßler

unread,
Jul 7, 2009, 11:10:13 AM7/7/09
to
Robin Atwood schrieb:

> "man sa-learn" :)

metatron@DarkStation ~ $ man sa-lern
Keine Handbuchseite für sa-lern

This is a client, spamassassin runs on my server.
So spamassassin isn't installed here, and with this no sa-lern.

Greetings

Sebastian


signature.asc

Sebastian Beßler

unread,
Jul 7, 2009, 11:20:12 AM7/7/09
to
Etaoin Shrdlu schrieb:

D'oh! :-)
It's just to hot and to late here.
Thx

metatron@DarkStation ~ $ man sa-learn
Keine Handbuchseite für sa-learn

That doesn't change the fact that spamassassin isn't installed here.
Why should I install it on my client if it runs fine on my server?


Greetings

Sebastian

signature.asc
0 new messages