Sponsored Content
Full Discussion: I need delete old mailbox
Top Forums Shell Programming and Scripting I need delete old mailbox Post 302394408 by jcordova on Thursday 11th of February 2010 10:00:37 AM
Old 02-11-2010
I need delete old mailbox

HI guys,

I used my server linux how server to send and receive mails, but my mailbox now are so big and I need delete old mails, I found a program in the web called "expired_mail", but i found some problem with this porgram because delete some files mailbox "big problem"

Somebody know another form to delete ald mail from my mailbox?

Help...please...My disk space is to small.

Bests Regard
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mailbox file format

Does anyone know where can I find information about UNIX mailbox files' organization? I am willing to develop a file-mailbox-compliant mail agent, but for doing so I need that information. (1 Reply)
Discussion started by: exile
1 Replies

2. UNIX for Dummies Questions & Answers

Delete Mailbox

Hi!! Where can i delete or find the *.mbox files in unix??? Please help me!! (3 Replies)
Discussion started by: Juergen1234
3 Replies

3. UNIX for Dummies Questions & Answers

Mailbox Nightmares!

I would like to migrate my current system's mailboxes to mail folders and i'm currently running exim! Anyone help with a new mail server and the migration to the one? (1 Reply)
Discussion started by: enzophite
1 Replies

4. Linux

root mailbox problem

Hi, I have a linux box which works as an smtp server. Past few months I am facing a problem, all the mails which my local lan users send to the outside world, all such mail gets bounced to root's mailbox. Also I have found that the mails which get bounced to the root's mailbox are mostly... (3 Replies)
Discussion started by: RajaRC
3 Replies

5. UNIX for Dummies Questions & Answers

Tell UW-Imap to read /var/mail/mailbox ??

Hi, I've got UW-IMAP installed on Gentoo. I'm using EXIM as the transfer agent. EXIM is working fine (I think)... all incoming mail - external and internal goes to /var/mail/username file. I can verifiy this by reading this file directly with nano. Also, IMAPd is running. It lets me login... (2 Replies)
Discussion started by: d11wtq
2 Replies

6. Shell Programming and Scripting

Extract all attachments from unix mailbox file

Hi guys, I wondering if someone already wrote a script for this, it looks easy for the first shot but I would say it's a bit advanced. I want to extract all my email attachments from /var/mail/username (Unix mail format) + from my local mails (Maildir format) to a directory with the original... (4 Replies)
Discussion started by: raynor
4 Replies

7. Solaris

How can I edit the mailbox manually

I use gmail to POP my account because of the spamfilter. From time to time I receive an error message "Connection timed out: There may be a problem with the settings you added. Ple..." after this I am no longer able to retrieve my mails because of the blocked session: "... (1 Reply)
Discussion started by: rolandk
1 Replies

8. HP-UX

email mailbox output -

this was handy for me. stout goes to mail here. #mailbox pgm=mailbox USER1=`eval whoami` ... (2 Replies)
Discussion started by: Bill L.
2 Replies

9. UNIX for Advanced & Expert Users

Mailbox server performance issue

Hi. my company's mailbox server has severe performance issue on the days while full backup is running. There is huge I/O in another "mail replication process" for standby servers ( which runs all the time, every 15 mins. ). specs of servers :- RHEL5.5 , kernel -2.6.18-53.1.6.el5 , 8 core... (6 Replies)
Discussion started by: gauravsharma29
6 Replies

10. UNIX for Dummies Questions & Answers

Can't POP the mails off the server, the mailbox is corrupt!

First, please forgive me for my 2nd attempt to post in a Forum! And btw, the Code Tags tutorial has the fonts and the sizes, but when I am editing my post none of those fonts and sizes are not there! SCO OpenServer(TM) Release 5 (worf.xxx.com) Worf is our proxy & POP Server, and it... (7 Replies)
Discussion started by: Nancy L
7 Replies
CiderWebmail::Model::IMAPClient(3pm)			User Contributed Perl Documentation		      CiderWebmail::Model::IMAPClient(3pm)

NAME
CiderWebmail::Model::IMAPClient - Catalyst Model DESCRIPTION
Interface to the IMAP Server You should *really* read rfc3501 if you want to use this. METHODS
new() creates a new CiderWebmail::Model::IMAPClient _die_on_error($c) die if the last IMAP command sent to the server caused an error this sould be called after every command sent to the imap server. disconnect disconnect from IMAP Server, if connected separator($c) Returnes the folder separator folder_tree($c) Return all folders as hash-tree. folder_sort custom sort for folders always put INBOX on top select($c, { mailbox => $mailbox }) selects a folder message_count($c, { mailbox => $mailbox }) returnes the number of messages in a mailbox unseen_count($c, { mailbox => $mailbox }) returnes the number of unseen messages in a mailbox check_sort($sort) Checks if the given sort criteria is valid. get_folder_uids($c, { mailbox => $mailbox, sort => $sort, range => $range }) Returns a MessageSet object representing all UIDs in a mailbox The range option accepts a range of UIDs (for example 1:100 or 1:*), if you specify a range containing '*' the last (highest UID) message will always be returned. get_headers_hash($c, { uids => [qw/ 1 .. 10 /], sort => [qw/ date /], headers => [qw/ date subject /], mailbox => 'INBOX' }) returnes a array of hashes for messages in a mailbox o uids (arrayref): a list of uids (as described in RFC2060) to fetch o sort (arrayref): sort criteria (as described in RFC2060). for example: [ qw/ date / ] will sort by date, [ qw/ reverse date / ] will sort by reverse date o headers (arrayref, required): a list of mail-headers to fetch. o mailbox (required) search() searches a mailbox returns a arrayref containing a list of UIDs get_headers_string($c, { mailbox => $mailbox, uid => $uid }) returnes the fullheader of a message as a string all_headers($c, { mailbox => $mailbox, uid => $uid }) fetch all headers for a message and updates the local headercache get_headers($c, { mailbox => $mailbox }) fetch headers for a single message from the server or (if available) the local headercache mark_read($c, { mailbox => $mailbox, uid => $uid }) mark a messages as read mark_answered($c, { mailbox => $mailbox, uid => $uid }) mark a message as answered bodypart_as_string($c, { mailbox => $mailbox, uid => $uid, parts => [ $part ] }) fetches body part(s) of a message - part IDs according to the bodystructure of the message get_bodystructure($c, { mailbox => $mailbox, uid => $uid }) fetches bodystructure of a message. returns a Mail::IMAPClient::BodyStructure object - this might change when we parse this into something more usefull message_as_string($c, { mailbox => $mailbox, uid => $uid }) return a full message body as string delete_messages($c, { mailbox => $mailbox, uid => $uid }) delete message(s) form the server and expunge the mailbox append_message($c, { mailbox => $mailbox, message_text => $message_text }) low level method to append an RFC822-formatted message to a mailbox move_message($c, { mailbox => $mailbox, target_mailbox => $target_mailbox, uid => $uid }) Move a message to another mailbox create_mailbox($c, { mailbox => $mailbox, name => $name }) Create a subfolder delete_mailbox($c, { mailbox => $mailbox }) Delete a complete folder AUTHOR
Stefan Seifert and Mathias Reitinger <mathias.reitinger@loop0.org> LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-16 CiderWebmail::Model::IMAPClient(3pm)
All times are GMT -4. The time now is 11:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy