Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th September 2008, 02:26 AM
gundark Offline
Registered User
 
Join Date: Mar 2006
Location: Denver
Age: 31
Posts: 143
sendmail? i think problem?

Ok I need some help, this one may cause some laughing, and I encourage it.

I have fedora running our office, yea it owns the office. My boss is a packrat and that includes emails. his spool /var/spool/mail/rharvey is over 2 gigs and as you can imagine that causes problems. I set his silly computer to archive them on his computer and delete them off my server, but its not. The other computers in the office performed this function great reduced them all to under 1mb, his will not. So can anyone tell me if there is a manual way to delete a large chunk of his 8600 emails directly from the spool, I need to keep the new emails.
__________________
<--Registered User? I can quit any time I want!!!
Dell Inspiron 1525n F17 2.0ghz centrino
"Hi, my name is Sean Morrison and I am a recovering Windows user, I have been windows free sense Late 2005. and currently am on the Fedora 17 patch."
Reply With Quote
  #2  
Old 24th September 2008, 06:15 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
well, since the mail file is a simple text file, you could always VI it, but good luck getting that into memory

I don't use sendmail, but postfix with Maildir format. However, if you post a sampling of the mail file, enough to cover 3 or 4 emails, (with private data removed, of course), it may not be too difficult to throw together a perl/python script that will strip away the ones you don't want. Or, you could look on the web to see if a tool already exists.

davidj
Reply With Quote
  #3  
Old 24th September 2008, 03:21 PM
briantan Offline
Registered User
 
Join Date: Jun 2008
Posts: 715
Try mutt. (yum install mutt)

Assuming that you want to delete by date.

Code:
# su - rharvey 
# mutt
od  - sort by date
d - hold down 'd' key and let the mails delete...
q - when done deleting
Hope this helps.
Reply With Quote
  #4  
Old 9th October 2008, 02:06 AM
gundark Offline
Registered User
 
Join Date: Mar 2006
Location: Denver
Age: 31
Posts: 143
By the way this worked so perfect thank you very much!
__________________
<--Registered User? I can quit any time I want!!!
Dell Inspiron 1525n F17 2.0ghz centrino
"Hi, my name is Sean Morrison and I am a recovering Windows user, I have been windows free sense Late 2005. and currently am on the Fedora 17 patch."
Reply With Quote
Reply

Tags
problem, sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail problem please help shallowz Using Fedora 5 27th June 2007 06:01 PM
php with sendmail problem! chiku31 Using Fedora 7 3rd August 2005 02:40 AM
Sendmail problem jpolachak Using Fedora 5 27th April 2005 11:49 PM


Current GMT-time: 18:28 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat