Nokia N95 IMAP client and nested IMAP folders does not work

So I got SIP and IMAP over TLS working on the Nokia N95 8Gb running firmware 15.x.x.x but still no joy. Nokia’s IMAP client seems to choke on the nested IMAP folders served by Dovecot. So I tested this setup with a new test user that only had an Inbox with one message in it. Worked fine. Not sure how to fix this. Suggestions more than welcome.

Nokia N95 IMAP over TLS and Certificates

Just a quick tip when you want to setup the Nokia N95 mail client to use IMAP over TLS to a Dovecot IMAP server: make sure your certificates do not use 4096 bits. It does not work. Typical case of finding out the hard way :) I redid my Dovecot and CA certificate with 2048 bits and TLS started working immediately. Hey Nokia, how about an error message….

Nokia N95 SIP and Asterisk 1.4

The Nokia N95 SIP client works fine with Asterisk 1.4. My N95 is the 8Gb model and has the 15.x.x.x firmware. Here are some tips.

On the N95 in the SIP settings use:

Profile name:
Service profile: IETF
Default access point:
Public user name: <username_configured_in_asterisk>@<hostname_of_asterisk_server>
Use compression: No
Registration: Always on (or else you can not be called via SIP on the N95)
Use security: No
Proxy server:
Registrar server address:
Realm: asterisk (or set it to whatever you set it in the N95 entry in Asterisk’s sip.conf)
Username: <username_from_n95_config_in_asterisk_sip .conf>
Password: Transport type: UDP
Port: 5060

On the Asterisk server use something like this:

[1250]
type=friend
context=local_phones
username=1250
callerid=Patrick N95 <1250>
secret=test
host=dynamic
canreinvite=no
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=ulaw
qualify=yes

I also got it to work with MD5 Digest authentication. On the N95 enter the realm. Default with Asterisk is asterisk. Use the Asterisk config below.

[1250]
type=friend
context=local_phones
username=1250
callerid=Patrick N95 <1250>
md5secret=892a7c48966629c86decbcc36118be3e
host=dynamic
canreinvite=no
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=ulaw
qualify=yes

In a terminal you can create your md5secret with:
$ echo -n “<number>:<realm>:<pass>” | md5sum

The md5secret above is the result of the following command:
echo -n “1250:asterisk:test” | md5sum