Hello,
I might need to learn how to write a milter that tries to divert outgoing
messages (so a smtp/client milter) that have been sent with
smtp_tls_security_level = encrypt but failed because the destination server
doesn't support STARTTLS (I understand that this is something of a false flag,
because even successful TLS message transmission is NOT necessarily secure, but
bear with me if you will).
I haven't yet looked in detail at the milter API, but was wondering if I could
ask two preliminary questions about this:
1) does the milter API and its placement in the server's execution provide a
place where I can determine that STARTTLS has failed? (and where I can
manually
redirect the message and remove it from normal processing) (milter against the
STARTTLS command?)
2) does anyone know of a milter that might serve as a good example so I don't
have to start from scratch?
Thank you kindly in advance!