Ehlo tests and some mail scenarios implementation