It's strange that you use /etc/smtp.cdb to control pop access (!) and
that you show us a different CDB file /etc/tcpcontrol/smtp.cdb in your
system, are you sure you are using the right CDB file in your qmail-smtpd
run script? it might help showing us that script too.

Enrique-

|o| ---- Bill Isaacs escribió ----
|o| ---------------------------------------------------------------
|o| tcpserver -v -R -x /etc/smtp.cdb 0 pop-3 /var/qmail/bin/qmail-popup 
|o| hoss.willysworkshop.com \
|o| /bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d 
|o| Maildir
|o| 2>&1 | \
|o| /var/qmail/bin/splogger pop3d &
|o| ---------------------------------------------------------------
|o| 
|o| And Charles, here are the diagnostics you requested (I hope)
|o| 
|o| >Okay, lets see some information on the file itself.  How about
|o| >     `ls -ld / /etc /etc/tcpcontrol /etc/tcpcontrol/*`
|o| --------------------------------------------------------------
|o| [root@hoss relay-ctrl]# ls -ld / /etc /etc/tcpcontrol /etc/tcpcontrol/*
|o| drwxr-xr-x  19 root     root         1024 Feb 26 12:35 /
|o| drwxr-xr-x  24 root     root         3072 Feb 27 22:34 /etc
|o| drwxr-xr-x   2 root     root         1024 Feb 27 21:27 /etc/tcpcontrol
|o| -rw-r--r--   1 root     qmail        2072 Feb 26 12:48 
|o| /etc/tcpcontrol/pop-3.cdb
|o| -rw-r--r--   1 root     qmail        2072 Feb 26 13:12 
|o| /etc/tcpcontrol/pop-3.cdb
|o| .rpmnew
|o| -rw-r--r--   1 root     qmail           7 Feb 26 12:48 
|o| /etc/tcpcontrol/pop-3.rul
|o| es
|o| -rw-r--r--   1 root     qmail           7 Feb 26 13:12 
|o| /etc/tcpcontrol/pop-3.rul
|o| es.rpmnew
|o| -rw-r--r--   1 root     qmail        2074 Feb 26 12:48 
|o| /etc/tcpcontrol/qmqp.cdb
|o| -rw-r--r--   1 root     qmail        2074 Feb 26 13:12 
|o| /etc/tcpcontrol/qmqp.cdb.
|o| rpmnew
|o| -rw-r--r--   1 root     qmail           6 Feb 26 12:48 
|o| /etc/tcpcontrol/qmqp.rule
|o| s
|o| -rw-r--r--   1 root     qmail           6 Feb 26 13:12 
|o| /etc/tcpcontrol/qmqp.rule
|o| s.rpmnew
|o| -rw-r--r--   1 root     qmail        2072 Feb 26 12:48 
|o| /etc/tcpcontrol/qmtp.cdb
|o| -rw-r--r--   1 root     qmail        2072 Feb 26 13:12 
|o| /etc/tcpcontrol/qmtp.cdb.
|o| rpmnew
|o| -rw-r--r--   1 root     qmail           7 Feb 26 12:48 
|o| /etc/tcpcontrol/qmtp.rule
|o| s
|o| -rw-r--r--   1 root     qmail           7 Feb 26 13:12 
|o| /etc/tcpcontrol/qmtp.rule
|o| s.rpmnew
|o| -rw-r--r--   1 root     root         2072 Feb 27 21:27 
|o| /etc/tcpcontrol/smtp.cdb
|o| -rw-r--r--   1 root     qmail        2072 Feb 26 13:12 
|o| /etc/tcpcontrol/smtp.cdb.
|o| rpmnew
|o| -rw-r--r--   1 root     qmail           7 Feb 26 12:48 
|o| /etc/tcpcontrol/smtp.rule
|o| s
|o| -rw-r--r--   1 root     qmail           7 Feb 26 13:12 
|o| /etc/tcpcontrol/smtp.rule
|o| s.rpmnew
|o| [root@hoss relay-ctrl]#
|o| 
|o| >Then, use tcprulescheck on the cdb file to see if that IP address is
|o| >in there:
|o| >     `TCPREMOTEIP=1.2.3.4 tcprulescheck /etc/tcpcontrol/smtp.cdb`
|o| 
|o| [root@hoss workshop]# TCPREMOTEIP=63.207.13.190 tcprulescheck 
|o| /etc/tcpcontrol/smtp.cdb
|o| rule :
|o| allow connection
|o| [root@hoss workshop]#
|o| --------------------------------------------------------------
|o| 
|o| Anyway, there's the dope.  I did find an error in tcpcontrol, to whit:
|o| I had not specified the full path to the smtp.cdb file.  Unfortunately
|o| fixing this did not solve the problem.
|o| 
|o| Thanks,
|o| 
|o| Bill
|o| 
|o| _________________________________________________________________
|o| Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to