Hi.


I am having no end of trouble with getting vpopmail-5.2.1 and the patched version of qmail-1.0.3 up and running nicely together.
The patches I used for qmail are


"Bill Guenter's famous Qmail QUEUE patch, which will allow us to run alternate programs as Qmail's queue.
Christopher K. Davis's oversized DNS packets patch, which enables Qmail to accept oversized DNS packets.
Bill Shupp's maildir++ patch, which will fix vpopmail and Qmail quota issues.
Eric M. Johnston's SMTP-AUTH patch, which allows users outside of your network to send email after they have authentic
"


For a while at least, the POP3 service *was* working, but then
just recently I started getting this particularly strange error,
via recordio - when I just resumed testing.

@400000003f81fb4e2c9f7c1c tcpserver: pid 22086 from 192.168.1.10
@400000003f81fb4e2ca129cc tcpserver: ok 22086 nemesis.com:192.168.1.10:110 :192.168.1.10::33596
400000003f81fb4e2cbb511c 22086 > +OK <22086.1065483076@/var/qmail/vpopmail/bin/vchkpw>
400000003f81fb4e2d050834 22086 < USER [EMAIL PROTECTED]
400000003f81fb4e2d06dcf4 22086 > +OK
400000003f81fb5323860074 22086 < PASS foo
400000003f81fb532397520c 22086 > -ERR this user has no $HOME/Maildir
@400000003f81fb53239cbcc4 tcpserver: end 22086 status 256
@400000003f81fb53239cc494 tcpserver: status: 0/20
@400000003f81fb53239ff4fc 22086 > [EOF]


As far as I know, nothing really has changed.
nemesis.com is a test virtual domain running on my machine (behind NAT+firewall).
I am able to administer the user fine using qmailadmin's cgi scripts.
And as far as I can see ~vpopmail/domains/nemesis.com/jason/Maildir
dOES exist! and qmail-inject DOES properly place any incoming mail into the ~vpopmail/domains/nemesis.com/jason/Maildir/new


But I guess something has made qmail-popup or qmail-pop3d forget that it
[EMAIL PROTECTED] is a virtual user on a virtual domain.

Is there a way to debug the pop3 interface without using pop3??
I'd like to get at exactly when qmail starts to process an account as a virtual as opposed to a shell account.
The machine DOES have a local jason account, but it didn't matter before. So I am wondering what has changed....


I followed instruction found on http://linux.oreillynet.com/pub/a/linux/2003/09/25/advanced_mail_server.html?page=1

I am at my wits end here (almost). Before I go foraging through the source, can any kind soul please toss some pointers my way?

I'd appreciate it very much!



Thanks!!



-jason

p.s. here go the /service run scripts.
######################################
##POP3d::

#!/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-pop3d/run
exit 1
fi


exec /usr/local/bin/softlimit -m 3000000 \
/usr/local/bin/tcpserver \
-H -l "$LOCAL" \
-v -x /etc/tcp.pop3.cdb -c "$MAXSMTPD" -R 0 pop3 /usr/local/bin/recordio \
/var/qmail/bin/qmail-popup \
/var/qmail/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1



############### ##SMTP

!/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 /usr/local/bin/recordio \
/var/qmail/bin/qmail-smtpd \
/var/qmail/vpopmail/bin/vchkpw /bin/true 2>&1
################







Reply via email to