On Thu, Mar 16, 2006 at 12:33:50AM -0600, David B Funk wrote:
> Silly question; would it be sufficient for the milter to just canonicalize
> the message that it passes to SA by converting CRLF to a plain LF?
> Or better, do the inverse of SA; for it to look at the first line of
> the message and if terminated with a plain 'LF' take no special action
> but if terminated with a 'CRLF' then go into canonicalize mode and
> convert all instances of 'CRLF' to plain 'LF'.

You could do that, though as far as the milter is concerned, it'll always
see CRLF for the incoming mail.  IMO, the milter ought to be able to
handle CRLF or LF from spam[cd] and do the right thing for what libmilter
expects when replacing/adding/etc headers.  It's less work for the milter
(doesn't have to go over the entire message) and it also means that it's
not relying on what SpamAssassin does.

-- 
Randomly Generated Tagline:
"I believe in getting into hot water; it keeps you clean." - G. K. Chesterton

Attachment: pgpzempPDG88a.pgp
Description: PGP signature

Reply via email to