How to get Exchange 2003 and OS X Snow Leopard to play nice

Posted on August 3rd, 2010 by Alex Bilbie

At the University of Lincoln we are using Exchange 2003 without IMAP enabled for our email and calendar server.

Snow Leopard has fantastic Exchange integration…if you’re using Exchange 2007+ and until recently there hasn’t been a way (short of using Microsoft Entourage – yuck!) to get your email and calendars in a native program.

Until now!

Enter DavMail.

DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the internet or behind a firewall through Outlook Web Access

Here are some instructions on how to get it setup for staff at University of Lincoln. For students, come September you’ll access your email through Google Mail which is already Snow Leopard friendly. Note these instructions will be similar for Linux users.

First download DavMail for OS X from http://sourceforge.net/projects/davmail/files/

Install the program and setup your settings like this:

DavMail settings

Note: the OWA (Exchange) URL should be: https://email.lincoln.ac.uk/exchange/

Email

Download and install Mozilla Thunderbird from http://www.mozillamessaging.com/en-US/thunderbird/

Setup a manual account with the following settings (click for larger images):

Obviously replace my credentials with yours.

Calendars

Open iCal Preferences, click accounts, then the + to create a new CalDav account.

Ensure the settings look like so:

Again replace my credentials with yours

The server path should read /principals/users/YOUR-NAME@lincoln.ac.uk

Address Book

I’ve not got address book set up yet but when I have I’ll post instructions here

Compile PHP5 MySQL extension from source on RHEL5

Posted on July 6th, 2010 by Alex Bilbie

I spend far too long search for this each time I have to do it

  1. cd ~
  2. Download the PHP source for the version your using (php -i to get version)
  3. tar -xzf php-source.tar.gz
  4. cd php-source/ext/mysql
  5. sudo phpize ./
  6. sudo ./configure –with-zlib-dir=/usr/include –with-mysql-sock=/var/lib/mysql/mysql.sock –with-libdir=lib64 –with-mysql=/usr/bin
  7. make
  8. make install

Temporary fix for WordPress 3 agressive HTML filtering

Posted on July 1st, 2010 by Alex Bilbie

If you’re having problems posting flash content (such as YouTube videos) into posts and pages under WordPress 3 and until the unfiltered_mu plugin has been updated then here is a fix you can use.

Open /wp-includes/kses.php and add these array items to the $allowedposttags array (around line 43):

	'embed' => array(
		'width' => array(),
		'height' => array(),
		'id' => array(),
		'align' => array(),
		'src' => array(),
		'FlashVars' => array(),
		'quality' => array(),
		'bgcolor' => array(),
		'name' => array(),
		'allowScriptAccess' => array(),
		'allowFullScreen' => array(),
		'type' => array(),
		'pluginpage' => array()
	),
	'object' => array(
		'width' => array(),
		'height' => array(),
		'id' => array(),
		'align' => array()
	),
	'param' => array(
		'name' => array(),
		'value' => array(),
	),