Feb/100
Copy email into gmail using imapsync
Imapsync has added support for gmail recently. The FAQ lists an example too. This is how I did it (coming from courier) :
./imapsync \ --host1 mail,from.com --user1 user@from.com --tls1 --authmech1 LOGIN \ --host2 imap.gmail.com --user2 user@to.com --ssl2 --authmech2 LOGIN --port2 993 \ --exclude Trash --useheader 'Message-Id' --skipsize \ --regextrans2 's|Sent|\[Google Mail\]/Sent Mail|g' \ --regextrans2 's|Drafts|\[Google Mail\]/Drafts|g' \ --dry --justfolders
It’s worth noting that this is only if you signed up in the UK, elsewhere substitute ‘Google Mail’ for ‘Gmail’. You;ll also need to remove the –dry –justfolders for the real run, as the command as is will just show you what it’s going to do (dry run).
hth, W

Feb/100
VMWare – Freeze time.
It’s sometimes useful to be able to freeze time in your VM’s (trialware). This is how you do it:
- Install your flavour of windows in your vmware product.
- Install VMware tools
- Disable Windows Time Sync
- Power off the Virtual Machine
- Navigate to the folder where the Virtual Machine is stored.
- Open the .vmx file in notepad
- Add the following lines to the end of the file.
rtc.startTime = "1230800400"
tools.syncTime = "FALSE"
time.synchronize.continue = "FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.shrink = "FALSE"
time.synchronize.tools.startup = "FALSE"
- Power on the VM
- Install your trial software
- Power off the VM
- Edit the .vmx file
- Change the following lines:
from:
rtc.startTime = "1230800400"
to:
rtc.startTime = "1230886800"

Jan/100
Sun teams up with OpenERP. I hope this doesn’t mean that they are shifting from postgrs to mySQL…
A post on Fabian Pinckaers blog today (also on sun’s homepage) announces a partnership between OpenERP and Sun, including mySQL branches. I really hope this is not going ot be to the determent of the postgres version…

Jan/100
Getting exchange & outlook to listen to X-Spam headers
From this article on exchangepedia.com
Getting spamassasin’s rankings through to outlook so users can look in their own spam bin has been on my wishlist for ages. It turns out that since exchange 2003SP2 the CFA (content filter agent) has been installed by default. This is how you get it to do the magic:
1. Fire up EMC -> Organization Config -> Hub Transport -> Transport Rules tab
2. Click on New Transport Rule in the Action pane
3. Give the new rule a name, like X-Spam-Status
4. In the Conditions page, select the condition when a message header contains specific words
5. In the Step 2 edit box, click on the message header link
6. Type X-Spam-Status & click OK
7. In the edit box, click on the specific words link
8. Type yes -> click OK -> click Next
9. In the Actions page, select the action set the spam confidence level to value
10. In the rule description, click on the 0 link and add a value that’s above your SCLJunkThreshold -> click Next
11. On the Exceptions page, click Next if you do not want any exceptions to this rule
12. Click New -> click Finish to close the wizard
aparently the following commands work too:
$condition = Get-TransportRulePredicate HeaderContains
$condition.MessageHeader = “X-Spam-Status”
$condition.words = @(“yes”)
$action = Get-TransportRuleAction SetSCL
$action.SCLValue = 5
new-TransportRule “Stamp SCL” -condition @($condition) -action @($action)

Jan/100
Stupid gedit won’t save to cifs share (ubuntu 9.10 karmic)
So stupid gedit (which is fantastic on all other ways) won’t save to a cifs mounted share properly because of an unsupported copy option. Robbie Basak has provided a patched version that overcomes this issue. To install this in karmic, do the following:
AMD64:
cd /tmp wget https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_amd64.deb sudo dpkg -i gedit_2.28.0-0ubuntu2~basak1_amd64.deb
i386:
cd /tmp wget https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_i386.deb sudo dpkg -i gedit_2.28.0-0ubuntu2~basak1_i386.deb
I believe that redhat has updated the version in their repos, perhaps Shuttleworth et al should do the same…

Jan/100
Nice clear Hackintosh install insructions for the technically minded
A really nice guide, aimed at the technically competent explaining the current state of the hackintosh world (really good)

Jan/100
SliTaz 30mb desktop
SliTaz is a free operating system, working completely in RAM and booting from removable media such as a cdrom or USB key. SliTaz is distributed as a LiveCD, and weighs less than 30MB. The system is quick and responsive, clean and robust. SliTaz is simple and intuitive, providing a lightweight, elegant desktop, detailed documentation and easy to use configuration tools
also see http://maketecheasier.com/cooking-with-slitaz-an-innovative-and-tiny-linux-os/2010/01/07

Jan/100
EDE desktop
EDE is a small desktop environment that is meant to be simple and fast. EDE’s window manager uses less memory than a standard xterm.
It is based on a modified version of FLTK called eFLTK.

Dec/092
windows 7 mklink is actually useful.
Windows 7 ships with the ability to utilise NTFS’s symlinks (did vista do this too?). I have used this to get around the fact that win7 x64 refuses to index networked folders, thus stopping me from adding my media library and music (samba share) to media player.
1. Create a temp folder on your hard drive i.e. c:\shares
2. Create another folder in the above folder. i.e. c:\shares\pictures
3. Link the Library to this folder.
4. Delete the folder (c:\shares\pictures).
5. Use the mklink in an elevated command prompt (start type ‘cmd’ and press ctrl+shift+enter) to make a symbolic link. Name the link the same as the folder you created above. i.e -
mklink /d c:\shares\pictures \\server\pictures
6. Done. Now you have a non-indexed network path as a library.

