"Compaction Error" in Mail

I continue to get a "compaction error" when I try to delete emails/move them to my junk. It says my mailbox is too full and yet I can't delete anything because it is too full! I've tried all sorts of combinations of deleting, etc. Help please!

Hirschee's message of 30 May (and others previously) describes the same problem I am experiencing. It seems to arise when the Inbox gets too full.
I solved it once before by freeing up space on the hard disk, but that has not worked this time. It is nightmarish not being able to delete.
I have a POP account.
Any advice gratefully received.
Ben.
iBook dual USB 500MHz G3 Mac OS X (10.2.x) (10.2.8)
replying to -
Hello, and welcome to the Discussions.
What type of account do you have -- POP, IMAP or
.mac?
If IMAP (or .mac) what are your selections in Mail
Preferences/Accounts/Special Mailboxes (assumes you
are running Panther as your Profile reports)? It
appears you may be leaving deleted messages in the
Inbox?
Ernie
iBook dual USB 500MHz G3   Mac OS X (10.2.x)   (10.2.8)

Similar Messages

  • Compaction Error in Mail etc.

    Yesterday I started getting a compaction error from Mail when I tried to delete large portions of the Inbox. Although I could delete a few emails at a time and then quit. they were back after the next compaction. Today I tried to troubleshoot it, and I think I made it worse. Note: I was unaware of the "Rebuild" mailbox option.
    I eventually found this forum discussion and it sounded like my problem, so I tried it:
    With the Mail.app quit and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account).
    Move the account named folder to the Desktop. The account named folder contains all mailboxes associated with the account such as the account's Inbox and Sent mailbox.
    Launch Mail and a new account named folder will be created automatically by Mail within the Mail folder.
    I tried Mail again, and now I somehow had lots of junk mail back which I'd long since deleted, in my old Inbox. I was also missing some emails, from Jan. 2, 2007 'til now. I "got new mail", and it's only from Feb. 5 2007 'til now (1 month on the server.)
    The size of the old Inbox was 96.4 MB. After importing it, it's 87.2 MB. Would that account for the missing emails? If so, how do I get them back?
    iBook G4   Mac OS X (10.3.9)   22 GB free on hard drive

    Thanks for the response. Sorry that was so confusing.
    I found the "instructions to import the old mailboxes from the original POP account named folder moved to the Desktop" in another thread, and I'll be darned if I can find that thread again today.
    (This should be a bit more clear.)
    I removed the PoP account to the Desktop, opened mail so it recreated the Inbox, and imported the contents of the original PoP folder into mail.
    After importing, I had the imported Old Inbox containing deleted junk mail which somehow returned, and some emails were missing. I tried the same deletion of large blocks of mail that caused the error message in the original Inbox, only now it worked perfectly.
    > I "got new mail", and it's only from Feb. 5
    2007 'til now (1 month on the server.)
    This is for/within the old Inbox mailbox that was
    imported from the old account named folder moved to
    the Desktop?
    Nope, the new mail was in the original Inbox-mailbox, which was clear until I hit Shift-Command-N. The Old Inbox is in its own, newly-created-when-imported mailbox.
    Pre-import Old Inbox contents:
    content_index 3.7 MB
    content_index-(null)-303 2.4 MB
    content_index-localhost-257 2.6 MB
    content_index-localhost-393 948 KB
    Info.plist 4 KB
    mbox 86.4 MB
    tableofcontents 232 KB
    iBook   Mac OS X (10.3.9)  

  • Help! Mail Compaction Error - Lost Messages

    I had too many e-mails in my inbox and was selectively deleting e-mails. I got a message about a "compaction" error, and when my e-mail restarted, I had gone from 5,000 messages to 75.
    I need to keep many of the lost messages -- that's why I was selectively deleting them. This happened to me once before a year or two ago, and I know there's a way to get those messages back -- but I can't find my notes.
    Help! What do I do?

    Hello Emily.
    The folder it created contained a folder called
    "split_mailboxes" but nothing ever appeared in there.
    What did appear were files called "Sent Messages-0001",
    "Sent Messages-0002" etc...
    I believe these files are the parts into which the script breaks the troublesome mbox file within the Sent Messages.mbox package. They are in the same mbox format, just named differently, and are to be imported into Mail using the Other data format option. I believe the script should do this automatically, but apparently it didn't for some reason.
    In Mail, do File > Import Mailboxes, choose Other as the data format, and follow the instructions to import all these files. You'll have to select the folder that contains the files, rather than the files themselves, when telling Mail what to import.

  • More Lost Mail After Compacting Error

    I've seen this problem in a few posts, but still have not been able to get back the missing email. While deleting a bunch of messages, I got the compaction error message, and when I restarted the email, almost all the messages were gone. I followed the steps to put the inbox on the desktop and import it back to mail, but due to its absurdly large size (1.49G, and yes, I imagine that's the root of all my problems) the mail crashed. I tried using mboxbreaker, but got "Error-48 already an item with that name" and "Error- 2753 the variable spec is not defined". Any help will be much appreciated; while the vast majority of the lost messages should have been deleted long ago, there are some important personal things amongst the sludge.

    yeah, i just don't get it. the settings are exactly the same...i've made sure of that. connection doctor says everything is fine...and outmail mail works. but new mail just sits in my web based inbox, and mac mail never pulls it off...frustrating. out of all the problems i thought i might have when doing a fresh install, i didn't expect this one.
    jon.

  • Error message: Compaction error

    My mail program is not sending or receiving. Error message: "Compaction Error There was a failure while writing to the disc. The disc may be full. The mailbox will be returned to its state before compaction."

    What is your hard drive capacity and available free space?

  • Compaction error

    I had found a good discussion on this, but the fix didn't suit my situation. Because it had been considered answered by the original poster, I could not post a reply. So here we are with a new one.
    Now that disclaimer is done, a user has gotten this error message:
    Compaction Error. There was a failure while writing to the disk. The disk maybe full. The mailbox will be restored to its state before compaction.
    while trying to delete his email messages. The first thing I looked at was to view the file size of his inbox. It is a paltry 112Kb. Too small and there were only 3 messages in his inbox. I moved his mail folder to the top of his home directory and recreated his mail, however, any previous mails are missing. Here are the following steps taken to get to the point of missing email.
    He opens Mail
    He deletes message with big attachments
    He gets the compaction error
    He clicks OK
    He closes Mail
    He opens Mail
    There is no more mail
    The mail file size reduces dramatically.
    Is it at all possible to get this person's mail back?

    I would also like to mention that I have a copy of this Mail file on a CD so that I can still some how some way try to retrieve it. Most importantly, this is Panther and its Mail.
    Finally, there is 18G available free space on this computer with the mail problem, so drive space is not an issue. Because this was not my computer and this user can't give me as detailed information as size of box or number of messages before the crash, this is the best I can provide for details. Thanks all.

  • Compaction Error when saving to disk

    I desperatly need help. Everytime I open mail it is ok then it freezes when saving to disk - and error message "compaction error" cleared out folders still no luck. Please help!!!

    What is your hard drive capacity and available free space?

  • Compaction error since old issue of too little free space........

    I continue to have an issue with apple Mail. This started when I had too little hard drive free space. I have now upgraded and added an external hard drive with 2 partitions and have deleted a ton of stuff from my original 8.5gig hard drive to leave me with about 3gigs of free space. I began using Carbon Copy Cloner to back everything up on a weekly basis. Now my issue is that e-mails wont delete and mail will shut down occasionally. It will also give me "compaction errors" and revert the mailbox to original settings. I have tried all of Allan Sampsons suggestions, like going to Applications/Library/ etc. and moving the Inbox to my desktop. etc. etc. etc. ALL has not helped and is just seeming to compound the issue....things keep getting worse. Until just the last few days I was also having shut down issues and "sleep" issues. I ran disk utility and this seems to have been cleared up. I really believe that I have some corruption in my Mail program and would like to remove Mail and reinstall it fresh. Does anybody have any other suggestions? I think I can reinstall with no problem, but I'm unclear how to remove the old corrupted version of Mail. Could someone give me other suggestions or help me through the removal of the corrupted old Mail?

    Hello Alana.
    Deleting and re-installing the Mail.app rarely resolve this or any problem.
    All Mail.app data is stored in the Mail folder at Home > Library > Mail and all email account information and general Mail.app settings are stored in the Mail.app preference file.
    Since your hard drive did not have adequate free hard drive space required for OS X to function properly until recently, it sounds like some of your mailboxes (mbox files) have some corruption (not the application itself). If so, re-installing the Mail.app will not resolve this since no data is stored in the application.
    Quit Mail first and using the Finder, go to Home > Library > Mail. Move the entire Mail folder to the external hard drive for later use.
    Launch Mail and a new Mail folder and account named folders within will be created automatically. All mailboxes will be empty and any created rules and signatures will not be available along with Junk Mail "learned" settings lost but this will determine if the problem lies within the old Mail folder which I believe it does.
    If this allows the Mail.app to function properly, you can use the Import Mailboxes function to import selected mailboxes from within the old Mail folder moved to the external hard drive and I would import only a number of available mailboxes at one time since one or a number of the existing mailboxes probably have some corruption due to the lack of free hard drive space you had previously.

  • Error message :mail unable to remove deleted messages in the mailbox

    Hi,
    I am frequently getting this error message: Mail was unable to remove the deleted messages in the mailbox (my email address) on server "mail.mac.com".
    The server error encountered was: Error MFMessageErrorDomain 1028
    Sometimes the error message says that time has logged out. The thing is, most of the time, even though I get the error message, the deleted messages are being removed. Once or twice, I had to delete a couple of messages a few times. I've been getting the error message several times a day for the last couple of days.
    If anyone can enlighten me about why this happens, I would appreciate it.
    Thanks

    Well guys, all of you who are having this problem, it appears as if no one in the know is interested in giving any insight into why this happens. As of now, I haven't gotten the error message for a couple of days, so maybe it's something which resolved itself, something with the server. I would still like to know why this happens, and I wish those of you who still are having the problem could get some answers. It it's possible, go to an Apple Retail store, and see if you can talk to a genius about this issue.

  • Fixing :there was an error sending mail"

    I am using Adobe Reader 9 and Acrobat 8 Pro on a Lenovo, Windows 7, 64bit machine. When I right-click pdf files from my directories, and select "send", the file attaches itself to a new e-mail (from Outlook) and I can send - no issues. However, if I am viewing an open pdf and I select the e-mail or send icon from the toolbar, I get an error message (first box just says "error", then second box says "there was an error sending mail". I have Googled this issue and, in turn checked my Windows settings for Outlook, etc. I see no issues. I have run Adobe updates - still doesn't work. Any ideas?
    Thanks, Wayland

    What I'm trying to say, that when I update my App there an error appears

  • File to Mail Scenario- Error in Mail Adapter

    Hi,
    I am working on File to Mail Scenario- I am getting the below Error in Mail Adapter
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: no receiver address specified.
    Could any one please provide a solution
    Rgards,
    Varun

    Please recheck the mail adapter configuration.Check the url field.
    Ref for Mail adapter
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

  • Error in Mail Reciever Adpater --Configured IMAP4 protocol

    Hi All,
    Error in  Mail sender Cc:
    "exception caught during processing mail message; java.net.UnknownHostException: NZXXX.dknz.corp.net " .NZXXX.dknz.corp.net is the Mail Server.
    The Requirement is MAIL > FILE . Petch the Invoice(Attachment) from the Mail and save in the Network Folder(File)
    The Mail Sener CC is configured for IMAP4
    Mail server paramters:
    imap://NZXXX.dknz.corp.net NXINVOICES  where NXINVOICES  is the Inbox
    -There is no Subfolders
    -Login Credentials of the Mailbos is correct
    (cross checked the Microsoft Exchnage Server  : It is correct.)
    -Default XI paramters provided in Mail Sender Cc is of "File reciever and the URN namespace) which is correct.
    Any other Info : I did check the blog : error in mail adapter whilst using 'mail package' option , and help.sap .com:http://help.sap.com/saphelp_sm40/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm for PAYLODA SWAPBEAN, I have not added  in parameters in module configuration.There is only 1 1 module adapter:
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean .
    I am not able to figure out what  the mail Sender CC is red and throwing Error.Kindly help
    I need the same info in my requirement . The Scenario is THe Vendor sends the email with Invoices ( An Attachment) to a mail server and the attachment has to be moved to the network folder (File )
    Here , I used IMAP4 Protocol in MAil Sender CC
    I wanted to know is it required to use :localejbs/ AF_Modules/PayloadSwapBean and any module configuration to petch the attachment ?

    Hi All,
    My issue is resolved , These were few updates to resolve this issue
    1. The IMAPS was used  in  Mail Sender Adapter : imaps://10.192.101.16:993/Inbox
    *IP address of the Mail Server was got from the Admin )
    2. Ports : 143, 993  are opened for the Mail Server to access for XI SERver ( Raised an Ticket to open Ports of Mail server :NZTxxx.dknz.nzcorp.net)
    3. As the attachment was only in PDF : Added swapbean in Module tab as below :
    Process Sequesnce :
    -Make sure:  AF_Modules/PayloadSwapBean     Modul key :  TRANSFORM  is added before sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    -And under Module Configuration select  : TRANSFORM as Module Key and add >
    swap.keyName  Content-Disposition
    swap.keyName  Content-Description
    swap.keyValue   attachment;filename='MailAttachment-1.xml"
    swap.keyValue  MailAttachment-1
    -Save and activate , Check the Message status (Eaiting /System Error) in Message Monitoring ... .MAIL SENDER Adapter is up and running and file is placed in the network folder.
    Best Regards,
    Vara

  • Error through Mail

    Can we send errors through mails? How can I proceed?

    Use the FM "" SO_NEW_DOCUMENT_SEND_API1 ""
    It can be used to send mail (SAPMAIL)

  • Disk I/O errors with Mail only

    For the past few days, I have noticed Mail was running slowly - especially when starting.  Would take forever to start pulling in messages.  I looked for solutions and disabled non-essential accounts.  Then I took all 5 email accounts offline.  Still would get hangs and even beachballs today.
    I opened console and found that I was getting a LOT of disk1s2 I/O errors whenever Mail was opened.  The errors would continue until it was closed.
    Note: This is on a mid-2011 iMac.  Disk1s2 is the internal hard drive.  I now boot off an SSD thunderbolt.  The internal holds all data; applications live on the SSD.
    I restarted the computer.  Then opened console and waited.  No i/o errors.  I opened every other program in my dock and got one i/o error when Carbon Copy Cloner was first opened.  I closed everything and then opened Mail.  It hung as usual and the I/O errors started coming.  I eneded up with 40 I/O errors in the 10 minutes that Mail was opened and (eventually) closed.  This was with all accounts set to offline.
    I'm stumped.  Any thoughts???
    Thanks
    E
    About this Mac: OS 10.9.3 2.7 i5 32 gigs RAM (I use Photoshop a lot and decided to max out RAM).  Ram has been there for over 1 year.

    The hard drive is failing, or there is some other internal hardware fault.
    Back up all data on the drive immediately if you don't already have a current backup. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • Error: "javax.mail.MessagingException: 505 5.7.3 Client not Authenticated

    While trying to run a program to sent sms to mobile(with airtel connection)it shows the Error:
    "javax.mail.MessagingException: 505 5.7.3 Client was not Authenticated.
    If anyone knows how to resolve this problem please reply.
    The Code is as follows:
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class EmailSMS
    String TO;
    String FROM;
    String SUBJECT,TEXT,MAILHOST,LASTERROR;
    public static void main(String [] args) throws Exception
         EmailSMS SMS=new EmailSMS();
         SMS.setMailHost("kcsl.com");
         SMS.setTo("[email protected]");
         SMS.setFrom("[email protected]");
         SMS.setSubject("");
         SMS.setText("Hello World");
         boolean ret = SMS.send();
         if(ret){
              System.out.println("SMS was sent");
         else
              System.out.println("SMS was not sent"+SMS.getLastError());
    public EmailSMS()
         TO=null;
         FROM=null;
         SUBJECT=null;
         TEXT=null;
         LASTERROR="No methods calls";
    public void setTo(String to){TO=to;}
    public String getTo(){return TO;}
    public void setFrom (String from){FROM=from;}
    public String getFrom(){ return FROM;}
    public void setSubject(String subject){SUBJECT=subject;}
    public String getSubject(){return SUBJECT;}
    public void setText(String text){TEXT=text;}
    public void setMailHost(String host){MAILHOST=host;}
    public String getMailHost(){return MAILHOST;}
    public String getLastError(){return LASTERROR;}
    public boolean send()
         int maxLength;
         int msgLength;
         //Check to make sure that the parameters are correct
         if(TO.indexOf("mobile.att.net")>0)
              maxLength=140;
         else if(TO.indexOf("messaging.nextel.com")>0)
         {maxLength=280;}
         else if(TO.indexOf("messaging.sprintpcs.com")>0)
         {maxLength=100;}
         else maxLength=160;
         msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.length();
         if(msgLength>maxLength)
              LASTERROR="SMS length too long";
              return false;
         //set email properties
         Properties props=System.getProperties();
         if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST);}
         Session session=Session.getDefaultInstance(props,null);
         try{
              Message msg=new MimeMessage(session);
              if(FROM!=null){msg.setFrom(new InternetAddress(FROM));}
              else{msg.setFrom();}
              msg.setSubject(SUBJECT);
              msg.setText(TEXT);
              msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(TO,false));
              msg.setSentDate(new Date());
              Transport.send(msg);
              LASTERROR="Success";
              return true;
         catch(MessagingException max ){LASTERROR=max.getMessage();
         return false;}
    thanku

    Hi,
    it seems to me that you must authenticate with your smtp host. In order to do so, try following:
    While trying to run a program to sent sms to
    mobile(with airtel connection)it shows the Error:
    "javax.mail.MessagingException: 505 5.7.3 Client was
    not Authenticated.
    If anyone knows how to resolve this problem please
    reply.
    The Code is as follows:
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class EmailSMS
    String TO;
    String FROM;
    String SUBJECT,TEXT,MAILHOST,LASTERROR;
    public static void main(String [] args) throws
    Exception
         EmailSMS SMS=new EmailSMS();
         SMS.setMailHost("kcsl.com");
         SMS.setTo("[email protected]");
         SMS.setFrom("[email protected]");
         SMS.setSubject("");
         SMS.setText("Hello World");
         boolean ret = SMS.send();
         if(ret){
              System.out.println("SMS was sent");
         else
    System.out.println("SMS was not
    t sent"+SMS.getLastError());
    public EmailSMS()
         TO=null;
         FROM=null;
         SUBJECT=null;
         TEXT=null;
         LASTERROR="No methods calls";
    public void setTo(String to){TO=to;}
    public String getTo(){return TO;}
    public void setFrom (String from){FROM=from;}
    public String getFrom(){ return FROM;}
    public void setSubject(String
    subject){SUBJECT=subject;}
    public String getSubject(){return SUBJECT;}
    public void setText(String text){TEXT=text;}
    public void setMailHost(String host){MAILHOST=host;}
    public String getMailHost(){return MAILHOST;}
    public String getLastError(){return LASTERROR;}
    public boolean send()
         int maxLength;
         int msgLength;
         //Check to make sure that the parameters are correct
         if(TO.indexOf("mobile.att.net")>0)
              maxLength=140;
         else if(TO.indexOf("messaging.nextel.com")>0)
         {maxLength=280;}
         else if(TO.indexOf("messaging.sprintpcs.com")>0)
         {maxLength=100;}
         else maxLength=160;
         msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.leng
    h();
         if(msgLength>maxLength)
              LASTERROR="SMS length too long";
              return false;
         //set email properties
         Properties props=System.getProperties();
         if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST
    Session
    session=Session.getDefaultInstance(props,null);
         try{     // Get a Transport object to send e-mail
                   Transport bus = session.getTransport("smtp");
                   // Connect only once here
                   // Transport.send() disconnects after each send
                   bus.connect(host, username, password);
              Message msg=new MimeMessage(session);
    if(FROM!=null){msg.setFrom(new
    w InternetAddress(FROM));}
              else{msg.setFrom();}
              msg.setSubject(SUBJECT);
              msg.setText(TEXT);
              msg.setRecipients(Message.RecipientType.TO,InternetAd
    ress.parse(TO,false));
              msg.setSentDate(new Date());// Send message
              bus.send(msg);
              bus.close();
              LASTERROR="Success";
              return true;
    catch(MessagingException max
    ){LASTERROR=max.getMessage();
         return false;}
    thankuGood luck

Maybe you are looking for

  • How can I prevent two different profiles from interfering with one another?

    I have a serious profiles problem. I created a new profile with Profile Manager and then copied a well-established profile's contents into its directory before starting the new profile. Now, when I start either profile, it contains whatever tabs I ha

  • How to go back to a previous bit of code

    I've got a Zork like game that runs in a console, but I want the console to back to a previous bit of code when a user inserts unreconized statements if (Console.ReadLine() == "Clean up Room") // This is where the console is supposed to back to when

  • Double for loop

    Hi, I am trying to modify the content of a 2D for loop using a double for loop. But the result I am getting is always 0 in the loop i am getting... I am not really too sure of the problem. Can anyone help? Thanks Attachments: example2.vi ‏32 KB

  • FINEST debug logs for ftp adapter

    Hi All, How do I turn on the FINEST debug level for ftp adapter in SOA application. Thanks

  • Adoacorectl.sh time out when the computer is not connected to the network

    Hi, I successfully installed R12.1 on Oracle Linux 4.5 on my laptop. It worked perfectly when I connected the laptop to the network (router). However, if I disconnected the laptop from the network, I got all kinds of errors when running adstrtal.sh.