Hello all,

I have gone through the archives and have gone through all the posts
that looked like my error, however I am still stuck and I have not seen
any changes at all. Here is what I have,

I get this error each time I run /usr/local/vpopmail/bin/clearopensmtp:

tcpserver: fatal: unable to figure out port number for
/etc/tcp.smtptmp.3517 (<- the number changes each time I run)

I have done the following:

1) read all postings that looked similar (on this list and the qmail
list)
2) gone through Life with Qmail
3) gone through vpopmail Adminstration Guide
4) recompiled vpopmail 
5) recompiled the tcp.smtp.cdb file 
6) restarted all services

and still no change, I must be doing something wrong or I am changing
the wrong files :S

This is on FreeBSD 5.1-RELEASE using
qmail-1.03_1
vpopmail-5.3.24
ucspi-tcp-0.88 

Is it a permissions thing?

Any help would be greatly appreciated.

TIA

Jay

tcp.smt* permissions

mail1# ll /etc/tcp.smt*
lrwxr-xr-x  1 root  wheel  32 Nov 11 10:31 /etc/tcp.smtp ->
/usr/local/vpopmail/etc/tcp.smtp
lrwxr-xr-x  1 root  wheel  36 Nov 11 10:31 /etc/tcp.smtp.cdb ->
/usr/local/vpopmail/etc/tcp.smtp.cdb

mail1# ll /usr/local/vpopmail/etc/tcp.smt*
-rw-r--r--  1 vpopmail  vchkpw   608 Nov 11 09:55
/usr/local/vpopmail/etc/tcp.smtp
-rw-r--r--  1 vpopmail  vchkpw  2119 Nov 10 14:11
/usr/local/vpopmail/etc/tcp.smtp.cdb

my tcp.smtp file

127.0.0.1:allow,RELAYCLIENT=""
192.168.:allow,RELAYCLIENT=""
216.138.224.10:allow,RELAYCLIENT=""
216.138.226.17:allow,RELAYCLIENT=""
216.138.226.18:allow,RELAYCLIENT=""
216.138.226.19:allow,RELAYCLIENT=""
216.138.226.20:allow,RELAYCLIENT=""
216.138.226.21:allow,RELAYCLIENT=""
216.138.226.22:allow,RELAYCLIENT=""
216.138.226.23:allow,RELAYCLIENT=""
216.138.226.24:allow,RELAYCLIENT=""
216.138.226.25:allow,RELAYCLIENT=""
216.138.226.26:allow,RELAYCLIENT=""
216.138.226.27:allow,RELAYCLIENT=""
216.138.226.28:allow,RELAYCLIENT=""
216.138.226.29:allow,RELAYCLIENT=""
216.138.226.30:allow,RELAYCLIENT=""
:allow

my configure command

./configure --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
--enable-log-name=vpopmail --enable-roaming-users=y --enable-logging=p
--enable-defaultquota=52428800 --enable-ip-alias-domains=n
--enable-passwd=n --enable-clear-passwd=y --enable-domain-quotas=y
--enable-mysql=y --enable-many-domains=n --enable-auth-logging=y
--enable-mysql-logging=y --enable-valias=y
--enable-ucspi-dir=../ucspi-tcp-0.88 --enable-mysql-limits=y
--enable-relay-clear-minutes=30 --enable-domains-dir=domains
--enable-tcpserver-file=/etc/tcp.smtp
--enable-tcprules-prog=/usr/local/bin/tcpserver --enable-domainquotas=y
[EMAIL PROTECTED] --enable-many-domains=y

my smtp run script

#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z
"$LOCAL" ]; then
    echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
    echo /var/qmail/supervise/qmail-smtpd/run
    exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
    echo "No /var/qmail/control/rcpthosts!"
    echo "Refusing to start SMTP listener because it'll create an open
relay"
    exit 1
fi

exec /usr/local/bin/softlimit -m 8000000 \
        /usr/local/bin/tcpserver -v -S -H -R -l "$LOCAL" -x
/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp fixcrio
/var/qmail/bin/qmail-smtpd 2>&1




Reply via email to