Implemented min_mta_version and some other stuff

Added mrdejong's pull request (#2)
'sys' imported but unused (removed sys)
what is Expection (line 104)
implemented pzduniak's request