SUMMARY: Problem with user's mailboxes

From: Glenn Carver (glenn@atm.ch.cam.ac.uk)
Date: Thu Jan 14 1993 - 19:33:14 CST


Apologies for the long delay in getting this summary out, it's taken
a long time to get to the right response. The original message is appended at
the bottom.

I am indebted to Jan-Ulf.Lundberg@eua.ericsson.se (Jan-Ulf Lundberg) who put
in a call to the Sun Hotline for this question. Unfortunately, it is NOT
possible to get rid of the 'hold' setting in OW3 mailtool. It has previously
been reported to Sun USA (bugID 1073107) but I gather there has been no
response from Sun so far.

Possible ways around the problem were:
1. Have a cron job which email user's if their mailbox is greater than some
   limit. The reasoning here being that the users eventually get fed up with
   root mailing them and do something about it.
2. Move /var/spool/mail to a bigger partition. Fine if you have lots of spare
   system disk space.
3. Link users inboxes to a user's ~/.inbox. Need to ensure that the ln in
   /var/spool/mail can never be deleted.
4. pjw@math46.sma.usna.navy.MIL suggested using a .forward file to move the
   mail: "The key point is that the -n prevents alias expansion by sendmail !

                .forward reads:

                "|/home/math3/pjw/bin/mvmail"

                The script mvmail is:

                #! /bin/sh
                #
                MAILTO=math46
                HOME=/home/math3/pjw
                #
                if [ `/bin/hostname` = $MAILTO ]; then
                        /bin/cat >> $HOME/.pjwmail
                else
                        /usr/lib/sendmail -n "pjw@${MAILTO}"
                fi
------------------------------------------------------------------------
Glenn Carver Email: glenn@atm.ch.cam.ac.uk
Atmospheric Chemistry Modelling Group Phone: (44-223) 336521
Chemistry Department Fax : (44-223) 336362
Cambridge University
UK
------------------------------------------------------------------------

Thanks to all who replied:
Jan-Ulf.Lundberg@eua.ericsson.se
pjw@math46.sma.usna.navy.mil
adam%bwnmr4@harvard.harvard.edu
ebumfr@ebu.ericsson.se
willy@cta.com
jeff@millie.loc.gov
Perry_Hutchison.Portland@xerox.com
se@comp.lancs.ac.uk
dunstan@gec-epl.co.uk
alf@lifac1.ens-cachan.fr
Bertrand.Decouty@irisa.fr
matt@wbst845e.xerox.com
beemer@sunnup.magdata.com
murillo%ncsi@uunet.uu.net
jones@bakmes.colorado.edu

--------- Original message -------------------

>From glenn Mon Nov 30 16:11:13 1992
To: sun-managers@eecs.nwu.edu
Subject: Problems with user's mailboxes

I've got a problem handling users mailboxes on /var/spool/mail that is
becoming urgent since the start of the new term and a large and sudden
increase in users.

Ever since upgrading to OW3, I've been plagued by not having enough
space in /var/spool/mail for users default mailboxes. With the version
of mailtool in OW2, I used to get users to have 'set nohold'
in their .mailrc file so that read messages would automatically be moved
to their private mbox. But now with OW3 version, this no longer happens,
Mailtool ignores the nohold variable but I don't know why. Is this a known
bug and is there a patch?

I realise that /usr/lib/Mailrc has 'set hold' but this is overridden by
nohold in the users private .mailrc file.

Increasing space on the /var/spool partition is NOT an option. I don't have
enough spare capacity.

If this is not a bug, how do others handle this problem?

All help appreciated and I will summarise.
 
Glenn Carver
Systems Adminstrator
Centre for Atmospheric Science
Cambridge University, UK.

----------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:23 CDT