I recently upgraded Dovecot (1.1x to 1.2(.8)) on FreeBSD (7.2) and had a slew of issues.
Postfix wasn’t delivering messages
This was because Dovecot wasn’t starting and Postfix couldn’t get the SASL connection that it needed. The fix was to upgrade/install both dovecot and dovecot-sieve ( I use Dovecot’s deliver as my Local Delivery Agent (LDA) ). [...]
18
2010
Upgraded Dovecot on FreeBSD and Sieve stopped working (Fixed)
17
2009
one .profile to rule them all
I got sick of having to try to copy and make major modifications for each environment that I was in. As a consultant I sometimes have to deal with ridiculous policy driven constraints as to what software I can or cannot use. Sometimes it’s simply ignorance (like when the CTO of a company said that I could only script in a “…standard shell like BASH…” nothing obscure like KSH) but what ever the case it’s a pain when you’ve grown accustom to something as personal as your shell settings. Now I have a solution.
7
2009
Shell tricks: eval helps make dynamic scripting rock.
If you write shell scripts of any significant size, eval is a very good command to understand (well). It can make some code simpler, other code obsolete, and yet other code it makes possible that would not be otherwise.
What is eval?
According to the 2004 IEEE Std. 1003.1:
eval constructs commands by concatenating arguments.
The example given on [...]
24
2009
why I don’t write BASH scripts
I’m constantly hounded by GNU/Linux newbies GNUbies about many things relative to scripting; Why don’t I use gawk for my awk scripts; Why don’t I use ‘[[’ instead of ‘[’ for my condition tests in shell scripts; Why don’t I use BASH for my shell scripts?. Such questions rarely come from seasoned UNIX professionals who have worked on multiple flavors of Unix. Explaining the way things work in the real world requires that the audience has an attention span beyond that of the averageI’m_pissed_at_society_and_microsoft_sucks-linux-neophyte.
19
2009
15″ MacBook Pro battery is failing after just 9.5 months (damn you Apple)
Recently Apple’s been hyping their Laptops and the great battery life. Well today After 9.5 months the battery in my (new Aluminum Uni-Body) 15″ MacBook Pro is crashing. By crashing I mean that it’s only lasting for about 1/3 of the advertised 5 – 6 hours of life on a full charge.
13
2009
Snow Leopard is pretty “cool” but still doesn’t have some things I’d like to see
I’ve been using Snow Leopard for over a week now. I’m quite pleased with the performance boost (it actually makes the first core2 based MacMinis usable) and don’t really mind the absence of feature creep/bloat. It looks like this was a targeted effort and Apple seems to have hit the mark quite aptly.
Unfortunately there are some things that still aren’t quite right for me with OS X that I’d hoped would have been addressed with the bring forth of this frosted feline. MuSmartlkjkjdkdjjIt
24
2009
WebOS 1.1.0 released (oooh yay…sort of)
The good folks over a Palm have seen fit to bless the world with a significant update to their Web Operating System. There are plenty of goodies in this update for corporate users and according to PreCentral.net, plenty of secret (??) goodies for everyone else as well. All of this is good news for the Palm devout. There are, however, a few things that are not in this much lauded upgrade that have been over due since 1.0.2.
12
2009
CAWKLib
CAWK (Cawk’s Another Web Kit) is a web framework written in AWK that is soon to be under development. When we started working on it we discovered that we needed a better way to manage file inclusions than the ‘-f’ command line option. We decided to write our own pre-processor and package it with the custom libraries that we were developing.
27
2009
LUA_PATH on OSX
Earlier today I was playing around with Lua and luarocks on my laptop (which happens to be a MacBook Pro). I thought maybe I’d try re-writing telechat in Lua with the LuaSocket package. After I’d installed Lua 5.1.4 via mac ports along with luarocks:
$ sudo port -v install lua luarocks
I installed LuaSocket.
$ sudo luarocks install [...]
27
2009
Adventures in Lua (I)
After studying and working with Lua for about a year now, I find it to be a very powerful and innovative language. While the syntax is not my favorite, overall it’s fun to work with. Recently I started using the standalone lua interpreter for some general purpose scripting which has revealed to me a few key reasons that Lua (the language) or at least lua (the interpreter) won’t be readily employed for system scripting on a large scale anytime soon.