Re: replacing tcpserver
Gerrit Pape <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <20040515153842.17695.qmail@108780d4867bc4.315fe32.mid.smarden.org> |
On Sat, May 15, 2004 at 03:36:41PM +0200, Karim El Chenawi wrote: > I would like to migrate from tcpserver to tcpsvd (the per host > concurrency feature is great!) but after going through Gerrit's page and > the list I still don't understand if I can accomplish pop-before-smtp > functionality in the same way as I do today. > > In my working setup with qmail+vpopmail+ucspci, vpopmail rebuilds the > tcp.smtp.cdb file every time a client authenticate via pop. Vpopmail > uses tcprules to do this. Can I tell vpopmail to use ipsvd-cdb instead > to rebuild tcp.smtp.cdb or is there another way of accomplish > pop-before-smtp with my current setup? I can't help you with vpopmail, but simply using ipsvd-cdb most probably won't do it. I guess vpopmail first modifies /etc/tcp.smtp and then runs tcprules to rebuild the cdb. ipsvd supports such dynamic rules through the instructions directory, no need to rebuild the constant database on each change. Other applications simply need to create or delete files in the instructions directory to adjust the rules on the fly. E.g., if an applications wants to have the variable RELAYCLIENT to be set in the environment of qmail-smtpd for connection coming from a.b.c.d, it simply runs echo '+RELAYCLIENT=' >/service/qmail-smtpd/peers/a.b.c.d If tcpsvd runs qmail-smtpd through /service/qmail-smtpd/run, and it's given the -t option, it can automatically remove this authorization after a timeout. relay-ctrl also may be an option, I'm not sure. Regards, Gerrit.