vsm-style Maildir?

2001-03-20 Thread Drew Raines

This seems like it would be a common question, but I haven't found a
clear answer.  I would like to merge the stability and speed of
Maildirs with the administrative convenience of VSM (nice, clean,
all-in-one directory tree).  I've tried starting qmail's rc with
something like

   env - PATH="/var/qmail/bin:$PATH" \
   qmail-start /var/spool/mail/$USER/ splogger qmail

after doing a maildirmake on /var/spool/mail/$USER, but I get the
dreaded Unable_to_chdir_to_maildir error.  I've only set up qmail with
regular vsm support before  Could someone point me in the right
direction or tell me why I wouldn't want to set this up this way?

thanks
-drew 








Re: vsm-style Maildir?

2001-03-20 Thread Peter van Dijk

On Tue, Mar 20, 2001 at 11:32:18AM -0600, Drew Raines wrote:
 This seems like it would be a common question, but I haven't found a
 clear answer.  I would like to merge the stability and speed of
 Maildirs with the administrative convenience of VSM (nice, clean,
 all-in-one directory tree).  I've tried starting qmail's rc with
 something like
 
env - PATH="/var/qmail/bin:$PATH" \
qmail-start /var/spool/mail/$USER/ splogger qmail
 
 after doing a maildirmake on /var/spool/mail/$USER, but I get the
 dreaded Unable_to_chdir_to_maildir error.  I've only set up qmail with
 regular vsm support before  Could someone point me in the right
 direction or tell me why I wouldn't want to set this up this way?

I use safecat and a small tool that calculates hashed /var/spool/mail
names for this.

This should work for you: (untested!):

env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|maildir /var/spool/mail/$USER/' splogger qmail

where 'maildir' is the maildir tool in the safecat package.

Greetz, Peter.



Re: vsm-style Maildir?

2001-03-20 Thread Peter van Dijk

On Tue, Mar 20, 2001 at 09:04:55PM +0100, Peter van Dijk wrote:
[snip]
 I use safecat and a small tool that calculates hashed /var/spool/mail
 names for this.
 
 This should work for you: (untested!):
 
 env - PATH="/var/qmail/bin:$PATH" \
 qmail-start '|maildir /var/spool/mail/$USER/' splogger qmail
 
 where 'maildir' is the maildir tool in the safecat package.

Alternatively, you could put '/var/spool/mail/username/' into each
user's .qmail file.

Greetz, Peter.



vsm to Maildir

2001-01-18 Thread Dale Herring

Okay guys and gals.  I see lots of utilities to convert from mailbox to
Maildir, but nothing to move from 
vsm to Maildir.  Has anyone written a utilitiy to do this?

Or am I going to have to do it the hard way and copy everyones vsm to
mailbox then convert it to Maildir?




Re: vsm to Maildir

2001-01-18 Thread Dave Sill

Dale Herring [EMAIL PROTECTED] wrote:

   Okay guys and gals.  I see lots of utilities to convert from mailbox to
Maildir, but nothing to move from 
vsm to Maildir.  Has anyone written a utilitiy to do this?

Or am I going to have to do it the hard way and copy everyones vsm to
mailbox then convert it to Maildir?

Um, mailbox in /var/spool/mail (aka vsm) are in mbox (aka "mailbox")
format.

-Dave