I have found an
error, which can cause smap to crash, when require-full-email = 1 and
check-from-adress = 1 and the sender has no domain added.
Also when connecting with an invalid domain, smap generates 2
I have added a patch which fixes this problems as an attachment.