sendmail -> local delivery path

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Apr 10 21:22:00 UTC 2006


On 2006-04-10 20:38, Efren Bravo <efrenba at 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:\
    # [...]



More information about the freebsd-questions mailing list