[Mimedefang] again - Overlong line in RESULTS file

David F. Skoll dfs at roaringpenguin.com
Mon Sep 20 13:23:41 EDT 2004


On Mon, 20 Sep 2004, Kelson wrote:

> Certain custom rulesets for SpamAssassin will result in triggering
> *lots* of rules.

Ah, I see.  Creating a header that long is illegal anyway, unless it
is wrapped.  (Wrapping won't help the "line too long" message, though.)

I will think of a way around this.  Perhaps an option to action_add_header
that auto-wraps it, so that:

	X-Header: very long stuff 1 very long stuff 2 ....

gets converted into separate headers:

	X-Header: very long stuff 1
	X-Header: very long stuff 2

But how to split intelligently?

Perhaps filter writers should handle this themselves -- take the SA tests
and split them decently.  I'll look at doing that in the sample filter.

Regards,

David.



More information about the MIMEDefang mailing list