OK, I finally got it to work. This is what I had to do:
I went through the entire install and made sure everything was working
correctly.
After install, and reboot for good measure, I unpacked the
qmail-toaster-1.03 package with this command:
rpm -Uhv qmail-toaster-1.03-1.2.10.src.rpm
Next bunzip the qmailtoaster.patch file. I'm on a fedora core 4 server
so this was my command:
bunzip2 -vh /usr/src/redhat/SOURCES/qmailtoaster-0.6.patch.bz2
Edit the resulting qmailtoaster-0.6.patch and uncomment the line of code
that tells chkuser to build with user extensions. Search for EXTENSION
and you'll find it. The line looks like this:
+/* #define CHKUSER_ENABLE_USERS_EXTENSIONS */
and should look like this:
+#define CHKUSER_ENABLE_USERS_EXTENSIONS
Save the file out and bzip the file back up:
bzip2 -vh /usr/src/redhat/SOURCES/qmailtoaster-0.6.patch
Rebuild the qmail-toaster rpm package:
rpmbuild -bb --with fdr40 /usr/src/redhat/SPECS/qmail-toaster.spec
Reinstall the new package with replacefiles and replace packages
rpm -Uvh --replacefiles --replacepkgs
/usr/src/redhat/RPMS/i386/qmail-toaster-1.03-1.2.10.i386.rpm
Do the same for qmail-pop3d for good measure
rpm -Uvh --replacefiles --replacepkgs
/usr/src/redhat/RPMS/i386/qmail-pop3d-toaster-1.03-1.2.10.i386.rpm
Restart qmail.
Then you have to set up your TMDA environment. I have done this in the
past on other servers so it wasn't too bad. Just follow the install
instructions and you're good to go.
Thanks,
Walt
I currently have a qmailtoaster set up on a Fedora 4.0 server. I
previously had a qmail server based on the qmailrocks.com install and
included TMDA and DSPAM on it as well, and I would like to incorporate
that on the qmailtoaster that I have now set up. I've searched around
and found information about chkuser 2.0 and the
CHKUSER_ENABLE_USERS_EXTENSIONS extension here:
http://www.interazioni.it/opensource/chkuser/documentation/chkuser_settings.html
I think I've found the right file to edit to uncomment out the
definition. I unpacked the qmail-toaster-1.03-1.2.10.src.rpm package
and bunzipped the qmailtoaster-0.6.patch.bz2. It looks as though the
chkuser_settings.h file is in there and I've uncommented the
CHKUSER_ENABLE_USERS_EXTENSIONS definition, saved the file and then
bzipped it back up. However, when I rebuild the package through the
rpmbuild command it doesn't look as if it's working. The
qmail-toaster-1.03-1.2.10.i386.rpm package gets rebuilt becuase I can
see that the date reflects the time of the rpmbuild command. But the
confirmation emails aren't allowed through. I can see in the qmail
smtpd logs that CHKUSER can't find the user:
@4000000043d81a850ebd1434 tcpserver: pid 24001 from 10.10.10.10
@4000000043d81a850ebe6424 tcpserver: ok 24001
mail.domain.com:10.0.0.102:25 :12.12.12.12::51225
@4000000043d81a8605460384 CHKUSER rejected rcpt: from
<[EMAIL PROTECTED]::> remote <remote.com:unknown:12.12.12.12> rcpt
<[EMAIL PROTECTED]> : not existing recipient
@4000000043d81a871a630334 tcpserver: end 24001 status 0
and the message is rejected.
I know that TMDA is working correctly because I can go into the logs
and see that it's finding the pending directory and holding the
originating message, sending the confirmation request, checking the
MySQL database where I'm storing the whitelist/blacklist, creating the
key, etc.
The vpopmail install by default has the --enable-qmail-ext setting
enabled. So I don't know exactly where to turn now. The other installs
I've done have been from source files and I admittedly don't know a
whole lot about building rpms from source. I'm not sure if the
rpmbuild -bb --with fdr40 /usr/src/RPM/SPECS/package.spec command will
actually use the files in the SOURCES directory or if it's using the
package in the RPMS/1386 directory.
I think I'm pretty close, so if anyone could offer some help or point
me in the right direction, I'd appreciate it greatly.
Thanks
Walt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]