On Wednesday 30 March 2005 01:09 pm, Erwin Hoffmann wrote:
> >Here's my /service/qmail-smtpd/run file:
> >#!/bin/sh
> >
> >QMAILDUID=`id -u qmaild`
> >NOFILESGID=`id -g qmaild`

can the qmaild user read ~vpopmail/etc/vpopmail.mysql ?

> >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 4000000 \
> >    /usr/local/bin/tcpserver -v -R -H -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
> >"$MAXSMTPD" \
> >        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
> >        /usr/local/bin/rblsmtpd -r relays.ordb.org \
> >         /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw $LOCAL
> >/bin/true 2>&1
>
> Why do you use "/home/vpopmail/bin/vchkpw $LOCAL /bin/true 2>&1" ?
>
> Is "$LOCAL" required by vchkpw ?

Nope, but that wouldn't cause auth failures to show up in the logs, that would 
only cause the SMTP server to not be able to authenticate.

The problem is almost certainly that the user you are running your smtp server 
as does not have permission to read the vpopmail.mysql file.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
    [EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
      kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
         GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]

Attachment: pgphV7dcbZ8qz.pgp
Description: PGP signature

Reply via email to