Lee Hoffner wrote:
I don't use spamassassin or spamd (I want to learn "just Procmail" first),
nor
have I attempted any recipes which measure a message's size. So, I can't help
with question 1.
I didn't understand either question, but here's how to check the size:
# ----------------------
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
#
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
# ----------------------
:0fw: spamc.lock
* < 256000
| spamc
Any examples I've seen have a space:
:0 :
or
:0 fw
I don't know if that makes a difference to Procmail, but it may be something
to watch out for.
Shouldn't matter, although one style might be preferred.
-TFC
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail