maildir newbie problem
hi all: now I use maildir mode of qmail , do I have to make .qmail and Maildir for all users manually. and can it automatically be produced when a mail arrive like the Mbox or /var/spool/mail/users in Sendmail.
Re: maildir newbie problem
On Fri, Oct 22, 1999 at 10:33:36AM +0800, [EMAIL PROTECTED] wrote: hi all: now I use maildir mode of qmail , do I have to make .qmail and Maildir for all users manually. and can it automatically be produced when a mail arrive like the Mbox or /var/spool/mail/users in Sendmail. Yow can add maildirmake to your default delivery in /var/qmail/rc like so... #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Maildir/ by default. export PATH="/var/qmail/bin:$PATH:/usr/local/bin" qmail-start "|test -d ./Maildir || maildirmake ./Maildir ./Maildir/ " splogger qmail Or some such, depending on which shell environment. The above is bash. -- Brad Shelton On Line Exchange http://online-isp.com
Re: maildir newbie problem
Yes - too bad there is a plethora of UN*X "admins" out there who don't know the -m -k /etc/skel options exist... there is no substitute for experience, but (insert your man page viewer here) is a good start. :) Lyndon On Thu, 21 Oct 1999, Russell Nelson wrote: [EMAIL PROTECTED] writes: now I use maildir mode of qmail , do I have to make .qmail and Maildir for all users manually. and can it automatically be produced when a mail arrive like the Mbox or /var/spool/mail/users in Sendmail. Yes, you can, but it means that every mail delivery from now to eternity checks for the existence of a Maildir. It's much easier to use my convert-and-create script to create maildirs for everybody, and add a Maildir to /etc/skel. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!