home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume22
/
mailclean
/
part01
/
README
< prev
next >
Wrap
Text File
|
1991-09-08
|
2KB
|
34 lines
Mailclean and mailsize comprise a mail spool management package for
unix. They restrict the amount of spool space available to users,
but do it in a nicer way than disk quota would do. They are very
configurable, taking parameters from a policy file.
Mailclean is intended to be run regularly from cron. It produces a
report on standard output. It can truncate oversize mailboxes,
saving old mail to a temporary file, and notifying the owner by mail.
It does this in a careful manner, using the same locking mechanism
as bin/mail and ucb/mail. It can also remove or report old mailboxes,
stray files, or unsafe files in the spool directory.
Mailsize is intended to be run by the user during login. It produces
a warning about the size of the mailbox, in the manner of ``quota''
or ``quota -v''. There are several ways to arrange for it to be run
during login. It can be added to a global profile or login file.
Alternatively, mailsize can replace ``quota'', either completely,
or only as the command invoked by ``login''.
The policy file, nominally /etc/policy, is a common location for
parameters, and is designed to be easily parsed by C programs or
shell scripts. It could be extended for other similar purposes.
These programs have so far only run under SunOS 4.1.1, but they should
be reasonably portable to other unix mail systems. If you need to
make source modifications for other systems, please send me the diffs,
and I will merge them with my source.
Gary Mills <mills@ccu.umanitoba.ca>
University of Manitoba
Winnipeg, Canada