LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 09-29-2003, 11:28 AM   #1
granatica
LQ Newbie
 
Registered: May 2003
Posts: 16

Rep: Reputation: 0
Script to Delete Old Mbox Mail


Hello,

I am looking for a script that will parse a user's mbox file and delete mail over 48 hours old. The basic premise is I have a spam box where all mail flagged as spam gets directed. The box is checked every so often to verify the validity of spam. Since this box fills up very fast I want to automatically delete messages 48 hours old.

Thanks,

Jason
 
Old 10-05-2003, 01:33 AM   #2
clacour
Member
 
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Rep: Reputation: 16
This is going to be light enough on information that I'm not sure it counts as an answer, but see if you can find a thing called "grepmail". I believe it works much like "grep" does, but rather than an individual line to search on, it uses an email as the basic unit.

Hope this helps,

CHL
 
Old 10-06-2003, 10:01 AM   #3
granatica
LQ Newbie
 
Registered: May 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Script to Delete Old Mbox Mail

Looks promising, thanks!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to delete mail based on date gquiring Linux - General 8 05-08-2013 09:24 AM
delete mail from qmail queue hamish Linux - Software 1 06-05-2005 02:18 PM
How to delete your mail....? vous Linux - Software 3 03-19-2005 09:37 AM
Delete root mail nepcw Red Hat 5 07-18-2004 01:01 PM
Postfix should do more than delete any incoming mail, right? icarus24 Linux - Networking 12 01-05-2004 09:11 PM


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