Qmail
[Top] [All Lists]

Re: Can not send email out

To: qmail@list.cr.yp.to
Subject: Re: Can not send email out
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Tue, 23 Jan 2007 17:11:19 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <62136.11746.qm@web56404.mail.re3.yahoo.com>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <62136.11746.qm@web56404.mail.re3.yahoo.com>
User-agent: Mutt/1.5.11
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.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>