Monday, April 28, 2008

Happy birthday Anthea


Sorry for not calling I have been flat out with work, then home to more work... lovely, but it pays the bills I'll call tomorrow I promise.
In other news Anne has started holding onto stuff and sorta standing for a second before Mummy catches her, gonna post a picture to my flickr now. Oh yeah I got flickr and youtube , and facebook . Yay I am (cringe) web 2.0.
Well I am beyond exhausted now, I had 5 hours sleep last night and have been working since 8am, so I am off to bed.
Peace out all.

Saturday, April 26, 2008

Movement at the station


So I have decided to finally signup for google apps. Previously I had my DNS provider forwarding my mail to my gmail account, a temporary measure as my mail server was down. But now I see no point having my own mail server, especially when google apps is free, and has more redundancy (7 mail servers!) than I could ever offer.
I also had an issue that my DNS provider had implemented a draconian and over zealous spam filter, who checks that the reverse DNS matches the sender domain, sheesh. Other than this debacle they have been pretty good.
Problem was I have about 18months of email that I needed moved across. Sure I could just forward from googleapps to gmail, but whats the point of that. Now how to move it across. I found a nice guide here, but it needed some tweaking to run on my home server, I didn't have enough email (or money) to justify running it on the amazon compute cloud. Below is how I did it on my new Ubuntu Hardy Heron Server.

as I am ssh'd into my server, I ran screen
#screen
#apt-get install imapsync make unzip lynx
#cpan
cpan> install Date::Manip
#vim run-imapsync.sh


now type/copy and paste in the below and save it (escape+:wq)

#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 10 ]; do
echo The counter is $COUNTER
imapsync --host1 imap.gmail.com \
--port1 993 --user1 morganstorey@gmail.com \
--passfile1 ./passfile1 --ssl1 \
--host2 imap.gmail.com \
--port2 993 --user2 me@morganstorey.com \
--passfile2 ./passfile2 --ssl2 \
--syncinternaldates --split1 100 --split2 100 \
--authmech1 LOGIN --authmech2 LOGIN \
--regexmess 's/Delivered-To: morganstorey\@gmail.com/Delivered-To: me\@morganstorey.com/g' \
--regexmess 's///g' \
--regexmess 's/Subject:(\s*)\n/Subject: (no--subject)$1\n/g' \
--regexmess 's/Subject: ([Rr][Ee]):(\s*)\n/Subject: $1: (no--subject)$2\n/g'
let COUNTER=COUNTER+1
sleep 10m
done


save it (escape+:wq)

chmod 740 run-imapsync.sh
./run-imapsync.sh


A bit of explanation on the changes I made, I removed a -maxage 1 from the script as that was only pulling down emails 1 day or newer in age. I also added the loop so that it would repeat the process to make sure all mail is gotten, and I added the sleep as the original article put it you don't want to hammer the google IMAP servers or they will block you.

Then just export the calendar to ICS and import on the Google apps one, export the contacts to CSV and import to the new Google apps, and just in case there are any people emailing your google address direct set it to forward to your new google apps and your done.

I also intend eventually to use some other method to backup Fionas and My google mail at regular intervals, not because I don't trust google (hey I am posting this through blogger, and get most of my news through google news, or my google rss reader), but becasue I like having backups.

This is all even more humorous, when I tell you the book I am reading at the moment; The Google Story, by David A. Vise. Ryan from work loaned it to me, and there is now a time limit on reading it as he has given his notice.

Well sorry about the long and technical post, I am starting to do them a bit more now, but well see, I am sure this blog will get back to its usual unusual ramblings.

Peace out all, especially the bright cookies at the Googleplex worldwide.

Tuesday, April 22, 2008

Quick Post


I post this as I go over the Sydney harbour bridge, yep got my nokia n95 mobile working on ubuntu, was pretty easy once I worked it out, config below for prosperity. Ubiquitous internets, I love the world we live in.

First my phone is plugged in via usb, bluetooth is good and all but this means I can use my phone for music at the same time.
you need to install wvidail
then run wvdial conf
then edit the /etc/wvdial.conf to the below.

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 1152000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username = vf
Password = vf
Init3 = AT+CGDCONT=1,"IP","vfinternet.au";
Stupid Mode = 1

Gotta go about to go into tunnel.
Peace out all.

Saturday, April 19, 2008

Hey nice set a wheels


Today we bought a new car. A Hyundai Elantra. You know you are getting old when not once in a car sale conversation power or speed come up. It was all about saftey. I will say one thing the salesmen at Hyundai in Pennant Hills do a damn good job, they had has a pegged and sold on every feature they suggested.
So in two weeks we should have some new wheels, with more room for the little ones, and a bit more power and fuel economy for us. We plan on keeping it for as long as possible which is why we went the new car, and a 5 year unlimited Kilometer warranty really got us.
In other news I am really liking admining my new server. It is so easy now to admin apache and bind. I didn't even get around to installing a web admin package everything by hand is easier. Heh and again deny-hosts did its thing and blocked some compromised zombies, or script kiddies. People really need to program there bots better, trying username: "root" and password: "password" repeatedly till you are blocked is about a smart as piece of granite.
Peace out all, even those on the darkside; the botmasters.

Tuesday, April 15, 2008

It's been a long time..I shouldn't have left you.

Lets see if I even remember how to do this
So it has been since November the year before last since I last posted. Admittedly my server did die, and I never got around to having time to fix it. Well now I have. New server, faster, better, stronger.
There has been a lot of change in the last 18+months. Geoffrey has a Sister; Anne Storey. Both are growing, and Geoffrey has started talking. All-be-it intermittently. He had an issue with his ears that we have fixed and now He says a plethora of things, his favorite, being numbers. He can count all the way to ten and back again, and we believe he can even read numbers. They are the universal language so I couldn't be more proud.
Anne has grown up a lot in the last 6months, it is incredible. She seems to be trying to communicate through raspberries. She is definitely Geoffrey's sister they are as cute as each other. She is enamored with her brother desperately watching him run around the room, and laughing at his antics, he even tries to make her laugh or gives her a hug or Eskimo kiss, when he isn't trying to steal her dummy.
Fiona has finished her first semester in Law and is loving it, as I knew she would.
I am still working as an IT consultant with Insight, and I finally finished my MCSE (Microsoft Certified Systems Engineer, you may ask why this server is hosted on Linux, well just cause I know MS doesn't mean I prefer it), not only that but I did my Security specialization. Yay ME. I am now working towards my CCNA, and my lab is getting better and larger and larger.
Seems more like that was a recap than a blog post, which I guess it was.
Peace out all.
eXTReMe Tracker