It’s kind of like a sick version of that old tootsie roll commercial except instead of candy I envision male anatomy….which is really weird to say outloud if you think about it.
Wash your hands
Dovecot, outlook and slowness
So a few months ago I moved my website from one server to another. The new server thus far has been one that I’ve configured a lot of stuff on. Now setting up Apache can be fun but setting up a mail server is more like voodoo magic to me sometimes. Either way I got it running (much to my surprise) and thought all was well.
Flash forward a few months and I noticed that my Outlook 2007 is performing slowly. It seems to take forever to get email and at first I think it’s my fault (I have 10 years + of email in it) so I go about compacting my data files. No change. Then I try to good old telnet test…I telnet to my server and log in….it’s nice and fast and I don’t see a problem until I do a LIST and see that there are over 9650 emails on the server.
Anyways so I thought maybe the box to “don’t delete emails on server” had accidentally been checked in Outlook. Nope. So I start looking at the debug logs for dovecot and I notice it’s throwing an error about “file_dotlock_create permission denied /var/mail” over and over again and then is occurs to me. The permissions must not be right which is why the old emails aren’t being deleted because dovecot doesn’t have authorization to do so.
So I look in /var/mail and see my giant email file and that it’s owned by group other. I changed that to mail using “chgrp mail dennis” and bob’s your uncle. Super fast and now I don’t have a giant file in /var/mail.
You have to check out this apartment
It’s only 258sq feet and more impressive than my whole house. :0