Re: [vchkpw] creating maildir on the fly
On Sun, Apr 25, 2004 at 10:59:58AM +0300, Tech Info wrote: I have a qmail/vpopmail/mysql set-up running on Redhat 8, I would like to know how I can opt for 'creating user mailbox on the fly' option? Is there anyone who can help me out in this? It's doable and I've even patched vpopmail to do it (from only an entry in the vpopmail table)... however. pop3d will fail if the customer tries to login to the nonexisting directory, and courier-imap access will similarly fail. The gain of maybe saving a few inodes (no disk blocks need be sacrificed yet) isn't worth the tech support overhead. Use a filesystem like Reiserfs (on linux) and you don't have to care about the inodes anyhow. -- Ted Deppner http://www.deppner.us/
Re: [vchkpw] qmail-scanner replacement
On Thu, Feb 05, 2004 at 02:54:09AM -0600, Jeremy Kitchen wrote: On Wed, 2004-02-04 at 23:48, Ted Deppner wrote: On Wed, Feb 04, 2004 at 10:29:58AM -0700, Tom Collins wrote: message). I am curious about qmail-qfilter though... It doesn't appear to allow filtering on envelope information. Didn't dig too far, but didn't see any examples of it, and the examples shown didn't appear to have any hooks. envelope information? see badmailfrom, and also there are several patches which allow you to filter on recipient information. badmailfrom doesn't allow for regex matches (I know there are patches, but stock it doesn't allow it). KLEZ was easily identified because of a null appended to the mail from: line... it's that sort of operation on envelope information handling that doesn't appear to be present in qmail-qfilter. -- Ted Deppner http://www.deppner.us/
Re: [vchkpw] qmail-scanner replacement
On Wed, Feb 04, 2004 at 10:29:58AM -0700, Tom Collins wrote: message). I am curious about qmail-qfilter though... It doesn't appear to allow filtering on envelope information. Didn't dig too far, but didn't see any examples of it, and the examples shown didn't appear to have any hooks. KLEZ was easily handled by simple envelope checks. -- Ted Deppner http://www.deppner.us/
Re: [vchkpw] load balance suggestions
On Wed, Feb 04, 2004 at 10:44:36AM -0800, Joe Boyce wrote: RM Hello guys I would like what would you suggest for load balance with RM vpopmail and mysql any suggestions on how to set it up? I would also like RM to have Round robin with DNS etc.. We are using Linux Virtual Server to accomplish this: LVS is getting much easier to setup and maintain, but a simple round robin dns system is also quite easy to put together for a perl coder[1]. None of the mail servers need any sort of LVS magic, and nothing about mail is really CPU bound (other than AV), and mail systems nicely distribute themselves when given the opportunity to. [1] we use mon, a custom alert script, and djbdns' tinydns. Very lightweight and failover is seconds. -- Ted Deppner http://www.deppner.us/
Re: [vchkpw] Hard disk replacement
On Thu, Dec 05, 2002 at 10:07:41AM -0600, Nick Lomonte wrote: What I am planning on doing is stopping qmail, mounting the new drive, and doing the following: cd /home cp -a * /newdrive Does anyone see a problem with this? Is there something I'm overlooking that would cause this to not work? Some versions of cp don't properly chown ownership on symlinks. Some versions of cp only do utime and chmod updates after entire subdir hierarchies are finished copying. Most versions of cp will leave partially copied files around if interrupted by ctrl-c. If you have gigs of data and millions of files, cp may take too long to run for your allotted window. If you can be assured that cp will run to completion in a relatively short period of time, you should be okay... but if any of the above concerns are real to you, then I'd suggest using rsync. rsync typically cannot easily handled millions of files (it does a full scan before doing any work, building a list in memory), therefore you may need to rsync domain by domain or even mailbox by mailbox for domains with thousands of mailboxes. This is usually easily managed with a list of your email boxes and little scripting. rsync has the advantage that you can spend 8 hours doing the initial copy, but then sync up the source and destination in minutes, thus allowing a short migration window, and you can know beforehand that your new disk has the data on it (and your inode counts and block sizes were chosen wisely). I've migrated 14gig of data off of NT and onto unix with only about 2 minutes of downtime using this method. -- Ted Deppner http://www.psyber.com/~ted/
Re: [vchkpw] Rcpthosts - Newbie Question :-/
On Fri, Oct 25, 2002 at 01:50:20PM +0200, Zeno Davatz wrote: I just set up qmail with the Debian packages from Gerrit Pape. I also compiled vpopmail from source. This question was already asked and answered on the qmail list... and it's not a question that belongs on a vpopmail/vchkpw list. -- Ted Deppner http://www.psyber.com/~ted/