Re: [vchkpw] Qmailrocks version qmail 1.03 with chkuser 2.0
On 2006-07-19, at 1836, Adriano Frare wrote: How I install path chkuser 2.0 with qmailrocks ? qmailrocks is built around a combined patch file that i wrote. however, it's using a really ancient version of that patch- eric (the qmailrocks maintainer) basically abandoned it for almost a year, and is just now starting to show some interest in bringing things up to date. i have written a patch, which is now part of the combined patch, which uses a "validrcptto.cdb" file to accomplish the same thing that the chkuser patch does. http://qmail.jms1.net/patches/validrcptto.cdb.shtm advantages: - does not require you to have vpopmail installed before installing qmail - does not require you to re-compile qmail whenever vpopmail is upgraded - does not require the SMTP service to be running on the same machine as the vpopmail mailboxes. you can copy the validrcptto.cdb file to other machines whose only job is to handle the RBL, virus, and spam scanning, and those machines can validate recipients without having to directly consult vpopmail at all. - works with systems which don't use vpopmail disadvantages: - requires you to build a new validrcptto.cdb file whenever a domain or mailbox is added or deleted. i have a patch (the "onchange" patch) for vpopmail which makes it possible to automate this process. http://qmail.jms1.net/patches/vpopmail.shtml my own server is using the "onchange" patch, and the validrcptto.cdb file is automatically rebuilt whenever anything changes. i've also written an AUTH_CDB patch for qmail, which allows you to send an "auth.cdb" file to the same filtering machine (which i have always called a "mailhub", but i may be changing my terms before too long) and that machine will be able to also process AUTH commands without consulting vpopmail directly. this is also working well on my own server- my qmail-smtpd does not run any external programs when it receives an AUTH command. i haven't had time to write a full web page to document the AUTH_CDB patch, but i did add a few paragraphs on the page which describes the newest version of the combined patch. http://qmail.jms1.net/patches/combined-6c5.shtml do yourself a favour- read about the patches which are available, think about your situation and what you need your servers to do, and make an informed decision. if you decide to use my patch, i normally answer questions about it on the qmailrocks lists. in either case, good luck with whatever solution you choose. -- | John M. Simpson - KG4ZOW - Programmer At Large | | http://www.jms1.net/ <[EMAIL PROTECTED]> | -- | Mac OS X proves that it's easier to make UNIX | | pretty than it is to make Windows secure. | -- PGP.sig Description: This is a digitally signed message part
Re: [vchkpw] Qmailrocks version qmail 1.03 with chkuser 2.0
Dave Richardson wrote: Keep in mind that netqmail and qmailrocks are MODIFIED source code distributions from the REAL qmail code. I believe Tonino (Tonix) derives his patches for 'chkuser' against qmail unmodified. As a result, you need to do some smart hunting. I have been successful at manually patching net-qmail 1.05 (?) with chkuser 2.0b (?) manually. It's about 20 minutes of effort since about half the patches apply correctly. Maybe someone has integrated chkuser patch into one of the re-rolled source kits? Hi, Bill Shupp's Toaster includes it as part of his big patch against netqmail 1.05. If you are using Qmailrocks toaster you may want to look at using Bill's instead as it contains everything you might need in one nice setup. http://www.shupp.org/toaster (Note: It seems the qmailrocks author is still sym linking clamscan to clamdscan and using clamscan as the default scanner. This will GREATLY increase your overhead for no good reason and if you run a reasonably busy mail server it will grind to a halt because of this.) Regards, Rick
Re: [vchkpw] Qmailrocks version qmail 1.03 with chkuser 2.0
Keep in mind that netqmail and qmailrocks are MODIFIED source code distributions from the REAL qmail code. I believe Tonino (Tonix) derives his patches for 'chkuser' against qmail unmodified. As a result, you need to do some smart hunting. I have been successful at manually patching net-qmail 1.05 (?) with chkuser 2.0b (?) manually. It's about 20 minutes of effort since about half the patches apply correctly. Maybe someone has integrated chkuser patch into one of the re-rolled source kits? Adriano Frare wrote: Dear Friends. How I install path chkuser 2.0 with qmailrocks ? I patched but show some errors, BEGIN = [EMAIL PROTECTED] qmail-1.03]# patch < /downloads/chkuser-2.0.8b-release/ CHKUSER.automatic_patching chkuser.c CHKUSER.changelog CHKUSER.copyright chkuser.h CHKUSER.log_format CHKUSER.manual_patching CHKUSER.readme CHKUSER.running chkuser_settings.h netqmail-1.05_auth-0.4.2_chkuser-2.0.8.patch netqmail-1.05_chkuser-2.0.8.patch netqmail-1.05_toaster-0.6-1_chkuser-2.0.8b.patch [EMAIL PROTECTED] qmail-1.03]# patch < /downloads/chkuser-2.0.8b-release/netqmail-1.05_chkuser-2.0.8.patch patching file Makefile Hunk #2 succeeded at 316 (offset 12 lines). Hunk #3 FAILED at 1556. 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej patching file TARGETS Hunk #1 succeeded at 396 (offset 11 lines). patching file chkuser.c patching file chkuser.h patching file chkuser_settings.h patching file conf-cc Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file conf-cc.rej patching file qmail-smtpd.c Hunk #2 FAILED at 34. Hunk #3 succeeded at 419 with fuzz 2 (offset 165 lines). Hunk #4 FAILED at 433. Hunk #5 FAILED at 444. 3 out of 5 hunks FAILED -- saving rejects to file qmail-smtpd.c.rej [EMAIL PROTECTED] qmail-1.03]# pwd /usr/src/qmail/qmail-1.03 === END Thanks for help. Adriano
[vchkpw] Qmailrocks version qmail 1.03 with chkuser 2.0
Dear Friends. How I install path chkuser 2.0 with qmailrocks ? I patched but show some errors, BEGIN = [EMAIL PROTECTED] qmail-1.03]# patch < /downloads/chkuser-2.0.8b-release/ CHKUSER.automatic_patching chkuser.c CHKUSER.changelog CHKUSER.copyright chkuser.h CHKUSER.log_format CHKUSER.manual_patching CHKUSER.readme CHKUSER.running chkuser_settings.h netqmail-1.05_auth-0.4.2_chkuser-2.0.8.patch netqmail-1.05_chkuser-2.0.8.patch netqmail-1.05_toaster-0.6-1_chkuser-2.0.8b.patch [EMAIL PROTECTED] qmail-1.03]# patch < /downloads/chkuser-2.0.8b-release/netqmail-1.05_chkuser-2.0.8.patch patching file Makefile Hunk #2 succeeded at 316 (offset 12 lines). Hunk #3 FAILED at 1556. 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej patching file TARGETS Hunk #1 succeeded at 396 (offset 11 lines). patching file chkuser.c patching file chkuser.h patching file chkuser_settings.h patching file conf-cc Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file conf-cc.rej patching file qmail-smtpd.c Hunk #2 FAILED at 34. Hunk #3 succeeded at 419 with fuzz 2 (offset 165 lines). Hunk #4 FAILED at 433. Hunk #5 FAILED at 444. 3 out of 5 hunks FAILED -- saving rejects to file qmail-smtpd.c.rej [EMAIL PROTECTED] qmail-1.03]# pwd /usr/src/qmail/qmail-1.03 === END Thanks for help. Adriano