[Mimedefang] action_wrap_header

David F. Skoll dfs at roaringpenguin.com
Wed Jan 23 11:48:09 EST 2002


Hi,

> X-Spam-Score: 7.1, Required: 5
> X-Spam-Tests: PURE_PROFIT,OPPORTUNITY
> X-Spam-Report: SPAM: ---- Start SpamAssassin results
...
> X-Spam-Report: SPAM: ---- End of SpamAssassin results

That's a neat trick, but it's not header-wrapping in the RFC sense.
The Internet mail format RFC specifies that long headers can be continued
on subsequent lines by beginning each continued line with whitespace
(or maybe a tab character is required.)  So what you'd want for a wrapped
header is more like this:

X-Wrapped-Header: Here is a very long header with lots of pointless
		text just to show how you can continue lines according
		to the RFC
X-Next-Header: And here's the next header.

However, for X-Spam-Report: headers, your solution is probably
fine.

Regards,

David.




More information about the MIMEDefang mailing list