mailm...@ionos.gr:
>
> I used the "milter-protocol.txt" file that I found everywhere. It
> is for protocol version 2 only. So I based my implementation on
> that.
>
> Later on, I used archive.org to download a copy of libmilter-docs.tar.gz.
> I expected the documentation to explain the differences between
> versions (eg going from v2 to v3, then v3 to v4, etc) but it does
> not have information about the different versions.
>
> So far, it is not clear to me, what features come with each version.

During options negotiation, each party sends bitmasks with the
milter commands and requests that it supports. The milter client
then must only send commands that both parties support, and the
milter server must send only responses that both parties support.

For the version to announce I looked at sendmail source code.  For
each version:

- Look for new milter commands/responses.

- Look for a new protocol version.

The result of that analysts is in postfix-x.y.z/src/milter/milter-8.c
which has a breakdown of features by protocol version.

        Wietse

Reply via email to