Invoking the spam checker on the sieve script
tom at whyscream.net
Fri Oct 24 09:26:12 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 24-10-14 11:18, Tom Hendrikx wrote:
> On 24-10-14 01:35, Peter Chiochetti wrote:
>> Am 2014-10-23 um 17:11 schrieb Alejandro Exojo:
>>> I moved to IMAP and my filters are server side with sieve, but
>>> I don't have spam filtering yet.
>> I understand, that you do not want spamassassin (SA) to check
>> lots of messages that are clean anyways.
>> If you can call SA from sieve, as a condtion in an if clause,
>> filtering should be no problem, should it?
> SIeve even has a facility for doing virus/spam filtering:
mind, this was only for evaluating the headers added in an
earlier stage, not running the spam classifier itself. You could still
do that on a sieve level using extprograms, but the MTA route is a lot
easier to setup.
I did use extprograms to do automated bayes training as an experiment:
while running 2 spam filters (X and Y), if X thinks it's spam and Y is
unsure, sieve automatically triggers a script that makes Y learn the
message as spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the dovecot