Hi,

If you look on the command line for qmail-smtpd, you'll notice that you are
reading /etc/tcp.cdb and not /var/vpopmail/etc/tcp.cdb

Regards,

Rick


----- Original Message -----
From: "Rob G" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 7:56 AM
Subject: [vchkpw] SMTP Perms


I know I sent an email yesterday but I am going to compile both into one
email and hopefully someone will be able to help me because I am so close to
getting my mail server up and running I can taste it.

I got my problem with Qmail not sending email to the proper mailbox fixed.
When I configured Qmail I followed the Life With Qmail installation
instructions to the word.  What I forgot when telling qmail where to deliver
the mail was I used ./Maildir instead of ./Maildir/,  when I changed this
mail started delivering with no problems. :)  My bad

Now I can receive mail with no problems, but when trying to send mail I get
the error that the email address is not in my rcpthosts.  I belive this has
to do with the authentication module for Qmail.

I see that /var/vpopmail/etc/open-smtp is writing IP addresses to the file
to allow me to send mail through the server. But Qmail is not reading this
file.

My qmail-smtpd run script is as follows:

#!/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
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

And I can say that my open-smtp file is not being erased by the cron job
that I setup.  I am not sure if this file is supposed to be cleared or not.

If anyone has any ideas I would greatly appreciate them as I said I am so
close that I can taste the mail server :)

I would really not like to have to recompile the qmail program with a patch
but I will if I have to if there is an easy script that will integrate with
my current system.

Regards,
Rob G




Reply via email to