LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-09-2004, 08:15 AM   #1
maharajg
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
auto delete old mails in sendmail - Pls Help


I have 250 email users, I am using sendmail. Is there any script which i can run from time to time to delete the users mails with a set period of time. Please help.
 
Old 11-09-2004, 11:12 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
You would have to go through each Mailbox or Maildir on the system and delete the appropriate emails in there.
 
Old 11-09-2004, 10:51 PM   #3
maharajg
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I am doing it like that now, but is there any easy way to do this, like a tool which will delete old mails automatically.
 
Old 11-10-2004, 11:21 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I do not know of one, but if I were you, I would just implement quotas on each users home directory. Why delete emails when you can just limit the space?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete mails thru cron job massoo Linux - General 0 01-12-2005 02:19 AM
Mail client internet suiter delete my mails marius7sv Linux - Software 0 09-07-2004 11:39 AM
Delete mails imsajjadali Red Hat 8 02-16-2004 12:13 AM
auto forwarding root mails farhan Linux - Networking 2 10-24-2003 01:00 PM
How do I auto delete mails from a specific domains/users? markng Linux - Security 4 05-02-2002 10:41 PM


All times are GMT -5. The time now is 05:55 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