Smtpscan is a tool to guess which MTA is used by sending several "special" SMTP requests and by comparing error codes returned with those in the fingerprint database. It does not take into account banners. A document describing the fingerprinting method implemented in smtpscan is available here.
52359335730c657d81e7451cc2dac2e629bf087a11639db3cc93a71f74f7a39a