Tuesday, November 14, 2006

auxprop_plugin: sasldb

Ugh, kept getting these errors in my logs when running postfix with sasl / pam.d - mysql:

sql_select option missing
auxpropfunc error no mechanism available
_sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql


Sasl plugin error


Cyrus Sasl plugin error

Monday, November 13, 2006

Gentoo Headaches - Courier IMAP won't start

I love Gentoo but it can be a serious pain from time to time, like right now! I just ran into an issue that was caused by an init script gone awry, which was preventing courier-imapd and courier-pop3d from starting. Grr.

For those who may run into the same issues:


checkconfig || return 1
ebegin "Starting courier-pop3d"
/usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc --pidfile $PIDFILE
eend $?


http://forums.gentoo.org/viewtopic-t-308053-highlight-courierimap.html


http://www.mail-archive.com/gentoo-server@lists.gentoo.org/msg02052.html

Saturday, November 11, 2006

XSL PHP5 Segmentation Fault on Debian

I'm having some issues with PHP5's xsl modules on Debian, which would result in a segmentation fault if the xsl template was not found. If you are getting Apache segmentation faults on Debian and are using xsl and php, look to xsl!

Wednesday, November 08, 2006

Remote file syncronization

I'm trying to find a way to syncronize files across an insecure network automatically. Tsync looks good, unison rocks, and there are some more hardcore setups like drdb.

Can't seem to find a setup for tsync on debian, and unison requires an administrator to accept changes (which is good). I've even thought of sshfs, but I'm wary about its stability and the safety of the files involved.

My new plan:
Setup drone account with unencrypted dsa psk, and rsync over ssh. I think this will do it.

Tuesday, November 07, 2006

Autodir

Autodir is a gpl product that will automatically create home directories on the fly. Unfortunately, it wouldn't work for me. I tried for awhile last night to get it to work on my Debian ("etch") install, but no go. It kept on crashing whenever I would try to view a directory. Maybe it doesn't work with nss-mysql. It says it works with smtp daemons, but that wasn't happening. Oh well.

I was trying to do this so that courier could create maildirs for new virtual email addresses without human intervention. I ended up giving Apache sudo rights to create new home directories. Very much a work around and not very elegant, but I think it will be reliable.

Sunday, November 05, 2006

KJU Q

I really have to hand it to these guys, they have done such an awesome job with this Mac virtualization software package. With it, I've been able to install Debian AND Windows XP on my new Macbook. Its rock solid, and totally cool.

Unfortunately, their site is currently down:

Q kju Mac OS X Virtualization Software Package

Q is based on Qemu, the awesome emulator:

Wikipedia QEMU page

and the project homepage:

QEMU