I have installed qmail and vpopmail.


I have used --enable-roaming-users=y and I am able to send and receive mail,
if the IP address is listed in the /etc/tcp.smtp file.

When a user logs in to get authenticated by pop a new file is created in the
/home/vpopmail/etc dir with a name of open-smtp.tmp.23486, with different
numbers.

These files are all blank.

If I edit any of the files in the /home/vpopmail/etc dir .... the is no
difference.

If I edit /etc/tcp.smtp, manually add the IP and reload the cdb it will
allow the user to send.

I am certain it is something in my configuration for qmail-smtpd.


Any help that you can offer I would greatly appreciate it.

Thanks in advance,
John B


/var/qmail/supervise/qmail-smtpd/run:
--------------------------------------------------------
#!/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 2000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1

------------------------------------------------------------

/var/qmail/supervise/qmail-smtpd/log/run:
------------------------------------------------------------
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpd
------------------------------------------------------------

/var/qmail/supervise/qmail-send/run:
------------------------------------------------------------

#!/bin/sh
exec /var/qmail/rc
------------------------------------------------------------

/var/qmail/supervise/qmail-send/log/run:
------------------------------------------------------------
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail
------------------------------------------------------------

/var/qmail/rc
------------------------------------------------------------
#!/bin/sh

# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by
default

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"
------------------------------------------------------------




Reply via email to