Re: addition to qmail init script
If you want a generic copy of the setup I use, I've got it in http://qmail.org/service.tar.gz . Is it intentional that there is no rules file used for pop3d ? Mate
Re: addition to qmail init script
On Mon, Jan 08, 2001 at 01:16:27PM -0800, Bill Parker wrote: tcprules) cp /etc/tcp.smtp /etc/tcp.smtp.bak echo -n "tcprules file backed up..." tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp echo -n "installing new rules file..." chmod 644 /etc/tcp.smtp* ;; Would something like this work, or could someone post an example if they have already done this? Not really. Once you say 'qmail tcprules' (or whatever) /etc/tcp.smtp and /etc/tcp.smtp.bak have the same contents. That's not much use! The logic needs to be something like: If tcp.smtp is good, make a backup; else leave current backup alone. That should leave you with your current config (tcp.smtp) and your last good config (tcp.smtp.bak). Try: tcprules) echo -n "installing new rules file..." tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp cp /etc/tcp.smtp /etc/tcp.smtp.bak chmod 644 /etc/tcp.smtp* ;; james -- James Raftery (JBR54) "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
Re: addition to qmail init script
Bill Parker writes: I was wondering, would it be possible to add the following to my init script for qmail so that I can process tcprules changes on a easier basis: I exclusively install qmail using daemontools-0.70. My rules are in /service/smtpd/tcp, and the cdb is correspondingly in /service/smtpd/cdb. And I've got a /service/smtpd/Makefile that looks like this: cdb: tcp tcprules cdb cdb. tcp If you want a generic copy of the setup I use, I've got it in http://qmail.org/service.tar.gz . -- -russ nelson [EMAIL PROTECTED] http://russnelson.com | Government is the Crynwr sells support for free software | PGPok | fictitious entity by which 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everyone seeks to live at Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | everyone else's expense.
addition to qmail init script
Hi All, I was wondering, would it be possible to add the following to my init script for qmail so that I can process tcprules changes on a easier basis: tcprules) cp /etc/tcp.smtp /etc/tcp.smtp.bak echo -n "tcprules file backed up..." tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp echo -n "installing new rules file..." chmod 644 /etc/tcp.smtp* ;; Would something like this work, or could someone post an example if they have already done this? -Bill