[kde-linux] Run program when mail arrived IN A FOLDER

John Andersen jsa at pen.homeip.net
Sun Aug 13 06:47:51 UTC 2006


On Saturday 12 August 2006 22:43, John Layt wrote:
> On Sunday 13 August 2006 18:35, John Layt wrote:
> > Can't you just modify the existing 'Classify as spam' filter that the
> > Kmail spam wizard sets up to do this?  The filter is separate to the
> > automatic scan/classify on arrival in in your in-box and is only manually
> > applied when you click on the 'Classify as spam' toolbar button.  It has
> > three steps, one to mark as Spam, one to execute spamassassin to learn,
> > and one to move it to the spam folder,  All you would need to do is add
> > the -r to the execute step (if possible) or add another execute step to
> > do it.
>
> p.s. If you're not using the filters as set up by the KMail spam wizard,
> then you can create one yourself with the steps as I've described, then
> look under the advanced tab for the filter, turn off applying the filter to
> incoming mail, turn on a keyboard shortcut, and turn on putting an icon in
> the toolbar.  Click on the button or type the shortcut and the spam is
> filtered, SA executed and the spam is moved to the required folder.
>
> John.

Sounds promising.  I'll give it a try.

No I don't use the Kmail Spamassassin filter, I to that at the
mta level.  I use receive mail locally, or via fetchmail and run
that thru postfix, spamassassin, and procmail.  So its all flagged
and categorized by the time it hits my in-box, except for the
occasional misses that slip thru,

-- 
_____________________________________
John Andersen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20060812/2fedee3b/attachment.sig>


More information about the kde-linux mailing list