Victor Duchovni:
> On Mon, Aug 23, 2010 at 08:19:13PM -0400, Wietse Venema wrote:
> 
> > Support for STARTTLS
> > ====================
> > 
> > Support for TLS will be added later in the postscreen life cycle.
> > TLS will require helper processes that implement the TLS protocol.
> > The performance is not critical (though TLS support may be resource
> > intensive).  Since many sites implement TLS on the submission port
> > only, support for TLS is not urgent. Roughly, postscreen passes the
> > original SMTP socket to a TLS helper processes, and the helper
> > communicates SMTP plaintext with postscreen. The idea is to have
> > multiple TLS helper processes, each handling multiple TLS sessions;
> > this minimizes the memory overhead while keeping performance good.
> 
> There would need to be a mechanism to communicate peer certificate
> information to the SMTP server, unless client certs will not be supported
> in this context (perhaps by analogy with SASL). The server also needs
> cipher and protocol details to generate the TLS annotations in the
> "Received:" header.

Postscreen does not need to enforce all access controls that the
real Postfix SMTP server implements.  The purpose of postscreen is
to keep spambots away from Postfix.

> > Deeper protocol checks
> > ======================
> > 
> > With deeper protocol checks, postscreen would actually engage in a
> > mail transaction, without actually taking responsibility for mail.
> > Examples of deeper protocol checks are: improper command pipelining,
> > over-long SMTP commands, over-long header or body lines, MIME errors,
> > and so on (does it pay off to make this this plug-in extensible?).
> 
> If content-dependent policy is to be supported via plugins, it is useful
> to allow the n'th (n>=1) instance of a message to reach the real
> SMTP server, without whitelisting the source. If the message evaluates
> very clean, deliver right away, if suspect, defer for retransmission.

Sorry, this requires that a) postscreen becomes an SMTP proxy, or
that b) postscreen implements 100% of the features of the Postfix
SMTP server directly. I consider neither of these an option.

        Wietse

Reply via email to