mailwrapper support is gone from the tree - bug #158003. No ebuild has mailwrapper USE flag anymore. Please consider dropping it from the qmail.eclass as well. Something similar to the attached patch should be OK. Reproducible: Always
Created attachment 267663 [details, diff] qmail.eclass.diff
applied