What we'd like to do is allow mail relaying from a selected group of IP addresses only. If you've just been reading the qmail newbie's guide to relaying, you know that we do this be setting the environment variable RELAYCLIENT in qmail-smtpd's environment