Need help with qmail

Ok I have qmail and vpopmail installed on our mail server. I just realized that during a open relay test that it responded to SOME of the tests as open and some of them closed. I was wonder how can I COMPLETELY turn off relaying but allow mail to be sent from the that machine only (ie: php scripts and such).

 

 

 

 

Top