LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2004, 11:10 AM   #1
bluekam786
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Unhappy E-mail deletion problem


At my workplace I have a Linux (Red Hat 7.2) server that handles all our e-mails using the Linux 'sendmail' utility. I want to set up a service on the server using a Unix shell script (I am really poor at this) by which old e-mails lying in the inboxes of some of the user accounts would be deleted automatically on a periodic basis(say 4 days from the date a particular e-mail was received). The catch here is that only those e-mails should be deleted that were received exactly 4 days ago and not all of them.
I am really stuck with this problem. If u guys have a script or a program that could perform this function, kindly send it to me or if u know a better way of doing this then please let me know. I would really, really appreciate.
Thanks!
 
Old 08-17-2004, 02:33 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

How are your e-mails stored?
 
  


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
IMAP Server (Mail Deletion) steve007 Linux - Newbie 1 08-03-2005 09:12 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
large file deletion problem cmdrfunk Linux - General 4 01-27-2005 11:21 AM
Problem with file-deletion after a while JohnWayne Linux - General 3 07-26-2004 12:57 PM
Mail Deletion Problems (Evolution) Odd_Bloke Linux - Newbie 1 09-14-2003 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration