At 11:01 AM 6/9/99 , jinfeng wrote:
>The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not
>the case for me. And I really don't like to install a tcpserver if I don't
>have to. Among all other things, changing boot script in RedHat is really
>painful for me.
>
>Is there any other solutions? Thanx.
>
>On Wed, 9 Jun 1999, Dustin Marquess wrote:
>
> > At 01:19 AM 6/9/99 , jinfeng wrote:
> > >I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to
> > >work ok if I use pine as client. However, when I use Netscape mail, I
> > >could not send mail out, it always complain "that domain isn't in my list
> > >of allowed rcpthosts(#5.7.1). Please check the message recipients and try
> > >again." I can send to the same recipient by Pine without any problem.
> > >
> > >In the Netscape preference, my setting is
> > >
> > >outgoing mail(SMTP) server : localhost
> > >outgoing mail server user name: jinfeng
> > >
> > >Can anyone tell me what's wrong with my setting and how to correctly set
> > >up Netscape as my mail client? Thanks a lot.
> >
> >          This is in the FAQ.  You want the part about selective relaying.

         You have a few options:

1)      Use tcpd (tcp_wrappers) with qmail and use it's /etc/hosts.allow to 
setup the RELAYCLIENT variable.
2)      Use the relayclient patch from www.qmail.org to get the 
/var/qmail/control/relayclients file which does the same thing.
3)      Use one of the patches from www.qmail.org that'll let anybody relay 
as long as they do a POP3 check first, which more mail clients do.

         Another user asked why only Netscape is doing this and not 
pine.  The reason is pine is probably sending mail via /usr/sbin/sendmail 
(which is a wrapper to /var/qmail/bin/qmail-inject), and Netscape is 
sending via SMTP.

                                                                             
              -Dustin

Reply via email to