Migrating to SSO

We at JDI are moving to a project based working method. We decided to use the tools from Atlassian, since those tools seem to do what we require. We also run a number of internal tools, and all those together mean remembering about 6 different usernames and password.

We decided to give Crowd a try : SSO, with an option to integrate with custom applications. It uses SOAP internally, and SSO is managed with a domain cookie. About a day work, but now all Atlassian tools we use, our administration system and subversion are authenticating against crowd :-)

Posted in JDI | Leave a comment

We’re at Maildir now

As noted in this posting, we migrated to Maildir. It went relatively smooth, and faster then anticipated. I’ll be posting the code to the actual migration script (41 lines of PHP code), and the code code to the milter that temporary locks the mailbox (aboyt 150 lines of C actually written by me). This way, it reduced downtime to the actual time needed to do the conversion, instead of shutting down the whole MTA.

The source for the PHP script and milter are here.

Posted in JDI, Server | Leave a comment

Moving from mbox to maildir

I’ve decided that it’s time to move from mbox to Maildir. Mailboxes are getting larger every year, and so serverload continues to increase. During scheduled maintenance the end of March, I’m converting all mailboxes to Maildir format.

I’ve run into a number of issues during some preliminary tests :

- The conversion can’t hand the situation that mail get’s delivered during the conversion
- IMAP / POP mutations on the mailbox while converting screws up the conversion process.

The IMAP / POP3 part can be handled the simple way: Lock the user during the conversion, then re-enableĀ  user after the conversion is done. The incoming part is a more challenging issue : You don’t want to shutdown the mailserver during the while conversion. You can’t tell sendmail to delay mail during a certain time by default.

To solve this, I’ve written a milter (see www.milter.org), so that during the RCPT TO phase, it checks the user’s homedir for a .maildisable file, and echo’s the first line of that file if it exists with a 4xx error. That solves the problem :-)

Posted in JDI, Server | 1 Comment

Moved to VPS

Today I’ve move all my personal stuff to a VPS. It let’s me run my own software (although I manage our company’s web server, I can now run several services I’m not otherwise able to use).

Email wil follow today, and so will be a restoration of all the personal project pages. I’ve lost some source due to a disk crash (andĀ  the stupid assumption that I’ve had backups), but I’ll put that info on the projectpages themselves.

Posted in Personal | Leave a comment

Finding a new editor

We, at JDI, are used to working in vi. When we started 11 years ago, most IDE’s wheren’t existant, and with 3 people with their own OS and configuration developing locally wasn’t an option. So we just shelled in, vim’ed all of our files, and created nice things that way.

Today, when the compay has grown, this isn’t an option anymore. People want an IDE, mainly for code completion and debugging. We run multiple OS’ses (Windows, Linux, Mac OS), so everything windows-only isn’t an option.

I’ve looked at three options :

Zend Studio for Eclipse
Eclipse
Netbeans

Zend studio is buggy, especially when it comes to Remote Systems. Not to mentions it’s slow as hell when it comes to importing a remote project. Eclipse suffers from the same problems, and NetBeans is missing remote SFTP support.

I’m trying Netbeans with MacFusion at the moment

Posted in JDI | Leave a comment