How to rebuild email database?

I need to rebuild email databases on an Xserve running Mac Server OS 10.6.8. Any ideas?

late answer.. but for anyone else searching.
Server Admin has an option, but I would download mailbfr.
If you install mailbfr:
You can run rebuild a single user
     sudo mailbfr -m user
Or reconstruct the entire database (often necessary when single user rebuild doesn't solve)
     sudo mailbfr -f

Similar Messages

  • How to rebuild CAD database or Fix Corrupt Database

    If you have any issue where one side of the Database is corrupt and replication isn't working properly. Here are the steps that you can follow
    1. Confirm the NIC configurations on both servers before proceeding.
    2. Stop exiting replication connection by doing the following:
    To shut down Directory Services replication:
    Follow this procedure on each Directory Services server. If one server is already down, restart it and then perform this procedure.
    i. Open a command window and change folders to the following location:
    C:\Program Files\Cisco\Desktop\bin
    This is the default location.
    ii. At the prompt, type
    LDAPUtil /C <IP address>
    where <IP address> is the IP address of this server. Directory Services replication is shut down.
    3. On the PC hosting the primary database, stop the Cisco Desktop LDAP Monitor.
    4. Remove all contents from the files repl.log and repl.log.lock from the \Cisco\Desktop\database directory.
    5. Delete all files in the \Cisco\Desktop\logs\replica directory.
    6. Open a command window on the primary database computer.
    7. Change directories to Cisco\Desktop\bin (the drive and exact location of this folder depends on where the service was installed).
    8. In the Cisco\Desktop\bin directory, type the command:
    slapcat -f slapd.conf -l backup.ldif -c
    and press Enter.
    A file called backup.ldif is generated.
    9. Copy the backup.ldif file to the computer on which the secondary LDAP service is installed, into the Cisco\Desktop\bin folder.
    10. On the PC hosting the secondary database, stop the Cisco Desktop LDAP Monitor.
    11. Rename the existing folder Cisco\Desktop\database to Cisco\Desktop\old_database.
    12. Create a new folder called Cisco\Desktop\database.
    13. Copy DB_CONFIG and all files with a *.dat extension from the old_database folder to the database folder.
    14. In the database folder, create an empty file called rep.log.
    15. Open a command window on the secondary database computer.
    16. Change directories to Cisco\Desktop\bin (the drive and exact location of this folder depends on where the service was installed).
    17. In the Cisco\Desktop\bin directory, type the command:
    slapadd -f slapd.conf -l backup.ldif -c
    and press Enter.
    18. Type exit and press Enter to close the DOS window.
    19. Restart the Cisco Desktop LDAP Monitor on the secondary computer.
    20. Restart the Cisco Desktop LDAP Monitor on the primary computer.
    Run PostInstall on B to setup the replication again.
    Monitor the taskmgr to make sure that the slurpd.exe and slapd.exe are running and that there are no .rej files in the replica folder.
    Following steps you can use to identify if there is any Replication issue on the CAD Database:
    Stop the cad services on both sides of the system. (Cisco Desktop LDAP Monitor Service, Sync)
    Clear all the files that end in .rej from the replica folder (\Program Files\Cisco\Desktop\log\replica) 
    Restart CAD server A, then restart CAD server B and monitor the replica folder. If there is any new .rej files generated it will mean that the corruption of the LDAP db is still in the system and stage two will need to be completed.

    Abu Hadee,
    While you are here talking about the LDAP - why have you disabled Anonymous binding to the LDAP in CAD with ICM 8.5.2?
    We used to be able to use the free LDAP browser to examine the LDAP and export it for various reasons - bulk checking, saving into spreadsheets for "as is" documentation and so on.
    I recently tried to look at the LDAP on a customer's install and anonymous binding was not allowed. Any reason why this was removed? And when can we have it back?
    Regards,
    Geoff

  • ITunes forgets my CD files...how do I rebuild tune database? - Revisited

    Hi:
    I tried follwoing your advice.
    I can do the Ctrl-A to select all songs in the iTunes libary.
    I can right-click and select Delete,
    but when I do, I do not get the 3 options that you mentioned
    (Cancel, Keep Files, and Move To Recycle Bin)
    I get a dialog box stating:
    Are you sure you want to remove the selcted songs from your iTunes library?
    These songs will also be remove from any iPod or iPhone which synchronizes with your iTunes library.
    Why am I not getting the options you stated above ?
    I have seen you oprions on a Mac at best Buy, but I am running an HP laptop under Vista Home Premium.
    Then has a Remove or Cancel button to be clicked.
    If I follow through with the above, will it wipe out my music library ?
    How do I go about rebuilding the databse ?
    Thank you
    DaleB
    HP dv6500z laptop Windows Vista
    ==========================================================================
    Toocan
    Posts: 54
    From: Gauteng, South Africa
    Registered: Jul 23, 2008
    Re: iTunes forgets my CD files...how do I rebuild tune database?
    Posted: Aug 17, 2008 10:27 PM in response to: DaleB Reply Email
    Sorry DaleB, I have redone my library so many times, I forgot about this prompt. Just click 'yes'/'remove' to that question.
    Reloading the library will only make your iPod resync again, thats all.
    Intel Windows XP Pro P4, 3.4GHz, 3GB RAM, XP SP3 - iPod 80GB Classic
    ===========================================================================
    DaleB
    Posts: 145
    Registered: Jan 18, 2006
    Re: iTunes forgets my CD files...how do I rebuild tune database?
    Posted: Aug 18, 2008 4:02 AM in response to: Toocan Reply Email
    Hi:
    You tell me to click "Yes" / "Remove" when prompted by iTunes with
    "Are you sure you want to remove the selcted songs from your iTunes library?"
    but when I do, I do not get the 3 options that you mentioned
    (Cancel, Keep Files, and Move To Recycle Bin) ?
    Thank you
    DaleB
    ==============================================================================
    DaleB
    Posts: 145
    Registered: Jan 18, 2006
    Re: iTunes forgets my CD files...how do I rebuild tune database?
    Posted: Aug 18, 2008 4:13 AM in response to: Toocan Reply Email
    Hi:
    A related issue.
    I made a copy (backup ?) of the Music folder in Windows Vista Home Premium 32-bit OS, to my Desktop. If something corrupts the Music in iTunes, will this be a "good enough" backup to be able to restore the music by moving it back into the Music folder, or will soemthing be missing ?
    Thanx !
    DaleB
    ==============================================================================

    Hi:
    I did not move them arounsd outsice of iTunes.
    I copied & pasetd them in iTunes, but in some cases, they became subfolders.
    e.g., I may have a main folder in iTunes called "Rolling Stones", and subfolder iteled after their Greatest Hits album "Hot Rocks". Initially,
    Hot Rocks was a folder at the same level as Rolling Stones. Thenm I create a subfolder within Rollng Stones and then copied and pasted all of the MP3 files from the main folder (Hot Rocks) into the subfolder (Hot Rocks), and then deleted the main folder (Hot Rocks). But, iTunes now tells me it can find the songs. The Apple guy at best Buy showed me how to delete the current database without deleting the actual tunes, and then rebuild the database, all in a few mouse clicks. But, this was on a Mac...I do not know if iTunes for Windows has the same menu features as the Mac version. I just forgot the steps that he went through.
    DaleB

  • How to configure email Alerts in OEM Cloud 12c for Database Servers up/down

    Hi everybody,
    How to configure email Alerts in OEM Cloud 12c for Database Servers up/down status?
    Regards,
    Miguel Vega

    Hi Miguel Vega,
    Information regarding the notifications:
    ==============================
    Configuring notification rules in 12c is different from earlier releases.
    The concept and function of notification rules has been replaced with a two-tier system consisting of Incident Rules and Incident Rule Sets :
    1. Incident Rules: Operate at the lowest level granularity (on discrete events) and performs the same role as notification rules from earlier releases.
    By using incident rules, you can automate the response to incoming incidents and their updates.
    A rule contains a set of automated actions to be taken on specific events, incidents or problems.
    The actions taken are for example : sending e-mails, creating incidents, updating incidents, and creating tickets.
    2. Incident Rule Set: A rule set is a collection of rules that applies to a common set of objects, for example, targets, jobs, and templates.
    To help you to achieve the Notification Rules configuration, refer those notes :
    How To Configure Notification Rules in 12C Enterprise Manager Cloud Control ? Doc ID 1368036.1
    EM12c How to Add and Configure Email Addresses to EM Administrators and Update the Notification Schedule ?Doc ID 1368262.1
    EM12c How to Subscribe or Unsubscribe for Email Notification for an Incident Rule Set ?Doc ID 1389460.1
    EM 12c How to Configure Notifications for Job Executions ? Doc ID 1386816.1
    Best Regards,
    Venkat

  • TS3276 how do i rebuild the database when starting up Mail version 5.2?

    Having real problems with Mail. Sent a large attachment earlier today which is now in a 'Recovered Message' folder. Since then I can't send or receive any emails from any account, ie BT Yahoo, via Mail, although I can do this from the internet at BT Yahoo. A friend suggested 'rebuilding the database' by holding down certain keys at launch of Mail. Will this work and if so what are the keys to hold down?
    Many thanks

    You can rebuild your mailbox by selecting the mailbox and then selecting the menu item "Mailbox >> Rebuild".
    You can optimize your mailbox by "vacuuming" the databases too (huge improvement). Open Termina.app and use:
    */usr/bin/sqlite3 ~/Library/Mail/Envelope\ Index vacuum*
    Personally, I do it with AppleScript:
    *tell application "System Events"*
    *set mailIsRunning to (name of processes) contains "Mail"*
    *end tell*
    *if mailIsRunning then tell application "Mail" to quit*
    *do shell script "/usr/bin/sqlite3 ~/Library/Mail/'Envelope Index' vacuum"*
    *if mailIsRunning then tell application "Mail" to activate*
    Message was edited by: J D McIninch

  • I have iphoto 5.0.4  My computer crashed while trying to quit iphoto and when I rebooted my albums and organized folders had all disapeared.  All my photos are still there but how do I retrieve my folders and albums?  I tried rebuilding the database

    My computer crashed while quiting iphoto.  When I rebooted my albums and folders had disappeared.  How do I get them back?  I tried rebuilding the database to no avail.  I am using iphoto 5...
    Thank you community!

    Most simple solution: restore from your back up.
    Other than that, try Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • If my master database got crashed how will rebuild it?

    Hi DBA'S,
    If
    my master database got crashed how will rebuild it?
    Please provide me a scenario based answer if  it is possible.

    You would find below article more interactive
    http://www.codeproject.com/Tips/537811/Rebuilding-Master-Database-in-SQL-Server?
    Please post question which you seem difficult its very easy question and you would have found lot of article on net. If you are preparing for interview read the MSDN document, download sql server express or enterprise evaluation(both are free)  install
    it and try rebuilding master database your self
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How to transfer my old email database to new computer

    I just bought new Macbook Pro and want to transfer my old email database from my old Macbook Air to this new Macbook Pro without using migration assistant. I don't want all content transfer but only email database.

    I could not find the Database of Mail, where is exactly mail database located in Mac Hard drive, do we have to unhide like windows?

  • How to save old email database, and make a new one

    can anybody please lead me to a direction sheet for saving your old email database, making a new one, and then importing the old messages into the new database?
    thanks in advance

    I have been trying to figure out why my mac mail will start to down load, and then it stops. I have 50 messages that i'm trying to POP and it start out fine, then after 10 or so messages it stops. i have tried to delete the messages from the server to see if there is some specific message that is causing problems to no success.
    so now i'm trying to just remove the old Messages and start a new mail data file from scratch. then move the old messages into it, that is if it can be done.

  • What is the name of Mail's email database

    What is the name of the file for the Mail's database? Is it located in the User Library?
    I have many duplicates in the email database that are not in Contacts. So this must be a different database? Emails take forever to auto complete.
    If I delete this file, will the application automatically rebuild it using contacts? I have over 1800 contacts.
    Thanks, Ted

    Ernie, I appear to have two address files. One is called AddressBook-v22.abcddb and the other AddressBook-v22.abcddb. But they are in two different folders that hold all of their associated files like metadata. In other words, two databases.
    The dates on all files are recent in both folders. Are the two databases required because one if the iCloud database and the other Daylite? Why such a strange setup?
    When I open Contacts, I have "All on My Mac", "Daylite -- All Contacts" and then "iCloud". Can I not configure Contacts to use only iCloud or All on My Mac? Perhaps this would speed up the search on the nearly 2,000 record for each database.
    I configured the address and calendar that lives on this computer as primary and it is backed up to iCloud. Daylite accesses the iCloud integrating its data to iCloud and then back to Contacts/Calendar.
    Barnie, I deleted the file MailRecents-v4.abcdmr. But the slow down continues. The problem appears to reside with the Contacts data. As I start typing a name in the email address field, it takes five to 7 seconds to list suggestions. And most of the suggestions contain exactly the same information repeated 2 to 3 times (duplicates).
    I routinely dedupe the Contacts file with the dedupe function. It usually finds 50 or more.
    (As a side note, I think CardDav and CalDav are works in progress. Either that, or third party applications like Daylite have not figured out how to integrate with CardDav and CalDav properly at this time.)
    Any suggestions for modifying the configuration to get better performance?

  • How to use query-database() function in transformation?

    Hi All,
    How to use query-database() function in transformation?
    It is giving four fields but if i write select query in sqlquery field it is saying select node is not found....
    plz help me out
    Regards
    Pavankumar
    Edited by: [email protected] on Jul 29, 2009 2:49 AM

    Hi,
    To answer your query:-
    http://abhishek-soablog.blogspot.com/2008/08/orclquery-database.html
    Cheers,
    Abhi...

  • How to set Email Body in srw.add_parameter(myPlist,'MESSAGE'....

    Hi, i have created following procedure to send email using event driven Publishing API,
    it works fine, i have using "message" and "body" in add_parameter ,but it send email with no body/message,blank email body.
    Please help out how to set email body....
    im using
    - AS 10g(10.1.2)
    - Windows Server 2003
    --procedure
    CREATE OR REPLACE PROCEDURE testemail
    is
    myPlist SRW_PARAMLIST;
    myIdent SRW.Job_Ident;
    myStatus SRW.Status_Record;
    BEGIN
    --srw.start_debugging;
    myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
    srw.add_parameter(myPlist,'GATEWAY','http://myserver:7778/reports/rwservlet');
    srw.add_parameter(myPlist,'SERVER','myrepserver');
    srw.add_parameter(myPlist,'REPORT','D:\Reports\abc.rdf');
    srw.add_parameter(myPlist,'USERID','abc/xyz@mydb');
    srw.add_parameter(myPlist,'DESTYPE','mail');
    srw.add_parameter(myPlist,'DESFORMAT','PDF');
    srw.add_parameter(myPlist,'DESNAME','[email protected]');
    srw.add_parameter(myPlist,'SUBJECT','Test Mail');
    srw.add_parameter(myPlist,'MESSAGE','This is test email');
    srw.add_parameter(myPlist,'FROM','[email protected]');
    myIdent := srw.run_report(myPlist);
    myStatus := srw.report_status(myIdent);
    --srw.stop_debugging;
    end;
    /

    1. Current work flow :-In web site the user have to register themselves in the web site and enters his details along with user id, password and email id. Once user
    is registered then he will login with his user id and password. The user id is picked from login control and that set in “SPWeb.CurrentUser” as user id and system uses "Membership.ValidateUser" method to Authenticate user for login. 
    2. New Requirement: we would like to facilitate the user to login with Email id as well as user id. 
    Problem: 
    We replaced "Membership.ValidateUser" method to our own method to Authenticate user with email id/user id and password. 
    When user is login with user id and password it is working successfully but in the case of email id and password –“the email id is picked from user control and set as
    "HttpContext.Current.User.Identity.Name" but we are not getting “SPWeb.CurrentUser” and it shows null value.” 
    We are able to get user id from database using email id of user. Please help us how we can set user id in "SPContext.Current.Web.CurrentUser".
    Mohan Prakash

  • TC HDD deleted (OMG)- how to rebuild my iphoto library?

    Hi folks,
    days ago I realized that my HDD inside this TC had a severe problem that had to be solved. However in the end I deleted this HDD just to make in run again. UHHH! Fortunately I did not reformat the drive.
    I could find most of these files by using "Data rescue 4" - but: How could I rebuild my iphoto library? Is there any tool available?  Data rescue created many many folders including all photos I've ever had on my system, not only those which were stored by iPhoto. Any way to find out, which should be kept?
    And how to rebuild my itunes library?
    iPhoto 9.6.
    iTunes 12.0.1.26
    Yosemite 10.10.1

    The photos are available (they seem not to be damaged!), but they are located in different folders. How to manage?
    An iPhoto Library is a complex database. You have retrieved the photos, but not the database files, and even if you could retrieve them, they would point to the original filenames in the original folders. The same goes for your iTunes library.
    If you cannot restore the original libraries /Mediatheken,  you can only create new libraries and add the photos, folder by folder, and recreate your events and albums. Then rate the photos again and delete the photos you do not want.

  • Owb92 demo: How to configure workflow database link?

    Hi,
    I follow the doc for owb92 demo, but got error while deploying the wh_proc_loc. The error is as follows. How do configure workflow database link on owb? Thanks.
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link ORCL.US.ORACLE.COM@WB_LK_LD_OLAP. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-06550: line 1, column 7:
    PLS-00201: identifier '[email protected]@WB_LK_LD_OLAP' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    Have you checked whether none of the specified errors applies?
    - The user needs the "EXECUTE ANY PROCEDURE" privilege
    - OWB Runtime available, this could mean several things:
    ......* runtime repository unavailable (as in not installed?... unlikely)
    ......* runtime platform service unavailable --> try running service_doctor.sql in directory <your OWB home>\owb\rtp\sql\
    Good luck, Patrick

  • How to create citadel database and link it to an existing project library programatically?

    hi,
    does anyone knows how to create citadel database progarmatically and linking it with my project library programatically?
    samriddh sarbalhi
    [email protected]

    hi,
    i have designed an application having four security levels like administrators, engineers, operators & guests.
    now i want that whenever the guest logins in my application, windows components on the desktop will not be accessible to him means he can only view my application but he will not be able to view start menu on the task bar of the windows page or any icon on the desktop.
    please tell me how to accomplish it progarmatically using labview.
    the appropriate response will be highly appriciable.
    thanks
    samriddh sarbalhi
    [email protected]

Maybe you are looking for

  • How to create a template for a Workflow

    I have created a workflow that has couple of dataflows inside it. Now, I need to create another 20 workflows which have the similar logic to that of the first workflow, except for couple of changes such as the source file, etc. Instead of creating th

  • HT201304 How can I purchase an app without a credit card?

    How can I purchase an app without a credit card?

  • Error while executing the utl_mail package

    Hi All, I am executing the below package, to test whether the utl_mail package is working or not....basically I want to write a plsql program to send email to the specific users whenever there is ddl event on the database. SQL> exec sys.utl_mail.send

  • Delete database in unix

    Hi, We have a database DEVDB1 and We do not need it anymore. I want to delete it and all the files related to it. Is there a process to follow or a command line to do it? aside from using OUI deinstall? because i can not run gui windows. Can I just r

  • How can I have pages 2 - 12 different from page 1 using Page Layout?

    I am following your suggestion re Page Layout mode. I designed text boxes for page 1 but the header for pages 2 - 12 is smaller. This is actually the only difference. But when I attempted to make the text box for the header smaller on page 2, it made