Markus Sch?pflin:
> Am 16.12.2010 13:14, schrieb Wietse Venema:
> > Markus Sch?pflin:
> >> So is it possible to get postfix to do the SMPT line length limit handling
> >> (split long lines and insert CR LF<blank>) for this kind of setup?
> >
> > Perhaps surprisingly, Postfix enforces the SMTP line length limit
> > only delivery via SMTP.
> 
> Not really surprisingly, but I was hoping that the cleanup daemon would 
> provide a similar feature for locally injected mail. I don't think that 
> this sort of thing can be done by the regex transformations available 
> there, or can it?
> 
> > Use a NULL content filter. See FILTER_README, advanced example,
> > and connect the Postfix SMTP client directly with a Postfix SMTP
> > server on 127.0.0.1:10025.
> 
> Never used filters before, but this sound like the way to go for now. Thank 
> you for the pointer.
> 
> OTOH I'm still wondering whether this is something the cleanup daemon 
> should be able to do? Opinions?

Yes.  SMTP protocol issues should be dealt with in the SMTP client
and server (including CRLF line endings and line length issues).
The rest of Postfix should just handle email in a manner that is
protocol-neutral.

        Wietse

Reply via email to