- #OS X MAIL REBUILD HOW TO#
- #OS X MAIL REBUILD MANUAL#
- #OS X MAIL REBUILD FOR ANDROID#
- #OS X MAIL REBUILD WINDOWS#
However, most OS X Server mail servers aren’t so busy that you need to rotate daily, so setting it to 3-7 days gives you more detail to work with in the current log, rather than having to dig out archived logs. Should you want to reduce the number of entries, you can set the log level to notice, but will have to compromise on the log detail you get.Īnother factor is the time your log remains available before being rotated and archived or deleted. Truth is, unless you are running mail services with hundreds of thousands of messages a day, this will never be an issue. Some object to keeping info on all the time as they claim that this generates lots of log entries and load on your server. When running into real trouble, you might need even more detail which you get by setting the level to debug. This gives you plenty of information for troubleshooting the most common issues. Most of the time you want your log levels to be at info. The ones we care about are typically notice, info and debug The amount of information written into these logs depends on the logging level. The SMTP logs are written into /var/log/mail.log while the SPAM Filter logs we usually need are written into /Library/Logs/Mail/amavis.log IMAP, which is provided by Dovecot, tends to give very few issues nowadays (while this wasn’t true in the pre 10.6 era where Cyrus was used). When troubleshooting, most of the time we have to focus on SMTP and SPAM Filters. If you are curious, there are more logs here: These logs cover the SMTP, IMAP and SPAM Filter parts of mail services. The most important logs for a mail server are: This setup is well thought out for occasional log peeking through Server.app, but can make it a bit cumbersome for troubleshooting since different log levels are written into separate log files, rather than a single one. I'd like it if you chose to follow me on Twitter so I can let you know when fresh items are published here first on Computerworld.With OS X Server 5, Apple has further modified logging level and files for mail services. Got a story? Drop me a line via Twitter or in comments below and let me know. Google+? If you use social media and happen to be a Google+ user, why not join AppleHolic's Kool Aid Corner community and join the conversation as we pursue the spirit of the New Model Apple?
#OS X MAIL REBUILD HOW TO#
How to improve Mac performance: OS X Mavericks edition.OS X Mavericks tips: Control the information you share with apps.
#OS X MAIL REBUILD WINDOWS#
#OS X MAIL REBUILD FOR ANDROID#
A simple guide for Android to iPhone/iOS switchers.An A-Z guide to OS X Mavericks: Part two (N-Z).OS X: Taking better screenshots on a Mac.OS X Mavericks: 7 tips for the travelling Mac.In most cases, these two tips should solve most Mail problems - I hope they help resolve yours. If everything seems to be working correctly, you can now delete the copies of the "Envelope Index" files from your desktop. Launch Mail and the app will build new Envelope Index files - this can take a long time if there are numerous messages to go through. In ~/Library/Mail/V2/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm. (Before you actually delete the files, it makes sense to copy them to a folder on your desktop.) To get to your home Library folder, hold down the Option key, then in the Finder choose Go > Library.
#OS X MAIL REBUILD MANUAL#
If you are still having problems with Mail after following step one, try manual reindexing. Mail will automatically attempt to reindex your messages if it detects problems with the mailboxes, but sometimes a manual reindex is the best option. Manual reindexing of Mail messages is the only way to go if the application has become so unresponsive it barely works at all, search is not functioning correctly or the app won't launch. If you are still having issues, or Mail fails to launch, you should try a manual reindex. Now that you've completed these steps, work with Mail a little longer.
While the process takes place, you may experience system performance lag, as it can consume a lot of system resources and memory.Īnother caveat, if you use IMAP or Exchange with any of the accounts, the process will redownload every message from the server, so you'll use a lot of bandwidth. You must repeat this step for each one of your Mailboxes. If you have a large mailbox, you can expect the process to take a few hours. At the bottom of the pane choose the Rebuild option.
Launch Mail, select one of your mailboxes and click on the Mailbox menu. Rebuilding a Mailbox in Mail sound daunting but it really isn't.