Article View: a2i.lists.inet-access
Article #5733Re: long /var/spool/mail
From: Nickolai Zeldovich
Date: Sun, 23 Nov 1997 00:00
Date: Sun, 23 Nov 1997 00:00
45 lines
2249 bytes
2249 bytes
On Sun, 23 Nov 1997, Sysman wrote: > The /var/spool/mail where all mail spool files are is long in my machine. > Should I do something with this? If you aren't having performance problems now, it's not as critical. Basically, it's your opinion - if you think you will grow soon and might get performance problems, implement some sort of multi-disking for /var/spool/mail, otherwise you can leave it like this.. Multi-disking can be done this way (there are, of course, number of other ways): [example with load split across 2 disks] mount mail-disk-1 on /var/spool/mail/dsk1 mount mail-disk-2 on /var/spool/mail/dsk2 link /var/spool/mail/a to dsk1/a ... link /var/spool/mail/m to dsk1/m link /var/spool/mail/n to dsk2/n ... link /var/spool/mail/n to dsk2/n link /var/spool/mail/auser to a/auser link /var/spool/mail/buser to b/buser (i.e. link everyone's mail file to [first letter]/[username]) This way, when they access /var/spool/mail/user, they'll be sent to /var/spool/mail/u/user which is a link to /var/spool/mail/dsk2/u/user. This solution, though, imposes some overhead and maintenance issues - i.e. having to maintain all these symlinks to the right place, etc. You could change it to not having any symbolic links but then you'll have to make sure all your mail software is aware of the way you are handling mail (e.g. popper, pine, sendmail, etc). -- +-------------------------+----------------------+--------------------------+ | Nickolai Zeldovich | ZEPANET | UCF Math Department | | http://kolya.zepa.net/ | http://www.zepa.net/ | http://www.math.ucf.edu/ | | nickolai@kolya.zepa.net | nickolai@zepa.net | nickolai@math.ucf.edu | +-------------------------+----------------------+--------------------------+
Technical Details
Message-ID:
<inet-access.Pine.LNX.3.95.971123101538.25479B-100000@orbit.zepa.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f61c3,e1a51ba7714423d7,start X-Google-Attributes: gidf61c3,public From: Nickolai Zeldovich <kolya@zepa.net> Subject: Re: long /var/spool/mail Date: 1997/11/23 Message-ID: <inet-access.Pine.LNX.3.95.971123101538.25479B-100000@orbit.zepa.net> X-Deja-AN: 291838489 X-To: inet-access@earth.com Reply-To: inet-access@earth.com Newsgroups: a2i.lists.inet-access