Dear Arby
Search here as there have been a few posts about this.
From memory, there was no easy answer, but you can do it by modifying the qmail source code and then recompiling. Not to be undertaken lightly.
There were some suggestions of alternative methods by a couple of people that may or may not suit
Regards
Ray Mitchell.