ann wang <naannwang@yahoo.com> wrote:
>
> My java program try to connect to mail.domain.com then send email, it
> blocked by rcpthosts even though I send from same IP as qmail. How do I
> send email out then?
The right way is to not have your application try to send mail via SMTP;
instead, have it invoke /usr/sbin/sendmail or /var/qmail/bin/qmail-inject.
> It should has a way to allow sending email from same machine(IP) to remote
> email address!!
It does, of course. If you really want to continue using SMTP for local mail
injection, re-read the qmail-smtpd and tcpserver documentation.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting. See http://pyropus.ca/ for details.
--------------------------------------------------------------------------
|