Hi Javier,
Becase the MTA-MTA case differs from the MUA-MSA case, what we really would need is another "protocol option" eg smtp-with-optional-starttls or perhaps a shorter name like smtp-mx. It wouldn't be a general solution to try and automatically distinguish solely by port-number.
Although there are use-cases for this, are they enough to add what is (a bit of) proxying logic into what was originally intended to be a transparent transport-level tunnel? Is there anyone else on the list wanting to use stunnel for MX-MX communication?
-- Mike