I just installed qmail and am having some trouble with relaying (at least that what i think) when i delete my /var/qmail/control/rhcphost file everything works fine. but when its there i cant send a message to anybody whos domain is not in that file. I thought that relaying was just to prevent people from sending messages through your smtp from places that were not specified. I didnt think it mattered where the messages were addressed.
what i want to happen is relaying only to be allowed from localhost and my internal network. But i want to be able to send mail to anyone with out adding there domain to the rhcpfile