At 18:27 10/03/03 -0800, you wrote:
On Tue, 11 Mar 2003, Simon Byrnand wrote:

> However, by default spamc won't pass messages bigger than 256KB through
> to spamd for scanning, and it is recommended to configure procmail to
> not even bother calling spamc if the message is bigger than 256KB.
>
> Has any one devised a way of getting around this so that large messages
> can still use the blacklisting ability of spamassassin without
> necessarily having to process the entire message ?
>
> Perhaps spamc could be designed to only pass the _headers_ through to
> spamd on messages bigger than 256KB so that the whitelist test could
> still function, even though the message is not being checked for spam in
> other ways. (EG no body tests etc, to stop spamd choking up on 5MB
> attachments)

You can do most (all?) of this with procmail and an unmodified spamc.

It was a lot easier with 2.43 than it is with 2.50, because of the MIME
body rewriting that 2.50 attempts to perform.  (One can't encapsulate the
message as a MIME body part if you don't have the entire message to play
with.)  However, it's still possible.

[SNIP]


Hey, thanks for that.... I'll have a study of your procmail recipe when I get a quiet moment.... It sure would be nice to have something like this in spamc itself eventually though, and probably a lot faster and more efficient.

Regards,
Simon



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to