Friday
31
Dec 2004

2004 in review

(5:19 pm) Tags: [Life]

Here it is, 2004 in a nutshell (ordered):

There were many other great times, and I can only think that 2005 will be just as good.
Things I want to get out of 2005 (not ordered):

Am I missing anything?

Popularity: 20%

Comments: (1)

Create a new virtual user (IMAP and POP3 only)

(1:08 pm) Tags: [Sysadmin]

To set up a virtual user (email) in the domain that was created (needs to be done as root)

mkdir /home/courier/domains/$DOMAIN/$USER
maildirmake /home/courier/domains/$DOMAIN/$USER/Maildir
chown -R courier:mail /home/courier/domains/$DOMAIN/$USER
userdb -f /etc/userdb/$DOMAIN $USER@$DOMAIN set uid=528 gid=528 home=/home/courier/domains/$DOMAIN/$USER mail=/home/courier/domains/$DOMAIN/$USER/Maildir
userdb -f /etc/userdb/$DOMAIN $ALIAS-$USER set uid=528 gid=528 home=/home/courier/domains/$DOMAIN/$USER mail=/home/courier/domains/$DOMAIN/$USER/Maildir
userdbpw -md5 | userdb -f /etc/userdb/$DOMAIN $ALIAS-$USER set imappw
userdbpw -md5 | userdb -f /etc/userdb/$DOMAIN $ALIAS-$USER set systempw
userdbpw -md5 | userdb -f /etc/userdb/$DOMAIN $ALIAS-$USER set poppw
userdbpw -md5 | userdb -f /etc/userdb/$DOMAIN $USER@$DOMAIN set imappw
userdbpw -md5 | userdb -f /etc/userdb/$DOMAIN $USER@$DOMAIN set systempw
userdbpw -md5 | userdb -f /etc/userdb/$DOMAIN $USER@$DOMAIN set poppw
ln -s /var/qmail/alias/.qmail-maildrop-virtual /var/qmail/alias/.qmail-$ALIAS-$USER
chmod 600 /var/qmail/alias/.qmail-$ALIAS-$USER
chown alias:nofiles /var/qmail/alias/.qmail-$ALIAS-$USER
makeuserdb
/etc/rc.d/init.d/courier-pop3 restart
/etc/rc.d/init.d/courier-imap restart
qmailctl restart
To test it all, send email to that user@domain, then login to webmail as $USER@$DOMAIN with the password, and you should be good to go.

A couple of notes for variable names:
$DOMAIN = full domain name (dotnot.org)
$ALIAS = lop of the TLD (dotnot)
$USER = username of the person (scott)

Popularity: 10%

Comments: (3)

Create a new domain

(1:05 pm) Tags: [Sysadmin]

Please note that this blog is my second memory, and this is intended for long-term storage. To set up a new domain for virtual mail accounts (domain must be new to the box, and please note that all of these commands need to be run as root):

echo $DOMAIN >> /var/qmail/control/rcpthosts
echo $DOMAIN:alias-$ALIAS >> /var/qmail/control/virtualdomains
ln -s /var/qmail/alias/.qmail-maildrop-virtual /var/qmail/alias/.qmail-$ALIAS-default
chmod 600 /var/qmail/alias/.qmail-$ALIAS-default
chown alias:nofiles /var/qmail/alias/.qmail-$ALIAS-default
mkdir /home/courier/domains/$DOMAIN
chown courier:mail /home/courier/domains/$DOMAIN
chmod 770 /home/courier/domains/$DOMAIN
qmailctl restart

A couple of notes for variable names:
$DOMAIN = full domain name (dotnot.org)
$ALIAS = lop of the TLD (dotnot)

Popularity: 11%

Comments: (0)
Wednesday
29
Dec 2004

iPod and earphones

(4:40 pm) Tags: [General]

I received an iPod Photo 60GB from my wonderful wife, and I have to say that I am impressed. Although I do not see myself EVER using the Photo functionality (I uploaded all my photos to try it out, and still don’t see the point, other than the obvious Grandma factor).

Based on a review from ipodlounge, I bought the Sony MDR-EX81SL earbuds from audiocubes. I was impressed that they shipped from Osaka, Japan to my door in 3 days, and it cost me almost nothing for shipping. Great experience, audiocubes is on the good list. Plugged the earbuds in, and my ears almost cried. The sound is beautiful compared to the now abyssmal earphones that ship with the iPod.

On another note, we tried out the Monster cable (1/8" to RCA) in the Honda, and the sound is great. Amanda also got an iPod for Christmas, and she loves it (using the lossless encoder) .

Popularity: 8%

Comments: (0)

Subversion Upgrade

(12:16 am) Tags: [Software, Site]

Upgraded the server to Subversion 1.1.2 tonight.

It went down something like this:

Subversion 1.1.2 upgrade
curl -O http://subversion.tigris.org/tarballs/subversion-1.1.2.tar.gz
tar zxf subversion-1.1.2.tar.gz
cd subversion-1.1.2
more README
more INSTALL
./configure \
–with-apxs=/usr/local/apache2/bin/apxs \
–with-java=/usr/local/java/jdk
make
sudo make install
/usr/local/apache2/bin/apachectl graceful

Once the server has restarted, make sure that it is back up. :) The process was painless, and the server was back up and running in no time.

Now it is time to upgrade the client machines. TortoiseSVN 1.1.2 for Windows boxen, and fink update svn for Mac OS X, as well as not forgetting scplugin.

I also cannot stress enough the importance of reading “The Book“.

If only WordPress upgrades were this easy…

Popularity: 14%

Comments: (0)
Tuesday
28
Dec 2004

Gallery

(1:54 pm) Tags: [Software]

Just my first impression on Gallery, the photo gallery software.

Powerful, relatively easy to set up (they expected me to have Unix knowledge). Lots and lots and lots of options about presentation, etc. I was able to set it up in about 10 minutes, and had the site I wanted in about 25 minutes. Overall, I had a positive experience, and I could recommend it to someone. It’s just not that super cool to say “It’s the best thing since sliced bread”, and I really didn’t try anything else. If you are looking for gallery software, the namesake is definetly one to check out.

Popularity: 8%

Comments: (0)

Fog Rolls in

(12:11 pm) Tags: [Life]

The fog rolls in,
slow and sure.

Hilltops watch it glide by,
until they become but a blur.

Peeking out from the mist,
I feel no leverage.
Lost in the moment,
and my caffienated beverage.

Scott Sanders
December 28, 2004

Popularity: 20%

Comments: (0)
Monday
27
Dec 2004

Firefox

(2:09 pm) Tags: [General]

I have been using Firefox for quite a while now, and I am just posting some notes about how/why I use it.

The whole security discussion is a red herring to me, since you have to consider that everything on the planet is NOT secure. But features like type-ahead find are really useful for productive web browsing (an oxymoron?).

As a web developer, extensions like the JavaScript Debugger, the Web Developer Toolbar, and ColorZilla, the built in color picker. I also use LiveHttpHeaders for debugging http communication between the client and server.

Today I just came across some tricks to make Firefox faster for broadband users. Done!

I actually changed Firefox to be the default browser on my Windows boxen, but still stick with Safari on the Mac as the default, even though Firefox is always open, as my primary development browser. This is mainly because Firefox insists on attaching Acrobat to downloaded .pdf files, instead of the more usable Preview, ala Safari.

I would say that Firefox is the best browser that I have used to date. Not really saying a lot though.

Popularity: 8%

Comments: (1)