Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 00:22:38 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Efren Bravo <efrenba@yahoo.es>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail -> local delivery path
Message-ID:  <20060410212238.GA45875@gothmog.pc>
In-Reply-To: <20060410183820.39308.qmail@web25501.mail.ukl.yahoo.com>
References:  <20060410183820.39308.qmail@web25501.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-04-10 20:38, Efren Bravo <efrenba@yahoo.es> wrote:
> Hi,
>
> I want to change the local user delivery path on
> sendmail from default in /var/mail/[users] to
> /usr/zmail/[users]

This is pointed to /var/mail/USER by the default value of the $MAIL
variable.  You can change it globally by editing /etc/login.conf and
then running cap_mkdb(1) on it.

Look near line 29 for:

    # [...]
    # default:\
    #         :passwd_format=md5:\
    #         :copyright=/etc/COPYRIGHT:\
    #         :welcome=/etc/motd:\
=>  #         :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
    #         :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\
    #         :nologin=/var/run/nologin:\
    # [...]




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