Qmail
[Top] [All Lists]

Re: Can not send email out

To: qmail@list.cr.yp.to
Subject: Re: Can not send email out
From: Adam McKenna <adam@flounder.net>
Date: Tue, 23 Jan 2007 15:16:41 -0800
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: <20070123231119.GB30435@discworld.dyndns.org>
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> <20070123231119.GB30435@discworld.dyndns.org>
User-agent: Mutt/1.5.9i
On Tue, Jan 23, 2007 at 05:11:19PM -0600, Charles Cazabon wrote:
> 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.

That's debatable.

> > 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.

Specifically, look at the section about the tcp.smtp file.

--Adam

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