Mark Martinec:
> So far I lived under impression that smtpd service does some
> basic sanitation, de-pipelining etc to a SMTP session,
> before passing data to a smtpd_proxy_filter content filter.
>
> Apparently dot-stuffing sanitation is not performed,
> as (invalid) lines with a single leading dot can still reach
> a proxy content filter (which yields a warning in the log
> in case of amavisd).
>
> Is this expected behaviour and I should turn off the warnings?
That's sanitation without modification.
By design, Postfix tries to pass unmodified SMTP commands to the
before-filter proxy (necessary exceptions are the EHLO, SASL and
TLS handhakes).
Wietse