>That's why I put the tcp.smtp files under /home/vpopmail/etc
>so the vpopmail user has permissions to write to those files.
>Otherwise, it requires root access to write to the /etc directory
>Ken Jones

i'm a newbie so forgive my elementary questions.

I've just configured vpopmail with roaming users support.

My qmail-smtpd/run script is like so:

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
    echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
    echo $0
    exit 1
fi
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
export QMAILQUEUE
exec /usr/local/bin/softlimit -m 20000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd \
-r bl.spamcop.net \
/var/qmail/bin/qmail-smtpd 2>&1


as u see i'm using /etc/tcp.smtp.cdb as Ken correctly stated.

Now...if i modify the script setting using /home/vpopmail/etc/tcp.smtpd.cdb
instead of /etc/tcp.smtp.cdb and i
do qmailctl start, my smtp server starts..but refuses connections on port 25
!

Wonder i made some mistakes.

What can it be?
How should i generate tcp.smtp.cdb in /home/vpopmail/etc/ since it is not
created during installation?

I just touched it and set vpopmail ownership.

Another question: there is a delay between pop3 authentification and roaming
user permit to relay?

Anyone have an hint? :)

Thanks,

Luc

Reply via email to