from IPv4 to IPv6

If you are on an IPv6 network, you can access to an IPv4 address. We just have to use the 2002: prefix.
for exemple can be converted to hexadecimal : 9D36:1. So we can contact it via 2002:9D36:1::

ISATAP (Intra-Site Automatic Tunnel Addressing Protocol)
If you are on an IPv4 network, you can be contacted via an IPv6 address:
[64bits prefix]:0:5EFE: and the 32bits of the IPv4 address
For exemple : FE80::5EFE:

If you cannot use 6to4 because of NAT you may use Teredo.
Teredo Prefix is: 2001:0000::/32.

Airport Express and FrontRow on Leopard

Airport Express

What a shame!

Front Row 2 doesn’t work with Air Tunes! It was so fine with Front Row 1.3… and Leopart (Mac OS 10.5) includes Front Row 2 only.

I found how to downgrade here and in french here.

Here is the solution, just in case:

As you may know FrontRow 2.0 misses on important FrontRow 1.x features. Opening it without stopping the music. That is why we downgrade Frontrow to 1.x :)

First get the Front Row 1.3 Update: and mount the Image.

Open a Terminal (Applications -> Utilities ->

Backup your Front Row 2.0

sudo mv /System/Library/CoreServices/Front\ /System/Library/CoreServices/Front\ Row.app2.0

Once the image mounted you can right click on the package and chose “show package contents”
Then, in “Content” double click on “Archive.pax.gz”. A folder named “Archive” will be added to you download folder.
Then go in Archive > System > Library > Coreservice
Copy (command C) FrontRow. Then go to you local Hard Drive and past it in system > library > coreservice

(I didn’t need a restart for Front Row to work again)

If you want to come back to Front Row 2.0 :

  • sudo mv /System/Library/CoreServices/Front\ /System/Library/CoreServices/Front\ Row.app1.0
  • sudo mv /System/Library/CoreServices/Front\ Row.app2.0 /System/Library/CoreServices/Front\

And back to Front Row 1 again :

  • sudo mv /System/Library/CoreServices/Front\ /System/Library/CoreServices/Front\ Row.app2.0
  • sudo mv /System/Library/CoreServices/Front\ Row.app1.0 /System/Library/CoreServices/Front\

Spamassassin can learn from Exchange

Stop Spam

Our users asked me to improve the antispam system.

We use Exchange 2003 but the antispam/antivirus system is on a linux debian etch. The only way I could think about was to let spamassassin learn.

The command “sa-learn –spam /rep/” can only read mbox formatted emails.
The solution came from imap2mbox .

Very easy to schedule on my Windows server
imap2mbox.exe --config="c:\imap2mbox\spam.cfg" --path="Pubic Folders/" --folder="SPAM/" --server=YourExchangeServer --delete --username="username" --mbox="c:\shared_folder\spam.mbox" --pass=yourpassword

I had to replace "Pubic Folders/" by "Dossiers publics/" because our Exchange is French.
Then we have to put the mails in the public folder SPAM.

On my debian server I just added a crontab entry for the I created:

#connexion Samba
mount -t cifs ${smbserver} ${rep_sauv_dist} -o "user=${smbuser},pass=${smbpwd}"
if test -f ${rep_sauv_dist}/verif.txt; then
/usr/bin/sa-learn --spam ${rep_sauv_dist}/spam.mbox
rm -f ${rep_sauv_dist}/spam.mbox
texte="spamassassin learning ok"
echo $texte # | mail ${email} -s "Apprentissage SpamAssassin OK"
texte="Error: spamassassin learning error, connexion samba impossible"
echo $texte # | mail ${email} -s "Error Spamassassin learning"
umount ${rep_sauv_dist}

Reading slowly

Should I tell you this blog will be one of the worst ever made ?

I don’t even know if a main line will be followed, I just guess I’ll talk about the books I’m reading, the IT problems I got and resolve or even worst: my life !

I’ve a strange way of reading, I noticed that even if the universe produced by the author becomes very familiar, even if it becomes a nice place where flying to whenever we want… this place stops existing at the end of the book.

I also noticed that one of my favorite moments in books are the long travels. Strange! I feel lucky to live when it takes less then a day to go wherever we want and I enjoy more than all to read the long stories that couldn’t be so long with a mobile phone and airports everywhere.

My conclusion came when reading Musashi, a japonese roman written by Yoshikawa Eiji:

I have to read several books in the same time! that’s the only way to make this universes slow down. It’s was so sad to read many years of a great life in such few days… My favorite moment to switch books became the long journeys between 2 events.

Trust me, that’s was one of the best choices of my life. But it must not be hard to understand that it’s very nice to keep reading a wonderful book 1 month instead of 1 week… I must be like sex: the longer…

Chris' blog