[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail
Subject:    Re: Can not send email out
From:       Adam McKenna <adam () flounder ! net>
Date:       2007-01-23 23:16:41
Message-ID: 20070123231640.GK18548 () flounder ! net
[Download RAW message or body]

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 list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic