On Mon, Jan 22, 2001 at 10:05:13AM -0800, Joanne Pons wrote:
> I am having trouble sending mail from an application running on the same
> server as the mail server. If the domain/IP of the RECIPIENT is not in the
> tcp.smtp list, I get the "553 sorry, that domain isn't in my list of allowed
> rcpthosts" error. I've read the section on relaying in "Life with Qmail" and
> from what I read, the tcp.smtp file should allow the connecting host (listed
> with :allow,RELAYCLIENT="") to SEND a message.
Don't do that! That'll make your server an open relay. What you probably want
is:
127.0.0.1:allow,RELAYCLIENT=""
This assumes that your application delivers mail by making an SMTP connection
to localhost. If it connects to your public interface instead, then make sure
that IP is allowed to relay.
Chris