User's Maildir in dir other than $HOME
<up <at> 3.am>
2009-08-06 18:30:28 GMT
I am integrating 3 existing servers into one, which raises a conflict of
sorts. Most users currently get their mail delivered to
/home/$USER/Maildir. The only exceptions are the vpopmail users, which
aren't system users at all, obviously.
However, many of the system users also have virtual web hosts that are
kept under /home/servers/theirdomain. For ftp login and proftp "chroot"
purposes, it is desirable to have that path as their $HOME. Of course,
this breaks qmail's deliver, and sicne many of these users have no login
shell, it's not something you can fix in their envs shell profiles.
In addition, I'd prefer if .qmail files were not in the virtual web host
directory $HOME. In a nutshell, joeuser has:
/web/servers/joeswebsite.com This would be their ftp chroot $HOME.
/home/users/joeuser This would be where their Maildir and .qmail
files are located.
/home/vpopmail/domains/vpopdomains These domains cannot be affected
by any changes.
I would think that perhaps /var/qmail/boot/home or maildir would be the
way to implement this, but am not clear exactly which files to edit and if
that's the best way, or if having both vpopmail and "regular" virtual
domains makes this unfeasible. If worse comes to worse, I will just let
virtual web host customers deal with Maildirs and .qmail files in their
James Smallacombe PlantageNet, Inc. CEO and Janitor
up <at> 3.am http://3.am