Corrupt User Mailbox

Hello,
We're running 10.5.8 server and I'm wondering if anyone can provide me with a "magic bullet" to repair a single users mailbox.
What has happened is as of Sunday evening a particular IMAP user stopped receiving emails from the Apple Mail software client on their computer; however, their emails are still coming into the server and being delivered.
According to the server logs, every-time Apple Mail attempts to connect to grab the email from the server, a crash happens:
Oct 6 12:42:55 xxx imap[1046]: login: [xxx.xxx.xxx.xxx] emailuser CRAM-MD5 User logged in
Oct 6 12:42:56 xxx ReportCrash[2535]: Formulating crash report for process imapd[1046]
Oct 6 12:42:56 xxx master[257]: process 1046 exited, signaled to death by 10
Oct 6 12:42:56 xxx ReportCrash[2535]: Saved crashreport to /Library/Logs/CrashReporter/imapd2009-10-06-124255servername.crash using uid: 0 gid: 0, euid: 0 egid: 0
I don't care if I have to remake their user account or whatever else, but is there a way to obtain / even see (look at), the emails in the cyrus database (or wherever), or a way to repair the mailbox?
I am going to run a security check from the Disk Utility and also try some repair operations from mailfbr.
I do have backups of the person's email, but I'm afraid that I'll only be able to restore from before Sunday (before the corruption or problem happened).
Any advice?

Let me add some more information and updates.
First, let me apologize if my information may have been confusing, missing, or not in any particular order. If you need any more logs or errors, let me know.
I've attempted pretty much everything and am at the point of giving up and calling what's in the Cyrus database lost.
I used mailbfr to reconstruct the user. (sudo mailbfr -m username)
It ran and didn't fix the problem.
I used Disk Utility to repair permissions on the entire server.
It ran and didn't fix the problem.
I recreated the user and remade it with the same UID, didn't work.
I've tried a slew of recommendations from Apple Support until they finally ran out of ideas as well.
This email account is IMAP only and EVERY time Enterauge or Apple Mail attempts to access the account to retrieve email, it logs in and crashes 'imapd'.
Here is the system log snippet:
Oct 7 08:43:39 xxx ReportCrash[37947]: Formulating crash report for process imapd[37945]
Oct 7 08:43:40 xxx master[29321]: process 37945 exited, signaled to death by 10
Oct 7 08:43:40 xxx ReportCrash[37947]: Saved crashreport to /Library/Logs/CrashReporter/imapd2009-10-07-084338servername.crash using uid: 0 gid: 0, euid: 0 egid: 0
Here is the crash report:
Process: imapd [37946]
Path: /usr/bin/cyrus/bin/imapd
Identifier: imapd
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: master [29321]
Date/Time: 2009-10-07 08:43:51.601 -0500
OS Version: Mac OS X Server 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: 18286047-CCC9-43D8-8C47-810CAA733197
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: 0x000000000000000a, 0x000000000076c01c
Crashed Thread: 0
Thread 0 Crashed:
0 imapd 0x0005fb7c LEVEL + 116
1 imapd 0x000604cd recovery + 694
2 imapd 0x000612fa myopen + 683
3 imapd 0x0004f707 seen_open + 237
4 imapd 0x000257ec index_check + 1361
5 imapd 0x00025d1d index_newmailbox + 85
6 imapd 0x00006aaa cmd_select + 1837
7 imapd 0x0001ace6 cmdloop + 11114
8 imapd 0x0001c1b7 service_main + 1498
9 imapd 0x00002e73 main + 3502
10 imapd 0x00002006 start + 54
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x0076c01c ebx: 0x0005fb19 ecx: 0x00001fdc edx: 0x0076c01c
edi: 0x00000008 esi: 0x0076bfdc ebp: 0xbfffc638 esp: 0xbfffc620
ss: 0x0000001f efl: 0x00010206 eip: 0x0005fb7c cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x0076c01c
Binary Images:
0x1000 - 0x193fe7 +imapd ??? (???) <6aa76fb305429b8a9a951e38b0d1555e> /usr/bin/cyrus/bin/imapd
0x1c5000 - 0x1c8ffc libwrap.7.dylib ??? (???) <50d7ae449157ddf5d23f02335bbeef79> /usr/lib/libwrap.7.dylib
0x1f2000 - 0x1f4ffc apop.so ??? (???) <766caf65dc9f5f9bcbe61199e4f2b1c9> /usr/lib/sasl2/apop.so
0x1f8000 - 0x1fafff libanonymous.2.so ??? (???) <6f82b54cf4b3dcc54d869587822fabe0> /usr/lib/sasl2/libanonymous.2.so
0x680000 - 0x698fef dhx.so ??? (???) <11a839d053d86fd0954dbde269664829> /usr/lib/sasl2/dhx.so
0x6a7000 - 0x6affff digestmd5WebDAV.so ??? (???) <2e7da8ab9a66df48041df411f2782a5d> /usr/lib/sasl2/digestmd5WebDAV.so
0x6b3000 - 0x6b5ffc libcrammd5.2.so ??? (???) <743a682253ebc20e7924d59d40c37234> /usr/lib/sasl2/libcrammd5.2.so
0x6b9000 - 0x6c2ffb libdigestmd5.2.so ??? (???) <d32d0b8e19b220b12aa17763a855b117> /usr/lib/sasl2/libdigestmd5.2.so
0x6c6000 - 0x6cafff libgssapiv2.2.so ??? (???) <b96da80e1defbc63aaa94e8f6dc8258c> /usr/lib/sasl2/libgssapiv2.2.so
0x6d0000 - 0x6d2ffc login.so ??? (???) <527bfdf611824f51eb53af72eee229ee> /usr/lib/sasl2/login.so
0x6d6000 - 0x6ddffc libotp.2.so ??? (???) <b3b8b26344512cf0dfe11801f88100f5> /usr/lib/sasl2/libotp.2.so
0x6e7000 - 0x6e9ffc libplain.2.so ??? (???) <d09c4532b8c67a2812a9baf30e68a8b5> /usr/lib/sasl2/libplain.2.so
0x6ed000 - 0x6f2ffc libpps.so ??? (???) <73781ebf55905226f55c981226900b4a> /usr/lib/sasl2/libpps.so
0x6f8000 - 0x6fbfff mschapv2.so ??? (???) <4297c417dc3a3cdc0425c17fbd83dadb> /usr/lib/sasl2/mschapv2.so
0x6ff000 - 0x700fff pwauxprop.so ??? (???) <3a0d1da4ab0479229c5fc417ce9b8eab> /usr/lib/sasl2/pwauxprop.so
0x705000 - 0x707ffc shadow_auxprop.so ??? (???) <62df4f3a5e80970766a9279e7f164988> /usr/lib/sasl2/shadow_auxprop.so
0x70d000 - 0x70fffd smb_lm.so ??? (???) <ee37d0598278797989f2082561382a79> /usr/lib/sasl2/smb_lm.so
0x713000 - 0x715ffc smb_nt.so ??? (???) <137b4f2f169996cf068e5f3aaea9282a> /usr/lib/sasl2/smb_nt.so
0x719000 - 0x71cff0 smb_ntlmv2.so ??? (???) <d9ae91e9bc28f411d9fd59921165f137> /usr/lib/sasl2/smb_ntlmv2.so
0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> /usr/lib/dyld
0x914b3000 - 0x914f7feb com.apple.DirectoryService.PasswordServerFramework 3.0.4 (3.0.4) <45d0af6eed184b278990175527a0d3fa> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0x91710000 - 0x91717fe9 libgcc_s.1.dylib ??? (???) <a9ab135a5f81f6e345527df87f51bfc9> /usr/lib/libgcc_s.1.dylib
0x9182f000 - 0x9190ffff libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
0x91910000 - 0x919c0fff edu.mit.Kerberos 6.0.13 (6.0.13) <804bd1b3f08fb57396781f012006367c> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x91a3f000 - 0x91a43fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x92513000 - 0x9253efe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x925b7000 - 0x926eafe7 com.apple.CoreFoundation 6.5.7 (476.19) <a332c8f45529ee26d2e9c36d0c723bad> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x92e83000 - 0x93054ffb com.apple.security 5.0.5 (36371) <1f7f48b36bc90d114220cc81e4e4694f> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9482b000 - 0x94849ff3 com.apple.DirectoryService.Framework 3.5.6 (3.5.6) <daa1307737197c7757f44f16370249dc> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x95016000 - 0x95073ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x95086000 - 0x951bfff7 libicucore.A.dylib ??? (???) <dd8aa51c356e79ef8cdfa341a0d69f5b> /usr/lib/libicucore.A.dylib
0x95ebc000 - 0x95ef3fff com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x96826000 - 0x96835fff libsasl2.2.dylib ??? (???) <bb7971ca2f609c070f87786a93d1041e> /usr/lib/libsasl2.2.dylib
0x96b79000 - 0x96c2bffb libcrypto.0.9.7.dylib ??? (???) <9d714c92872a93dd127ea8556b2c8945> /usr/lib/libcrypto.0.9.7.dylib
0x96c4a000 - 0x96c68fff libresolv.9.dylib ??? (???) <a8018c42930596593ddf27f7c20fe7af> /usr/lib/libresolv.9.dylib
0x96cd0000 - 0x96cf4feb libssl.0.9.7.dylib ??? (???) <8084593b773bec8f2b9614fd23c5ed73> /usr/lib/libssl.0.9.7.dylib
0x96cf6000 - 0x96e5dff3 libSystem.B.dylib ??? (???) <ae47ca9b1686b065f8ac4d2de09cc432> /usr/lib/libSystem.B.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
At the very least I'm looking for a way to retrieve any emails sent from when this started (Sunday at 5:25 PM until Yesterday 4 PM), because email is still getting delivered fine to this mailbox, but I can't log in to retrieve the mail. What I did yesterday finally after 4 PM is setup the email address to forward to another mailbox, so at least this person is getting their emails.
Could it be a bad message inside the database? If so, how can someone delete a specific message in cyrus? and heck, even know which one to delete.
Lastly, I came up with a potential idea, but haven't fully researched yet the possibility. Looking to setup a brand new user, and copying all of the email in this particular user's email box (through a utility, maybe mailbfr if it can do that) to this new account. Is this possible? If so, how? Of course, I'll continue to research this possibility by looking at, god forbid, the manuals but asking just in case it's not documented or not documented well.
If that doesn't work, I'll recreate a new email account and just manually copy everything over that this user had before in her mailbox from her desktop computer since I kept everything locally there. I'd just lose any email sent to her between Sunday night and Tuesday evening if it comes to that.
Any advice or help would be greatly appreciated. Thank you.
-Jessee

Similar Messages

  • Deleting emails with a specific subject from a single user mailbox

    we are exchange 2007 on SP1. we do not have an edge server, only a hub server.
    A user mailbox was flooded with 11000 "Undeliverable:" emails in the last 2 days, the source being "DSA". I am still finding out why this has happened. As for now, I have set up a rule to silently drop all emails with this specific subject.
    now the user wanted our team to delete all of these 11000 emails from his mailbox.
    we gave the appropriate permission to the users mailbox by running the command
    Get-Mailbox -Identity “[email protected]” | Add-MailboxPermission -User [email protected] -AccessRights FullAccess -InheritanceType all
    Then I ran the below command
    Get-Mailbox -Identity “[email protected]” | Export-Mailbox -SubjectKeywords "Undeliverable:" -IncludeFolders "\Inbox" -StartDate "09/22/2014" -EndDate "09/23/2014" -DeleteContent -Confirm:$false
    The command ran for a while, showing it was deleting 19000 odd emails with the below summary
    [PS] C:\Windows\System32>Get-Mailbox -Identity "[email protected]" | Export-Mailb
    ox -SubjectKeywords "Undeliverable:" -IncludeFolders "\Inbox" -StartDate "09/22/
    2014" -EndDate "09/23/2014" -DeleteContent -Confirm:$false
    TargetMailbox                    :
    TargetServer                     :
    TargetDatabase                   :
    MailboxSize                      : 733800KB
    IsResourceMailbox                : False
    SIDUsedInMatch                   :
    SMTPProxies                      :
    SourceManager                    :
    SourceDirectReports              :
    SourcePublicDelegates            :
    SourcePublicDelegatesBL          :
    SourceAltRecipient               :
    SourceAltRecipientBL             :
    SourceDeliverAndRedirect         :
    MatchedTargetNTAccountDN         :
    IsMatchedNTAccountMailboxEnabled :
    MatchedContactsDNList            :
    TargetNTAccountDNToCreate        :
    TargetManager                    :
    TargetDirectReports              :
    TargetPublicDelegates            :
    TargetPublicDelegatesBL          :
    TargetAltRecipient               :
    TargetAltRecipientBL             :
    TargetDeliverAndRedirect         :
    Options                          : DeleteSourceContent
    SourceForestCredential           :
    TargetForestCredential           :
    TargetFolder                     :
    PSTFilePath                      :
    RsgMailboxGuid                   :
    RsgMailboxLegacyExchangeDN       :
    RsgMailboxDisplayName            :
    RsgDatabaseGuid                  :
    StandardMessagesDeleted          : 0
    AssociatedMessagesDeleted        : 0
    DumpsterMessagesDeleted          : 19020
    MoveType                         : DeleteOnly
    MoveStage                        : Completed
    StartTime                        : 9/23/2014 7:29:01 PM
    EndTime                          : 9/23/2014 7:32:19 PM
    StatusCode                       : 0
    StatusMessage                    : Messages have been deleted from the source m
                                       ailbox.
    ReportFile                       : C:\Program Files\Microsoft\Exchange Server\L
                                       ogging\MigrationLogs\export-Mailbox20140923-
                                       192900-8103154.xml
    However, when I open the user's mailbox all of the emails still exist. kindly help me understand where I am going wrong and how I can delete all these emails.
    Thank You
    Philip

    Are they still specifically in the Inbox?
    I was thinking that the account might have "Deny" permissions to the user's mailbox but it looks like it can access the mailbox and delete items.
    StandardMessagesDeleted          : 0
    AssociatedMessagesDeleted        : 0
    DumpsterMessagesDeleted         : 19020
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Mailbox Converted from Shared Mailbox to User Mailbox; Unable to log on using Outlook

    Hi,
    We set up Office 365  couple of weeks ago and set up a shared mailbox "sales". This didn't meet our needs as we wanted the users to be send email from the sales email box and have these email appear in the set items folder of the sales mailbox,
    not from the users mailbox.
    Therefore following some instructions, we used the shell to convert the mailbox to a user mailbox. Correctly, this email box now no longer appears in the list of shared mailboxes in the admin site, it appears in the user section.
    We have also successfully assigned this sales user a licence <label boxtype="Label" class="BOX-MainTertiary o365-ns-c LicenseProduct" for="sku0">Office 365 MidSize Business including of course </label>"<label
    boxtype="Label" class="BOX-MainBodyText" for="sku0_Service2">Exchange Online Plan 1".</label>
    However, when we try and add this email box into outlook, it fails, after requesting the password several times. We have checked the password by signing into webmail and this has no issue, it works correctly. We therefore have the correct password, but this
    conversion seems to have caused a problem?!<label boxtype="Label" class="BOX-MainBodyText" for="sku0_Service2"></label>
    The second issue is that the shared mailbox still appears within the users outlook as a shared mailbox, it hasn't removed itself. trying to right click and close complains it is associated with an email account, meaning it wants us to  remove the whole
    account and add it again? Surely if its no longer shared it should vanish?

    What you're trying to do will have its own problems because Outlook does not serve two masters well.  Trust me on this, trying to open two mailboxes simultaneously this way, rather than opening the mailbox as a second mailbox (which doesn't give you
    the Sent Items behavior you crave), will cause you plenty of other problems.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Corrupted User Accounts in Windows Vista 64 Home Premium?

    ***FYI I'm using my desktop.
    Toshiba Satellite L305-S5908
    Model #: PSLB8U-05202F
    Windows Vista 64
    So just today, I had accidently dropped my laptop. I was logged into my user account, and it completely froze a few moments after. I had to reboot it, and when I did, I could not log in to my user account at all! I would be able to type in the password, but once I hit ENTER, it turned blank with only the Windows Vista 64 background displaying. I went on safe mode, and surprisingly, I was able to log onto the user account.
    I have another user account (that I rarely use) that I could log on to safe mode as well. However on normal start-up, I was able to log in, but then it completely froze again. The second time I tried to log onto that user account, the computer completely froze when I was about to type in the password.
    From what Toshiba support told me, the User accounts must have been corrupted from the drop, and they told me to Google "How to fix corrupted user accounts". However, from research I am supposed to create a new user account but I cannot make a new one because I cannot log into any of the user accounts at all. (They cannot help me any further because my warranty expired.)
    So, I'm turning to you forum. How do I fix this?

    I deleted the bad user accounts, and saved their files into the new user account.
    The proper way to copy a profile is detailed here.
       Fix a corrupted user profile 
    I did Disk Check again, and it got past the previous stuck point, but it is now stuck on the 524373th free cluster. Should I make a new thread dealing with the new issue I have?
    I forgot to mention that it may be necessary to run chkdsk /r many times.
    No necessity for a new thread.
    ...seems like I have to pay for it?
    Yes, SpinRite costs money. But it's a good product and the circumstances may warrant it. It might come in handy for another drive in the future as well.
    In this case, you may prefer to purchase a new drive. It may turn out that you need a new drive in any case. Certainly, you should be prepared for that by having the recovery discs.
    -Jerry

  • Can not receive messages - user mailbox locked

    Suddenly my incoming messages stopped coming and a dialogue box appeard, saying: "The sending of password failed. The e-mail server (pop3) answered user mailbox locked."
    I've been in contact with my internet service provider and they found nothing wrong from their side. I can access my mail on the webmail and I can send email from my account.
    I've checked the way the server and the account is configured and everything seems to be ok and according to manuals from both the ISP and Thunderbird. How can I get may incoming mail working again? Hoping for help!

    Yes I asked. That was the first thing I did. And there's nothing wrong on the provider's side. They didn't lock the account and found it very unusual. They didn't know much about Thunderbird, however...
    But I got hands-on-help from my son yesterday and that might have (almost) solved it. Seems that Thunderbird can't have both IMAP and POP3 accounts running and there might have been something in this that disturbed the flow. He made a new inbox and things started to work again. But it's still not working 100 %.

  • Issue with a user mailbox.

    We're running exchange 2010 SP2 RU8. I have one particular user were I'm getting the following error:
    Cannot open mailbox /o=Org/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXSRV01/cn=Microsoft System Attendant.
    It was running the command 'Get-CalendarProcessing -Identity 'company.com/Users/<username> -ReadFromDomainController'.
    I've done some searches but the advice is all over the place. This user lives on a database with about 600 other users. This error only occurs on this particular users mailbox. The user can't access OWA as well.
    I've tried disconnecting and re-connecting but it gives the same error. Anyone have advice on what to do or try? Again the database itself is fine as all other users are working fine. 
    Thanks 

    Hi,
    Have you ever run any script to reset the permission before the issue firstly occurred?
    Thanks,
    Simon Wu
    TechNet Community Support

  • Can I filter out a corrupted user account and app as part of a migration?

    I am in the process of upgrading from Tiger to Leopard. I did an erase and install because of some issues with the old system, one being a corrupted user account. I am reluctant to use Migration Assistant because I don't want to bring that corrupted account over.
    I have read in some other posts that if you already have a user account with a certain name in Leopard and you try to bring over one with the same same from Tiger, it will not transfer. Is this correct? If that is so I would create a user account in Leopard with the same name as the corrupted account in Tiger and that would block it, right? The next question is what constitutes the user account name, is it the designated name, often the computer name or is it the short name, often the same as the designated name but run together if it is two words. I guess I could just duplicate both names the way they appear in Tiger. Will that do it?
    On a related note, is there any substantial difference between doing a simple upgrade on the one hand as opposed to an erase and install and then using migration assistant to bring everything over that way? I have a QT issue and along with the corrupted user account, I made the decision to use the erase and install option and essentially start from scratch. This, however, creates a lot of extra and perhaps unnecessary work. Would it help if I just deleted QT in Tiger so it couldn't be migrated?

    There is a Mac OS X 10.5 help topic that answers most of your questions. Unfortunately, it doesn't seem to be available online & obviously, you can't access it on your own Mac without Leopard already being installed -- a bit of a Catch-22!
    Anyway, below I have copied the text of that topic from my own Help Viewer. It lacks the formatting of the original, but I hope it will be of some use to you anyway.
    *Using Migration Assistant to transfer files from another Mac*
    If you need to transfer your files and important settings from an older Mac to a new one, and both computers use Mac OS X, you can use Migration Assistant.
    Before using Migration Assistant, make sure you have a FireWire cable to connect the two computers.
    NOTICE: If you experienced problems while using some files or applications on your old computer, you may not want to transfer those files and applications to your new computer. If you do, you may transfer corrupted data or incompatible files.
    To transfer files using Migration Assistant:
    1 On your new computer, open Migration Assistant, located in the Utilities folder in your Applications folder. Read the Introduction screen, and then click Continue.
    2 If a dialog appears, type your password, and then click OK.
    3 In the Migration Method screen, select “From another Mac,” and then click Continue.
    4 Connect a FireWire cable from your new Mac to your older Mac, and then click Continue.
    5 Follow the instructions in Migration Assistant to restart your older Mac and select the hard disk and user accounts from which you want to transfer. Then, select whether you want to transfer applications, files and folders, or your Library folder.
    NOTE: When you first open a transferred application on your new computer, you may need to reenter the application’s serial number or registration code.
    6 Select whether you want to use your old network, time zone, and sharing settings, and then click Transfer.
    When Migration Assistant is finished, click Quit.
    You can use Migration Assistant with a MacBook Air if both computers are connected to the same Ethernet or wireless network. See “MacBook Air: How to use Migration Assistant” at the Apple support website.

  • How to use Powershell to set delegate for user mailbox in Exchange 2010 and Office 365

    Hello,
    Can you please tell me if I can set delegate for user mailbox in Exchange 2010 or Office 365 using Powershell?
    If I can, then how can I do that? (which Powershell commands for setting the delegate?)
    Many thanks, and have a good day!

    Hi,
    If you wanted to add a delegate to possiblly a large number of users or you do this during mailbox provisioning. So the following script will use
    impersonation to access another users mailbox and add a delegate.
    $mbtoDelegate = "[email protected]"
    $delegatetoAdd = "[email protected]"
    $dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\1.0\Microsoft.Exchange.WebServices.dll"
    [void][Reflection.Assembly]::LoadFile($dllpath)
    $service = new-object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1)
    $windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
    $sidbind = "LDAP://<SID=" + $windowsIdentity.user.Value.ToString() + ">"
    $aceuser = [ADSI]$sidbind
    $service.AutodiscoverUrl($aceuser.mail.ToString())
    $service.ImpersonatedUserId = new-object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SmtpAddress,
    $mbtoDelegate);
    $mbMailbox = new-object Microsoft.Exchange.WebServices.Data.Mailbox($mbtoDelegate)
    $dgUser = new-object Microsoft.Exchange.WebServices.Data.DelegateUser($delegatetoAdd)
    $dgUser.ViewPrivateItems = $false
    $dgUser.ReceiveCopiesOfMeetingMessages = $false
    $dgUser.Permissions.CalendarFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Editor
    $dgUser.Permissions.InboxFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Reviewer
    $dgArray = new-object Microsoft.Exchange.WebServices.Data.DelegateUser[] 1
    $dgArray[0] = $dgUser
    $service.AddDelegates($mbMailbox, [Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope]::DelegatesAndMe, $dgArray);
    Hope this helps.

  • Maximum number of user mailboxes supported by single Exchange Database in 2007 / 2010 & 2013 ?

    What is the Maximum number of user mailboxes supported by single Exchange Database  in 2007 / 2010 & 2013 ?
    Aditya Mediratta

    Agree with Keith, there is no MB # limit, however there are practical concerns such as DB size and how that effects recoverability as well as performance.   In terms of extremes we had one major educational customer that had 35K Mailboxes in
    a single database so you can utilize a ridiculous # of mailboxes in a DB if desired.  IMO you are better off to keep the # of mailboxes to a reasonable level, i.e. no more than 250-500 mailboxes per DB
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003 -->
    2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • New User Mailbox not showing up in GAL - Created wrong?

    I have a strange issue that is causing me angst and making me argue with my network manager.  Here's the lowdown.  Please shed some light on it if you can.
    Every place I have worked prior to my current company I would do the following steps to create a new user (new employee).  In AD I would
    copy an existing user with the same/similar permissions, distro list membership, etc...  Then go into
    EMC and create a new mailbox for an existing user
    and link it to the new AD object I had just created.  This always worked for me.  Here it doesn't.  When I do it that way, the new user mailbox does not get added to the GAL.  If you go to
    All Users they show up.  I have read several articles about using cached mode and if I turn it off the user will show up.  Unfortunately most of our employees are in the field for long periods of time so we need to run in cached mode.
    The way the network manager wants them created (and this way works) is to create a new user mailbox for a
    new user in EMC which also creates the AD object.  Then I have to go back to AD and manually add the user to permissions groups, distro lists, add profile settings, etc...  Very tedious and manual process.  
    Can someone help me understand why doing it my way, which I have done for years on other networks, is not working here?  Since we are using cached mode do I have to create the user object and mailbox the way he does it?

    I believe the way you are doing it and the way he is doing it is doing exactly the same thing as far as when it shows up in the GAL.  The problem sounds like exactly what you said in that you are using cached mode which uses an Offline Address Book
    (OAB).  If you look in EMC under Organization Configuration/Mailbox/Offline Address Book, you will see the update schedule.  What happens is when you create the account it shows up in the address book right away however it only shows up in the OAB
    when that updater runs.  Even after that is done, the outlook client needs to go out and download the OAB file, which happens 24 hours from the time it last downloaded the OAB.  I'm not sure if there is a fix for your problem as it appears to be
    by design.  Perhaps your old company may have been running in online mode?  You may want to look at
    http://support.microsoft.com/kb/841273/en-us for more details.
    Q1: What is cached mode?
    A1: Cached mode is the new default configuration for Outlook. It provides an experience that is similar to the offline configuration in earlier versions of Outlook. When you are running in cached mode, your Exchange mailbox is synchronized to a local
    file (an .ost file), and the offline address list from your Exchange computer is synchronized to a collection of files (.oab files) on your client computer. Outlook directly accesses the .ost file and the .oab files on your hard disk instead of communicating
    directly with your server or servers. Therefore, network communication between Outlook and Exchange is significantly reduced.
    Q2: Why does cached mode generate an offline address book?
    A2: The offline address book  contains a set of all the properties of a user (such as e-mail addresses and names) that Outlook requires. With an offline address book, Outlook does not have to connect to the global catalog to resolve names, nor
    does it have to open a person’s details record. Instead, Outlook easily obtains this information from the local offline address book.
    Q5: How frequently is the offline address book updated on the Outlook client?
    A5: If left constantly running, Outlook in cached mode automatically updates the offline address book on the client every 24 hours. The 24-hour time period is measured from the time that the offline address book was last downloaded successfully. For
    example, if you complete an offline address book download at 09:00 today, Outlook will start the offline address book download the next day at approximately 09:00. Therefore, different people will receive updates at different, random times.
    Note The default setting on the Exchange computer is to generate an offline address book differential file every morning at 04:00. For a change that is made in Active Directory to reach the client computer, the following events must occur:
    The change must be picked up by the Exchange computer that generates the offline address book files. This can take several hours. At worst, it can take 24 hours. This variable will be referred to as "x."
    The Outlook clients must download the offline address book updates every 24 hours. This update can take several hours. At  worst, it can take 24 hours. This variable will be referred to as "y."
    The update reaches the client machines x+y hours later. It would be rare for a client to ever experience a 48-hour delay or more unless there were some Active Directory or public folder replication issues.

  • Exchange Server 2013: incoming messages are not delivered into user mailboxes occasionally

    Exchange Server 2013 CU1, two mailbox servers (DAG, only one mail database), two CAS servers (NLB cluster). Two Sendmail/CentOS-based SMTP relays route mail between Exchange servers and Internet (incoming mail is routed to NLB cluster name).
    Usually mail flow is OK: messages are sent and received normally. However, I've got several complains from different users. They state that occasionally they don't receive messages that were sent to them from outside. Tomorrow morning I've decided to
    investigate the issue.
    So, we have a message sent from Gmail account that was not delivered in user mailbox. It was received and routed to Exchange by Sendmail host:
    Jun 27 22:06:37 MX01 sendmail[12169]: r5RG6HC8012166: to=<USER_ADDRESS>, delay=00:00:19, xdelay=00:00:19, mailer=smtp, pri=124702, relay=NLB-FQDN [NLB-IP], dsn=2.0.0, stat=Sent (<CAHgK_sjEkj41htuVsutMP3XhgR5RRDs8-EgSC-UfHoaiHWFj=A@mail.gmail.com>
    [InternalId=13069585481819] Queued mail for delivery) 
    Running Get-MessageTrackingLog applet on the mailbox servers displayed the followed log entries for the message:
    DB Server #1:
        22:11:18 HAREDIRECT
        22:11:18 RECEIVE
        22:11:18 AGENTINFO
    DB Server #2:
        22:11:18 HARECEIVE
        22:12:44 HADISCARD
    So, we can see that the message was placed into shadow queues, but was NOT delivered into mailbox (no DELIVER status entries). Also pay attention to the timing. Time on all the servers is in sync, but Sendmail timestamp is 22:06, and Exchange timestamps
    are 5 minutes behind it.
    Today a message sent to the same address from the same Google mailbox was received by Exchange and placed into user mailbox with no glitches.
    We use Exchange antispam system activated on Exchange mailbox servers. Spam is never dropped silently. It is either returned to sender (SCL 9) or placed into quarantine mailbox (SCL 6 and above). I'm pretty sure that the lost message was not in the quarantine
    mailbox this morning, and the sender didn't receive any NDRs.
    Any ideas what to investigate next?

    Hi,
    Do you mean the emails are placed in the Shadow Redundancy queue?
    Shadow Redundancy
    http://technet.microsoft.com/en-us/library/dd351027(v=exchg.150).aspx
    Thanks,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Corrupt a Mailbox / mailbox database (exchange 2010)

    Is there a way out to corrupt a mailbox or database itself for lab testing in exchange 2010 ? 
    Aditya Mediratta

    Hi,
    Based on my knowledge, most corruptions are caused by MAPI clients that fail to update properties to the satisfaction of MRS. But I haven't found a direct method to corrupt a mailbox for a test. Your understanding will be appreciated.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Archive user mailbox when the user database near to limit

    Hello Dear,
    I have deployed a exchange server 2013 in my organization with dag solution.Also I have deployed another exchange server 2013 with only mailbox role for archiving user mail box.Now want to create a rule or a retention policy which is like as :-
    1.A user mailbox database size limit is 2 GB when mailbox size near to 1.5 GB mail will archive.
    Please suggest me or show me the way how can I do this ?
    Thanks and Regards
    Samiul Haq

    Hi There,
    Please use this KB to configure retention policies
    http://www.ntweekly.com/?p=9316
    And use this one to configure archiving
    http://www.ntweekly.com/?p=9339
    Cheers,
    Exchange Blog:
    www.ntweekly.com
    MCSA, MCSE, MCITP:SA, MCITP:EA, MCITP:Enterprise Messaging Administrator 2010,MCTS:Virtualization

  • How to get list of Users[MailBoxes] in Exchange Server 2013 by using EWS Managed API

    Hi all,
    I need list of Users exists in my Exchange server 2013 , i.e Mail Box Users login name.
    I was  created Full Access permissions of all users to Admin user account,  to access each user Mailbox programatically 
    i need the list of Mailboxes in exchange server .
    MailBox  mailbox = new MailBox("user");
    Please share your ideas

    Hi,
    We can run the following command in Exchange Management Shell to get all user mailboxes name and export it to a .csv file:
    Get-Mailbox -ResultSize Unlimited | Select Name,Alias,RecipientTypeDetails | Export-Csv c:\Users.csv
    If you want to retrieve the list of users by using EWS Managed API, I suggest you can ask a question in Exchange Development forum for more suggestion:
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
    Regards,
    Winnie Liang
    TechNet Community Support

  • User mailboxes have more server-side rule options then shared mailboxes?

    I was hoping to set up some server-side rules to keep a shared mailbox clean.  The goal was to have some rules to move incoming messages to specific folders based off words in the subject.  I opened the shared mailbox in OWA and found the action
    of moving the message to a folder was not available.  At first I figured that's an action that's only available in a client-side rule.  However, I then found that in my user mailbox that action is available server-side.  It would appear there
    are a number of other action that are available server side to user but not shared mailboxes.
    Anybody else notice this?  Is this a bug?
    Single Exchange 2013 SP1 server - nothing fancy.

    Hi,
    I have a test in my environment using Exchange 2013. We can use two methods to create rules in OWA. When I open shared mailbox via OWA to create rules, only one way is possible. I recommend you use this way to create rules in OWA and check the result. Here
    is the detailed steps for your reference.
    Click Setting icon (on the right corner) -> Options -> organize email -> New
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

