Run the patch against the source of ucspi-tcp-0.88 and then install it again.
I was under the assumption that you only installed this patch to stop the rebuild of the tcp.smtp.cdb file for each pop3 authentication. And if you installed mySQL support for vPopMail that this patch was just saving a trip to the cdb file, nothing more.
True? False? Out in deep roving left, knee-deep in the lake?
Then create a file called 'sql' in the qmail control dir with the following layout
server localhost port 3306 database vpopmail table relay user vpopmailuser pass vpopmailpassword time 1800
Add the -S switch to your qmail-smtpd script and restart the servers.
This is for tcpserver, correct? (Because the current version of vPopmail has a control file like this now.
And what does your full smptd line look like now?
e.g. I have (no tcpserver patch):
env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -p -H -l0 -R -c 512 -x \ /var/qmail/vpopmail/etc/tcp.smtp.cdb -u 301 -g 302 \ 0 smtp /var/qmail/bin/qmail-smtpd foo.bar.org \ /var/qmail/vpopmail/bin/vchkpw /bin/true &
after the patch it would be?
env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -p -H -l0 -R -c 512 -x \ -S \ 0 smtp /var/qmail/bin/qmail-smtpd foo.bar.org \ /var/qmail/vpopmail/bin/vchkpw /bin/true &
Am I close? ;-)
--- Anthony Baratta President Keyboard Jockeys
"Conformity is the refuge of the unimaginative."