Re: /var/spool/mail AND ~user/mail/incomingmail
Jim Lynch <firstname.lastname@example.org> writes:
>> I'd like to see support for the user's mail being in their own home
>> dir. It's much easier to keep track of each person's usage.
Brian May <email@example.com> writes:
> Not to mention more secure...
And can result in a lighter load than the traditional alternative.
> Personally, I prefer
> The biggest problem I see with moving mail around this is that not
> all programs support checking it in different places.
Such fundamental restructuring generally requires changing a lot of
programs and creates incompabilities with other *NIX systems.
However, you might want to take a look at the hlfsd daemon (in the amd
package), which was created to address this type of problem. It uses
amd to turn the mail spool directory into an automount directory.
Accesses to /var/mail/$USER (or /var/spool/mail/$USER) are
automatically redirected by the automounter to
$USER/whatever/you/want. Thus, mailboxes will be located in each
user's home directory, but accesses of mailboxes in the traditional
spool directory will continue to work.