Hey everyone,
        I am having trouble getting tcpserver to behave.  I can send from one
local user to another with no problems; it just doesn't want to let my
clients relay and it refuses SMTP connections from the outside world.
        The error I get in my syslog is:

Sep 27 19:56:17 portal qmail: tcpserver: warning: dropping connection,
unable to read /etc/tcp.smtp.cdb: input/output error
Sep 27 20:01:02 portal qmail: tcpserver: warning: dropping connection,
unable to read /etc/tcp.smtp.cdb: input/output error
Sep 27 20:27:39 portal qmail: 220 my.server.com ESMTP^M
Sep 27 20:27:39 portal qmail: 938489259.613037 status: local 0/10 remote
0/20
Sep 27 20:27:46 portal qmail: 938489266.139605 status: exiting
Sep 27 20:30:11 portal qmail: 938489411.448918 status: local 0/10 remote
0/20

        but I have my tcp.smtp.cdb compiled with the following data (and it IS
in /etc/):

127.0.0.1:allow,RELAYCLIENT=""
xxx.xxx.xxx.xxx-xxx:allow,RELAYCLIENT=""
:allow  # <--That SHOULD allow the rest of the world to send me mail
shouldn't it?

        I've read allot from the qmail-list and I am NOT going to try to set it
up as an open relay, but I would very much like to allow my client
workstations relay access for pop and, at the very least get allow the
rest of the world to send me mail.  Any ideas?
        Here's a snippet of my startup script if that will help:

        sh -c "start-stop-daemon --start --quiet --user qmails \
                 --exec /usr/sbin/qmail-send \
                 --startas /usr/sbin/qmail-start -- \"$alias_empty\"
$logger &"
        ulimit -v 2048
#If I run this from the command line, I can telnet to port 25, but that
is from my LAN...
        sh -c "start-stop-daemon --start --quiet --user qmaild \
            --exec /usr/bin/tcpserver -q -- \
             -u 71 -g 65534 -x /etc/tcp.smtp.cdb 0 smtp \  #started:
'-S'
            /usr/sbin/qmail-smtpd 2>&1 | logger -t qmail -p mail.notice
&"
# pop3 is obviously having a hard time...
        sh -c "start-stop-daemon --start --user qmaild \
            --exec /usr/bin/tcpserver -q -- \
            0 pop-3 /usr/sbin/qmail-popup `hostname`.`dnsdomainname` \
            /usr/bin/checkpassword /usr/sbin/qmail-pop3d Maildir &"

        Many thanks to anyone who can help,
                Ryan Sharon
                [EMAIL PROTECTED]

Reply via email to