Shims are fine for hacks, but few are that. qmail has an "installer", but the source needs hacked to properly [confine] install and run anywhere other than djb's pet /var/qmail .