Hi Ihsan,

On Mon, 3 Mar 2003 16:59:28 +0200 Ihsan  Turkmen <[EMAIL PROTECTED]>
wrote:

> I am in trouble to run qmail-pop3d by tcpserver, and therefore i use it wit
> xinted. At the monent, smtpd servise is locked after I tried to run
> qmail-pop3d with tcpserver.

If you now could explain to us uneducated what qmail-pop3d and tcpserver
has to do with a "can't connect to SMTP-server" problem ...?!?

> qmailctl stat shows everything normal 

So you get a line

/service/qmail-smtpd: up (pid XXX) XXXXX seconds

??? _IF_ so you're running qmail-smtpd through tcpserver (which a look
into qmailctrl script would have revealed as it simply calls 'svc' which
only works with tcpserver and _not_ with (x)inetd).

> but I can not get connected to port 25 when I try "telnet 127.0.0.1
> 25" or "telnet server.ip.address 25" I need urgent help. qmailsmtpd
> deamon responds and immediately braks

If you need urgent help you need a good filled wallet, if you need
normal help you need patience.

Nonetheless ... 

1.) Make sure you _KNOW_ (and not only assume) how qmail-smtpd is
  started. A first idea would be

  netstat -tulpen |grep :25

  The last column gives you the PID and process name listeing to port
  25.

  If this is 'tcpserver' do a 

  ps www <PID>

  and figure out if tcpserver is started with '-x ...'.
  If so: 
  - does the file given as argument to '-x' exist?
  - does it's ancestor-file (usually located in the same location with
    the same name, except without '.cdb' as extention) contain a line

    127.:allow

    ???

  In the latter case edit the plain text file (w/o .cdb) and do a 

  tcprules <CDB-file> tmp < <PLAIN TEXT-file>

  (e.g. 'tcprules tcp.smtp.cdb tmp < tcp.smtp')

  to create the .cdb file.
  If the file does not even exist make sure the plain text version does
  and execute the same command as mentioned above.


2.) Read Life-with-Qmail [1] and tcpserver documentation [2] to
  understand how your mail system work (in it's basics).

One last advise: _don't_ put your server on a public internet
connection, accessible from anywhere in the world, unless you _KNOW_ how
your qmail, tcpserver and vpopmail works.
Chances are high you run into big trouble if you do nevertheless, e.g.
because your server might be misused as spam-relay for for other
"unintended" actions. If you don't get into the matter completely: pay
somebody how already did.
Putting a server on the internet is something _completely_ different
from switching on your GameBoy, you are in _responsibility_ if you carry
on a public accessible server.

[1] http://www.lifewithqmail.org/
[2] http://cr.yp.to/ucspi-tcp.html
-- 
Regards,
 Peter

Please don't CC me in replies, I'm reading the list. 

Reply via email to