Add support for qmail
Some fix