Jesus...I suppose RTFM won't work with the language barrier...
OK...Hopefully the language barrier won't be to big for me to explain this.

It sounds like you are using tcpserver to run qmail-smtpd.  If you ARE using
"tcpserver", you should be running it like this:

tcpserver -x /etc/tcp.smtp.cdb -u UID# -g GID#  0 smtp
/var/qmail/bin/qmail-smtpd

UID# and GID# should be replaced with the UID for "qmaild" and the GID for
"nofiles".

If you don't know what these numbers are, run:

id qmaild

or you can check your /etc/passwd and /etc/group files.


Next, if it does not already exist, create a file called:

/etc/tcp.smtp

Inside that file, put the following:

127.0.0.:allow,RELAYCLIENT=""
:allow

Now run:

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp </etc/tcp.smtp

If tcpserver is already started and running, you should then be able to send
mail from localhost (127.0.0.1).  Changes to /etc/tcp.smtp.cdb are
immediately known to "tcpserver" after you run the "tcprules" command.

Also make sure that you have "localhost" added to the file:

/etc/qmail/control/rcpthosts


Hope that helps you out.

-CT


PS.  I wonder if anyone out there knows Chinese and English well enough for
doing the Qmail FAQ and "Life with Qmail" in Chinese?  Or has this already
been done?  Please point this person towards it if it exists.





----- Original Message -----
From: "ms7.url.com.tw" <[EMAIL PROTECTED]>
To: "Dale Miracle" <[EMAIL PROTECTED]>
Cc: "Qmail Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, September 03, 2000 11:21 PM
Subject: Re: can not send email, but can receive email


> Dear Sir:
>
> Just like you say, I check every setting file, likes hosts.allow,
> hosts.deny, and tcp.smtp.cdb. I did not do more limited in my server. So,
> have others configuration files I need to notices.
>
> best regard,
>
> mARS Huang
> ----- Original Message -----
> From: "Dale Miracle" <[EMAIL PROTECTED]>
> To: "ms7.url.com.tw" <[EMAIL PROTECTED]>
> Sent: Monday, September 04, 2000 11:39 AM
> Subject: Re: can not send email, but can receive email
>
>
> > "ms7.url.com.tw" wrote:
> > >
> > > Dear Sir:
> > >
> > > When I checked the /var/log/maillog file, I can not find out any error
> > > message, except I entried wrong account/password on purpose.
> > >
> > > Then error message from Email reader, netscape messager:
> > >
> > > the server may not be accepting connection or may be busy,
> > > try connecting again later.
> > >
> > > But, my friend do some testing in this server, he said: it fine, sent
> and
> > > received from US.
> > >
> > > So, do you have any ideal about this? Thanks
> >
> > So other people can use the mail server and you can't?  Are you using
> > any type of relaying control?  Like in the hosts.allow file or
> > TCPserver's tcp.smtp .
> >
> > --
> >
> > Dale Miracle
> > System Administrator
> > Teoi Virtual Web Hosting
>

Reply via email to