LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2007, 12:03 AM   #1
nics
Member
 
Registered: Mar 2007
Posts: 31

Rep: Reputation: 15
sending mail when quota crosses soft limit


hello everyone!!
i 've written a script for sending mails to clients when their disk quota exceeds the soft limit..
but there is a problem. it sends mail to all including the subject but sends the body only to one and blank message to others.

this command is the main !!!
vi /tmp/email
ur mailbox is nearly full.
plz delete unnecessary mails from mailserver else ur account will be blocked
!wq

#find /var/spool/mail -size +5000k -exec mail -s "approaching account limit:mailbox nearly full" {}</tmp/email \;
(this command sends mail to all whose soft limit is exceeded but send the message body to all(only to one) ..
what can i do so that he message body appears in the mail of everyone????
any suggestions????
plzzzzzzzzzzz help!!!
 
Old 05-18-2007, 06:55 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I found the following web page by using Google.

http://www.computerhope.com/unix/umailx.htm

The interesting part is the carbon copy parameter. It says that if you want to carbon copy more than one person then you have to put the names in quotes. That may provide a clue to your situation.

On another note I can hardly believe that you would use that kiddie spelling in work. Your message "ur mailbox..." and "plz delete..." are incredibly immature and unprofessional.
 
Old 05-19-2007, 09:30 PM   #3
nics
Member
 
Registered: Mar 2007
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by stress_junkie
I found the following web page by using Google.

http://www.computerhope.com/unix/umailx.htm

The interesting part is the carbon copy parameter. It says that if you want to carbon copy more than one person then you have to put the names in quotes. That may provide a clue to your situation.

On another note I can hardly believe that you would use that kiddie spelling in work. Your message "ur mailbox..." and "plz delete..." are incredibly immature and unprofessional.

hello!!
your answer was so childish!!!! according to u should i type each and every one's mail id in quotes(thousands of them) in quotes!!!u must be kidding me!!!!!
besides that was just a specimen..u r focussing in other things rather than the main topic.....
anyways thanks
 
  


Reply

Tags
mail, quota, sending



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate soft limit & hard limit for quotas kennyghh SUSE / openSUSE 4 03-03-2011 12:49 PM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 11:13 AM
Location of mail storage once the quota has reached the limit jomy Linux - Enterprise 0 01-10-2005 07:09 AM
Users can't erase any e-mail by Horde (IMP) when reachs the quota hard limit. Why? Hackiller Linux - Software 2 04-02-2004 06:49 AM
Users can't erase any e-mail by Horde (IMP) when reachs the quota hard limit. Why? Hackiller Linux - General 1 04-02-2004 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration