Rename Notebook in Evernote fails

No Comments

This has been bothering me for some time. I have been wanting to change names of some of my Notebooks in Evernote (Windows client) but it doesn’t work.

I right cklick, select Rename, enter the new name and hit Enter and… it reverts back to the old name.

Finally figured out a work around: Instead of right-clicking and selecting Rename, I right-click and select Properties. From the properties window I can then change the Notebook name and it actually renames it!

Windows 7, Evenrnote Windows client 5.6.4

Solution: Bootstrap glyphicons-halflings-regular.woff 404 not found


I’m testing out Bootstrap 3.1.1 by redoing the design of a very old site of mine, running on Php 5.3 on a Windows 2008/IIS 7 server.

The new version of the site has been slow at loading the icons (wich are a Glyphicons web font) for buttons and when I check the Javascript console in Chrome (Ctrl+Shift+J) it shows the following error:

GET /fonts/glyphicons-halflings-regular.woff 404 (Not Found)

After much testing and Googling it turns out my old IIS server does not have Mime types registered for .woff files.

So I go in to the IIS console, click MIME Types icon and add .woff as application/octet-stream – problem solved!

How to get DRAC 4 Console Working in IE11


Previously I have had some problems getting the DRAC 4/P (Dell Remote Access Card) working with Java 7 as it is only Java 6 compatible. Now Internet Explorer 11 (IE 11) was my next challenge, these four steps is how I got it to work:

1. Make sure you have a working  Java 6 runtime environment (JRE)

If not, follow the instructions in my previous post.

2. Add url to Compatability View List in IE

Click Tools icon (ALT+x) and select Compatability View settings and add the DRAC url.

(Without adding it here, when I click Open Console, it says Connecting… but then nothing happens, no error message, no nothing)

3. Add url to Exception Site List in Java Control Panel

Make sure you run the 32-bit version, e.g. c:\Program Files (x86)\Java\jre7\bin\javacpl.exe. Add it under the Security tab and click the Edit Site List button where you can add the DRAC url.

(Without adding it here, I would get a warning saying: Application Blocked by Security Settings, Name: VersionApplet, followed by an error message: Either you do not have a supported Java Virtual Machine (JVM) installed, or you did not accept the security credentials for the Console Redirect applet.)

4. Using IE, login to DRAC and click to open the Console

Accept warnings to Run an unsigned application and to let it use an older Java version.


I think IE11 does some sort of intelligent switching between 32 and 64 bit versions because I can now get it to work in any version, but if you have a problem make sure you run the 32-bit version of IE. As of IE11, there is only one IE icon in the Start menu, which is the 64-bit version, so go in to the file system and run C:\Program Files (x86)\Internet Explorer\iexplore.exe

Tested on Windows 7 64-bit with Microsoft Internet Explorer 11. DRAC 4/P firmware version 1.75 (Build 06.03).

It may be that you can skip any of the steps as it was a trial and error process to get this to work and I did not backtrack to find out if every step was absolutely necessary. To help others, please leave a comment if this worked or did not work for you and what version of software you were using.

Troubleshoot email delivery in Exchange on Microsoft Online


I had a problem the other day where I noticed that of all the emails I sent to the same recipient outside my orgianization, some were delivered and some were not. They were not in Junk mail and I did not receive any non-delivery reports.

I find the Microsoft Online user interface to be a little… puzzling … to use a nice word. I have learned that I cannot expect to find any links to the admin interface but have to remember to use my bookmarked url to

Exchange Admin Center (EAC)

Yesterday I learned that I can also access something called the Exchange Admin Center (EAC). From there it is possible to, among other things, run a mail trace for any message sent the last 7 days.

1. Go to (if you, like me, have a separate admin account, make sure you sign in with this)

2. Click Mail flow and then Message trace

3. Fill out the Sender and Recipient information and hit search. Double click any message to see details.

My undelivered emails

From the EAC Message trace I can see that the messages that were not delivered are marked as “Spam” and action set to “Use high risk delivery pool”. It is then set to “Send” and details say “Message transferred from: To_DefaultOpportunisticTLS”.

My best guess is that it means the email is currently in waiting mode and will be delivered or fail some time in the future… I have contacted Microsoft support and will update this post when I get an answer.


Source: Microsoft help article: Troubleshoot email delivery using the Exchange Online message trace tool

Barack Obama Presidential Motorcade in Stockholm, Sweden

No Comments

This is a little off topic…

The other day (September 4, 2013) US Preisdent Barack Obama made a state visit to my hometown of Stockholm, Sweden. On my way walking to a meeting I got stuck and watched the presidential motorcade on it’s way from the airport to the president’s hotel. So how could I not grab my iphone and film the motorcade as it passed me by? :)

If you watch closely (or playback in slow motion) you can see Obama waving from the second limo (aka “The Beast”)

In the background you can see Arvfurstens palats where the State Department (Foreign Ministry) has its offices and the Royal Opera House. Just opposite of where I am standing is King Karl XII‘s square which is located in Kungsträdgården, King’s Garden. When I turn the camera you can see the Stockholm Grand Hotel which was the motorcade’s destination and where President Obama stayed.

Big parts of central Stockholm was locked down for the two-day visit, and it was oh so quiet and nice without all the traffic, i wish they could make it permanent.

Solution: Error Open EPS in Gimp 64-bit with Ghostscript


I have been spending a lot of time to try to find a solution to the problem where GIMP 2.8 64-bit with Ghostscript cannot open EPS images.

After the “Import from PostScript” dialog you will get an error similar to: Could not interpret Postscript file ‘C:\logo.eps’ Opening ‘C:\logo.eps’ failed

The answer to this problem can be found in this bug report (thanks to Jako Grobler) but this is the short version.

Starting with GIMP 2.8.x you no longer need to install Ghostscript to be able to open EPS images, instead the dll is in included with the GIMP-installation. This means  you can forget about the instructions about setting the GS_PROG environment variable, trying to switch between 32-bit and 64-bit versions etc.
However at least up until the latest version of GIMP (2.8.4) there is something wrong with the included dll.


So this is the solution:

  1. If you have not already, download and install Ghostscript 64-bit
  2. Copy gsdll64.dll from your Ghostscript bin folder (Eg: C:\Program Files\gs\gs9.07\bin\) to the GIMP bin folder (Eg: C:\Program Files\GIMP 2\bin\)
  3. In the GIMP bin folder first a) Rename the file libgs-8.dll to libgs-8.old, and then b) Rename gsdll64.dll to libgs-8.dll
  4. Restart GIMP and opening EPS images should now work

Tried on Windows 7 64-bit with GIMP 2.8.4 64-bit and Ghostscript 9.07 64-bit

How to: Animated GIF with GIMP

No Comments

I just started using GIMP which is more or less an Open Source version of Photoshop.

When trying to create an animated GIF i ended up spending quite some time Googling for answers, this is how I did it in the end:

  1. Create your banner images the way you normally would.
  2. Each frame in the animation needs to be it’s own layer. GIMP will use each layer as animation frames in the order they are listed. I created one Layer Group for each animation frame and named them Frame1, Frame2 etc.
  3. Add the number of milliseconds you want the frame to be shown to the layer name, e.g. “Frame1 (2000ms)” to show the frame for 2000 milliseconds (2 seconds) before showing the next frame. Make sure you write exactly as I have done, i.e. between parentheses and no space between the number and ms.
  4. Take a backup copy of your file (File – Save a Copy…) as the following steps will destroy your layers etc
  5. You cannot do the next step with Layer Groups so you need to make any groups single layers. Do like this for each Layer Group: Make the Layer Group visible (Eye icon should show). Right click the layer and select Merge visible layers. From the popup window select Clipped to image, check Merge within active group only and leave Discard invisible layers unchecked. Click Merge button.
  6. GIMP needs your image to be in Indexed Mode in order to save it as a GIF. From Image menu select Mode – Indexed. From the popup window leave Color map as Generate optimum palette and Dithering set to None. Click Convert button.
  7. Export as GIF using File – Export and in the Export Image Dialog make sure to both name the file so it has the .gif extension and also select GIF in the drop down. Click the Export button. From the Export Image as GIF dialog window check the As animation checkbox (and set any of the Animated GIF options you want). Click the Export button.
  8. Done!

Using GIMP 2.8.4 on Windows.

Resize and Convert EPS to PNG, GIF, JPG

No Comments

This is a great free alternative to Photoshop or other imaging software if you just want to do some simple resizing of photos, logos etc.  I usually get a hires image, e.g. EPS format (Encapsulated Postscript) and need to resize it and save it as a PNG or JPEG for a web site. If you are using Windows I recommend using IrfanView.

1. Download and install IrfanView

2. Download and install the IrfanView plug-in pack (for Save as PGNG/JPG/GIF support and other stuff too)

3. Download and install Ghostscript (for EPS support)

Current versions of Irfan View and plugins are 4.33, Ghostscript is 9.05. All 32-bit Windows.

DRAC Console Java Virtual Machine (JVM) not supported


When trying to open a console from one of my Dell servers using the DRAC 4/P card I got an error: “The Java Virtual Machine (JVM) currently installed is not supported. Please refer to the DRAC 4 User’s Guide for information on installing a supported version of the JVM.”

After some testing it turns out DRAC (Dell Remote Access Card) does not play well with Java 7.

Current versions I’m testing with: DRAC 4/P Firmware version 1.75, Java 6 Update 33, Java 7 Update 5


As Java6 and Java7 can coexist, the solution is to install Java 6 (if you don’t already have it installed) and temporarily disable Java 7. You can do this from the Java Control Panel found in the Windows Control Panel + Programs.

From the Java Control Panel:
Select the Java tab + View button + Uncheck Enabled for Platform 1.7 (Java 7) and leave Enabled checked for platform 1.6 (Java 6)

You may have to restart the browser (Note that DRAC is only supported on Internet Explorer)


If you like me run a 64-bit system (Windows 7) and have 64-bit Java installed you may run into the same caveat I did: Only the 64-bit Java Control Panel is found in Windows Control Panel and only contains settings for 64-bit Java.
To change the Java 32-bit settings you need to open the 32-bit Java Control Panel (I guess another option is to manually add them to the 64-bit Java Control Panel). Go to the 32-bit (x86) Program Directory and run javacpl.exe, in my case:

C:\Program Files (x86)\Java\jre7\bin\javacpl.exe


[Update: How to get DRAC 4/P Console to work with Internet Explorer 11]

Guide to Install OpenDKIM for multiple domains with Postfix and Debian


This is a guide to installing OpenDKIM for multiple domains on a Postfix-installtion on Debian. I tried some other guides but kept running into problems, so this is how I did it.

Among others, Google Gmail and Yahoo mail check your email for a DKIM signature.

Install and Configure OpenDKIM

1. Install OpenDKIM

apt-get install opendkim

Comment: This will install the latest available stable Debian packaged version of OpenDKIM which is currently 2.0.1. This version is already a couple of years old (2010).
If you know how/want to compile sources yourself, then the latest version is 2.4.3 (and 2.5.0 is right around the corner)

2. Edit the OpenDKIM config file

nano /etc/opendkim.conf

Add these rows:

KeyTable           /etc/opendkim/KeyTable
SigningTable       /etc/opendkim/SigningTable
ExternalIgnoreList /etc/opendkim/TrustedHosts
InternalHosts      /etc/opendkim/TrustedHosts

Note: If you run multiple instances of Postfix you need to add this to the opendkim.conf for each instance (or the ones you want to use opendkim)

3.  Edit /etc/opendkim/TrustedHosts

nano /etc/opendkim/TrustedHosts

Add domains, hostnames and/or ip’s that should be handled by OpenDKIM. Don’t forget localhost.

4. Edit /etc/default/opendkim

nano /etc/default/opendkim

Uncomment this row:

SOCKET="inet:12345@localhost" # listen on loopback on port 12345

Generate keys

Repeat these steps to generate keys for each domain you will send email from. Replace with your domain name in examples below.

1. Generate key

mkdir -p /etc/opendkim/keys/
cd /etc/opendkim/keys/
opendkim-genkey -r -d
chown opendkim:opendkim default.private

2. Add domain to KeyTable /etc/opendkim/KeyTable

nano /etc/opendkim/KeyTable

Add line:

3. Add domain to SigningTable /etc/opendkim/SigningTable

nano /etc/opendkim/SigningTable

Add line:

Note that in OpenDKIM 2.0.1 domain names are case sensitive (supposed to be fixed from 2.3.1 but I have not tested).
This means that in the above example an email from will be signed, but an email from will not be signed. The workaround is to add one extra entry for to SigningTable.

4. Add to DKIM public key to DNS

Add an entry for the public key to the DNS server you are using for your domain. You find the public key here:

cat /etc/opendkim/keys/

Start OpenDKIM

/etc/init.d/opendkim start

In the future, if you make any changes to configuration remember to restart: /etc/init.d/opendkim restart

Configure and Restart Postifx

1. Configure Postfix

nano /etc/postfix/

Add or edit these lines:

milter_default_action = accept
milter_protocol = 6
smtpd_milters = inet:localhost:12345
non_smtpd_milters = inet:localhost:12345

2. Restart Postfix

/etc/init.d/postfix reload

Or in my case as i run postfix multi instance:

/etc/init.d/postfix-multi restart


Log files are in the /var/log directory

cat /var/log/mail.log
cat /var/log/mail.warn
cat /var/log/mail.err

Log more info

nano /etc/opendkim.conf

Add this line:

LogWhy yes


Guides that have helped me along the way: Debian Tutorials and Syslog

Older Entries