> Hello.  I have been reading over Richard Blum's book Running Qmail and all
> the docs that distribute as well as the FAQs on the qmail.org and DJB's
> site and I doubt this is incredibly difficult but I can't find a straight
> answer anywhwere so perhaps you gurus can tell me...
> 
> I want to use maildir format for everyone's mailboxes but I don't want to
> put them under /home ... i want to put them under /mail which is
> physically on the mailserver (/home is not) and is faster and emptier than
> /home. 
> 
> is there a system-wide way to specify a default path to a maildir?  I
> suppose I could put a symbolic link in everyone's home directory to
> /mail/$USER but that seems sloppy and breakable.
> 
> ideas?  thank you for your input.
> 
> --gill


Well, since the .qmail file specifies where to deliver mail, and in the
default setup contains "./Maildir/", why not just have it contain 
"/mail/joe_user/"

Of course, yor useradd script or whatever would have to 1) create the
.qmail file, and 2) call maildirmake with the proper path.  And if you
have problems, remember how particular qmail is about Maildir permissions
and ownership.  Also, putting the maildir in a non-standard location may
confuse mail clients like Pine as well as POP3 servers that don't read the
.qmail file

--Pete

Reply via email to