LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-28-2002, 01:42 AM   #1
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Rep: Reputation: 15
quota in /var/spool/mail


How do i keep tab on the mail quota in /var/spool/mail and mail user when quota exceeds ??

Actually, i have disk quota on each user accts but this is in /home.

How do i set quota on the /var/spool/mail where each user
acct is onli 100mb maximum and mail them when quota exceeded ??

Last edited by chuck77; 05-28-2002 at 01:44 AM.
 
Old 05-29-2002, 02:37 AM   #2
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Original Poster
Rep: Reputation: 15
???
 
Old 05-29-2002, 03:08 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
you need to set quota on each partiton so set it up for var as you did for home
 
Old 05-29-2002, 03:46 AM   #4
chuck77
Member
 
Registered: Nov 2001
Location: singapore
Posts: 120

Original Poster
Rep: Reputation: 15
is it possible to email user a warning mail when quota is full ??

mark
 
Old 05-29-2002, 04:56 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
sure, open your favorite mail editor, type in the user's address and add the following to the body of the message:
Your account has exceeded it's 100mb limit.

And then maybe sign it...

You could set it up so when you are notified it sends the message to root, and then "bounce" the message to the user using maybe a filter with the user's name in it??? Just a guess though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Individual user's mail file in /var/spool/mail Swakoo Linux - General 1 09-07-2005 06:33 AM
/var/spool/mail/root mail message absalon Linux - General 1 07-04-2005 09:08 PM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 03:41 AM
Postfix $HOME/mail/inbox instead of /var/spool/mail ramram29 Linux - Software 3 08-08-2004 01:28 AM
?how to make mail go to diff place than /var/spool/mail ctejas Linux - General 0 06-24-2004 12:58 AM


All times are GMT -5. The time now is 09:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration