This tip was submitted to the SearchEnterpriseLinux.com tip exchange by member KJ Rajesh. Please let other users
know how useful it is by rating it below.
Retrieving previous mails from the mail server if mailbox.pst is corrupted isn't easy. You should make a backup of mailbox.pst regularly. Just in case you forgot, here's my retrieval tip for use when your mail server runs on Linux and your mail client on Microsoft Outlook 2000. (I've used periods at the end of some sentences, but don't use them in your code!)
- Logon to mail server linsrv1.
- Go to var/spool/mail directory.
- If the mail has to be retrieved for an user named usr1 then do as stated below:
cp usr1 usr1bak
- Go to user's home directory and then go to the directory where mailbox.pst of the user is kept (Personal Folder). If the user name is usr1 and the directory where mailbox.pst file is kept is outlook, inside the home directory then:
mv mailbox.pst mail1.pst (Use the number for safety.)
- Now, restore user's mailbox.pst file from backup.
cp mailbox.pst /home/usr1/outlook/mailbox.pst
- Change owner and group of the copied file using chown and chgrp command.
- Now log in to Widows server as usr1 and open Outlook.
- Click Send/Retrieve
- Close Outlook and open its Properties. Choose Internet Mail, then properties and uncheck the checkbox in Outlook's Advance Properties (where it says: "Leave a copy of the messages on server").
- Then, open Outlook, and click Send/Retrieve.
- Go to mail server linsrv1 and go /var/spool/mail directory and do as follows:
cp usr1bak usr1
Choose owner and group of the user's file.
- Now in Windows open outlook and click Send/Retrieve.
- Finally, close Outlook, and remember to again check the checkbox in Outlook's Advance Properties ("Leave a copy of the messages on server").