Maybe you are looking for

  • Is their any limit on the number of column updates in a update statement!

    Hello All, Is their any limit on the number of columns to set in a single update statement.+ am using oracle 11g . example :- UPDATE FMLY SET as_comp1 = v_as_comp1 , as_comp2 = v_as_comp2, as_comp3 = v_as_comp3, as_comp4 = v_as_comp4 , as_comp5 = v_a

  • Print Out of Excise Invoice

    Hi all I have checked the posts on this issue My all the out put determination setting  of output type J1I0  ok, even  in VP01 i have set the default printer even then the i am not getting the printout of Excise Invoice in J1IP after executing  statu

  • Itunes on NAS and accessed on 2 laptops

    Hi All This is my first post...so please excuse any mistakes I have a NAS ... (Dlink DNS 320 Sharecenter) I have copied some of my CD's to this NAS, and renamed all the files and all is well There is 2 people (myself and my wife) who have 2 different

  • DTW - Journal Enrty Header- Fixed Exchage rate

    Hi Friends, The field "Fixed Exchange Rate" check box in JE. Is it POSSIBLE or NOT POSSIBLE  to update the value  OJDT (OrgCurr and TransRate) using the DTW. Regards, Rakesh N

  • USB Flash Drive Powered but Not Mounting

    I have two USB flash drives that refuse to mount on my 13" MacBook Pro running 10.6.7. The flash drive powers on, and blinks a bit. The drive shows up in Disk Utility but the volumes are listed generically (like disk1s2) rather than having their prop