Hi, I have qmail installed on Hosting company. The webmail is connected to qmail and able to send email out. But when I try to use java program to connect to qmail at: mail.mydomain.com  it take it as an outside sender, not allowed to send email out, says not in the rcpthosts. I also tried to use localhost 25, it doesn't connect. So anyone know how to connect and send email out as a sender from the same machine?