Wietse Venema via Postfix-users:
> Looks like there is sufficient basis to make SMTPD_QUIT_NC rerquests
> thts from Postfix. Just need to figure out how to enable/disable
> this particular command based on the Postfix and Milter protocol
> versions. There is already some 'set' intersection code for doing
> such things on the Postfix side.

A later follow-up: after a little detective work, I found that it
should be safe to send the following depending on the effective
protocol version in the MTA to Milter handshake:

    SMFIC_QUIT_NC   version >= 6, otherwise send SMFIC_QUIT as usual.

(that's because SMFIC_QUIT_NC was introduced in sendmail-8.14 which
also introduced Milter protocol version 6.)

I've opened a development branch locally and will add the version
checks and SMFIC_QUIT_NC stuff later. It's a non-trivial change,
because there are many places in the code where Postfix automatically
closes a Milter connection when no further events of interest will
be sent (for example after a Milter replies with "accept", or rejects
or tempfails a "connect" event). This may require a new conection
state for such milter connections, to enforce sanity.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to