Hmmmm that is a good one as I set up vpopmail following the instructions
word for word. It does appear that the /etc/tcp.smtp.cdb does have the IP
addresses of the system in it .. I opened the cdb file in vim and could see
the two IP addresses that I have POP'd in with.
I may have to go another route as I am not sure about the relaying as the IP
addresses are not being cleared from the tcp.smtp.db file or the open-smtp
file. I would like to just use SMTP authentication instead of POP before
SMTP.
Regards,
Rob G
----- Original Message -----
From: "Rick Macdougall" <[EMAIL PROTECTED]>
To: "Rob G" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 9:09 AM
Subject: Re: [vchkpw] SMTP Perms
Hi,
In my directory I have both a tcp.smtp and a tcp.smtp.cdb, you would want to
point it to the tcp.smtp.cdb if you can figure out why it is not creating
it.
Regards,
Rick
----- Original Message -----
From: "Rob G" <[EMAIL PROTECTED]>
To: "Rick Macdougall" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 9:07 AM
Subject: Re: [vchkpw] SMTP Perms
In that directory there is no tcp.cdb the only files in that directory are:
inc_deps lib_deps open-smtp open-smtp.lock tcp.smtp
Do I need to point it to the tcp.smtp file?
Regards,
Rob G
----- Original Message -----
From: "Rick Macdougall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 8:39 AM
Subject: Re: [vchkpw] SMTP Perms
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