Hello All, I have a couple of questions regarding qmail-cdb.
First of all, what is the use of qmail-cdb? In the Makefile (~qmail/control/Makefile), there's a line that says "locals and rcpthosts are special cases..." and then it uses qmail-cdb to generate locals.cdb and rcpthosts.cdb. What is the difference between cdbs generated using tcprules and qmail-cdb? On my test machine, I want to remove the "ucspi-tcp" package and want to use the ipsvd package [1] (along with runit [2]). But the problem is that I need tcprules to generate the cdb file of tcp.smtp.cdb. If I use qmail-cdb to generate the cdb file, and then give this cdb to tcpsvd, the env variables that I export in tcp.smtp, don't get affected. For example, my tcp.smtp contains: 127.0.0.1:allow,QS_SPAMASSASSIN="on",RELAYCLIENT="" But when I telnet to port 25 on localhost, the smtp logs say this: 2005-12-09_09:07:07.20268 tcpsvd: info: pid 5410 from 127.0.0.1 2005-12-09_09:07:07.20271 tcpsvd: info: start 5410 deeproot.co.in:127.0.0.1 ::127.0.0.1:54287 /var/qmail/control/tcp.smtp.cdb/ 2005-12-09_09:07:07.20274 qmail-smtpd 5410: connection from 127.0.0.1 (unknown) to deeproot.co.in 2005-12-09_09:07:07.20277 qmail-smtpd 5410: enabled options: max msg size: 2097152 sanitycheck blockrelayprobe rblcheck sendercheck rcptcheck smtp-auth qmailqueue /var/qmail/bin/qmail-scanner-queue.pl As you can see, the relayclient option has not got enabled. I was curious if anyone in the list have successfully used qmail-cdb to generate tcp.smtp.cdb and used it? Srinidhi. [1] http://smarden.sunsite.dk/ipsvd/ [2] http://smarden.sunsite.dk/runit/ ~~~ One good reason why computers can do more work than people is that they never have to stop and answer the phone.