sieve & spamassassin
Ken Murchison
ken at oceana.com
Tue Jul 1 09:59:45 EDT 2003
foobar wrote:
> Atleast this works (better would be to catch spam_score via regex from the
> other header (I don't remember name)):
Actually the best way would be to compare the score using the tests in
the "relational" extension (eq, "eq", "gt", etc).
>
> require
> ["fileinto"];
> if
> header :contains "X-Spam-Flag" "YES"
> {
> fileinto "INBOX.junk";
> stop;
> }
>
> And remember to activate it :/
>
> And if it is still not working, is this only rule?
>
> Btw, how much I break things if I move script into its place without
> uploading it via timsieved (i.e some caching issues or something) or is it
> like -> copy that script, tell sieve to use it (or is it just that
> "default" which is always in use and possible scripts can be symlinked
> without breaking things).
lmtpd only looks for "default". It doesn't matter how this link gets
created.
Keep in mind that in 2.2, timsieved compiles scripts into bytecode and
lmtpd then looks for "default.bc". If you put a text script in place
outside of timsieved, you'll have to compile it by hand using sievec.
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
More information about the Info-cyrus
mailing list