From owner-freebsd-isp Wed Sep 26 14:14:13 2001 Delivered-To: freebsd-isp@freebsd.org Received: from rj.sgi.com (rj.SGI.COM [204.94.215.100]) by hub.freebsd.org (Postfix) with ESMTP id 88EE737B40F for ; Wed, 26 Sep 2001 14:14:06 -0700 (PDT) Received: from relay1.corp.sgi.com (spindle.corp.sgi.com [198.29.75.13]) by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f8QLE6L07499; Wed, 26 Sep 2001 14:14:06 -0700 Received: from site-fx.net (sshgate.corp.sgi.com [169.238.216.146]) by relay1.corp.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id OAA90836; Wed, 26 Sep 2001 14:13:48 -0700 (PDT) Message-ID: <3BB24488.2020804@site-fx.net> Date: Wed, 26 Sep 2001 14:11:36 -0700 From: "James A. Peltier" User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Eric_Stanfield@kenokozie.com Cc: mike , freebsd-isp@FreeBSD.ORG Subject: Re: Maildirs [OT?] References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org can't you just create a symlink from /home/$user to /var/mail/$user ??? Eric_Stanfield@kenokozie.com wrote: >I know of two ways to go - your mileage may vary. > >1) I symlinked /var/mail to /usr/mail so I could take advantage of the disk >space in /usr w/o having to screw around with option 2... ie, ln >/var/mail/joe -> /usr/mail/joe > >or > >2) recompile the mail substem. There's a file in there that defines >/var/mail as the system mail dir. You can change it to what you like, >recompile everything and you're good. I believe the source files in >question are in src/mail . > >Now, I've seen posts of people having trouble doing the symlink thing. >It's worked fine for me for quite some time but maybe I got lucky. > >I can also tell you that if you try and define $MAIL as something other >than /var/mail/username it will take your changes and then continue to dump >mail into /var/mail/username regardless. To get around that, you must >recompile the mail system per above. > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > >Eric Stanfield, K2Access >Keno Kozie Associates >222 N LaSalle #1500 >Chicago, IL 60606 >(312) 332-3000 > > > > > > mike > com> cc: > Sent by: Subject: Maildirs [OT?] > owner-freebsd-isp@F > reeBSD.ORG > > > 09/26/01 03:34 PM > > > > > > >Sorry if this should've gone to -questions. Wasn't sure... > > >My question is about the mail dir (where the local delivery agent puts >incoming mail). It branches off into 'where does the $MAIL variable >come from' (and I'm pretty sure it isn't from under the cabbage patch). > >Does it come from /etc/login.conf ? Is it hidden in a conf file some >where? In Ted Middlestadt's book, he sez that FreeBSD puts its mail >in /var/mail. This is familiar. How does one utilize the "feature" of >putting mail into something like $HOME/mail. > >I use sendmail/procmail/cucipop for my users. > >The real question: > >Is the $MAILDIR specific to each program and therefore supported by >certain MTA's LDA's and pop3 servers or is it determined somewhere >in the OS and overridden by some of these programs? > >Grateful for any clues, direction, man pages, reference material, etc. > >mike > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message