Invoking the spam checker on the sieve script

Tom Hendrikx tom at whyscream.net
Fri Oct 24 09:26:12 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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: 
> http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Filtering_using_the_spamtest_and_virustest_extensions

Never
> 
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.

Regards,
	Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUShs0AAoJEJPfMZ19VO/1wKYP/3SXXlgktjFKL7wy90zJwFcy
WoXAIMFbq2JJNbIcPDdzVR4xY7SDMTAcNNbuzJKVU/dPxNfbGIs1rlaM3hF3pdx3
nRpLhICAyD6J+IC4Ov5nBE/N0tbh5pefLkEvCyIRuKtRBljkbrKp2xy//mad+5yP
pBkGVwNYaLcLeYsTIkiDD6zErRJknXJw/ddnsRRfAb/dwOT38XdP72ZzojndI3CC
+hbh21iaTebkyNAL1N7ekR/IJ/kMK9cPDLKWoM/aa7SFpqYkd2tNqIBHmwDhXbAw
MhF/S46qvejbBCqFhEvfoWWpIJrHeji5QfSpYe9fp5K3cQtN/gdVcl0w7T+vr8C1
UHnvoCIGNeN6HsabaTyNnoKh90oneEO7io6/e5AsZWPkBll3jgBmxHwctojd4/qC
bQRqK7LXyMia+ff+YgHmseyif56dLX6R96CFI3Y1OhnMPRQxPlSczTDEXPpRxiwl
bpIa54iJP9bitooq024F31/olaSy4qpsAzDe4tEm3J2iRHh3RcGDQbMw+ogiVTn/
owuvzxBBj/0Hx8HswYrp2hOy+jt29kbTNpP2fmfev66aRYERJT7SUeRlwL5mfNwt
BuVy28ctq0JXuc/X7NfkGo4wRJedy2RmKnODVRg9JFXAtIy/GbJ4d8hYxt2MAD6f
Ubl/0gv96T2GSgi31CKu
=W8PB
-----END PGP SIGNATURE-----


More information about the dovecot mailing list