Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2006 18:04:56 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        freebsd-questions@freebsd.org
Cc:        Niek Dekker <niekdekker@gmail.com>
Subject:   Re: How does useradd determine the default mailbox/maildir location for new users
Message-ID:  <452BC4A8.6040807@locolomo.org>
In-Reply-To: <44ac44dwct.fsf@be-well.ilk.org>
References:  <452A6AA5.2010400@gmail.com> <44ac44dwct.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert wrote:
> Niek Dekker <niekdekker@gmail.com> writes:
> 
>> I am running Exim 4.62 MTA on FBSD 6.0_release.
>> When I create a new user using useradd, a mailbox file for the new
>> user is created in /var/mail.
>> As I am using Maildir with maildirs in /var/mail, I do not want that.
> And none of those are documented to do anything of the sort.
> I think you should just write your own wrapper.  You could write it as
> a wrapper for adduser, or you could make your own version of adduser
> (which is just a shell script). 

Why not just store your mail in a different directory - say /var/exim? 
Does it hurt your eyes if it's not called /var/mail?

In login.conf you set user environment path to the user's mailbox (don't 
know if this is worth anything with Maildir), and configure exim to use 
that directory - this sounds like the easier solution.

Cheers, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452BC4A8.6040807>