From owner-freebsd-questions@FreeBSD.ORG Mon Apr 10 21:22:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2491B16A405 for ; Mon, 10 Apr 2006 21:22:00 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4729243D48 for ; Mon, 10 Apr 2006 21:21:56 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k3ALLbOt031083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 11 Apr 2006 00:21:38 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k3ALMc2F045951; Tue, 11 Apr 2006 00:22:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k3ALMcWG045950; Tue, 11 Apr 2006 00:22:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 11 Apr 2006 00:22:38 +0300 From: Giorgos Keramidas To: Efren Bravo Message-ID: <20060410212238.GA45875@gothmog.pc> References: <20060410183820.39308.qmail@web25501.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060410183820.39308.qmail@web25501.mail.ukl.yahoo.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.379, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.82, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: sendmail -> local delivery path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 21:22:00 -0000 On 2006-04-10 20:38, Efren Bravo 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:\ # [...]