You are here: Home :: News :: Nokia E71 email integration
Tags: business hardware software
We have an existing email infrastructure running uw-imapd and exim4 on Debian GNU/Linux Etch and needed to hook up a Nokia E71 mobile telephone to this existing setup.
The existing infrastructure has run without issue for many years. However the E71 would take a minute or so to retrieve just a single email. Therefore some alternatives were tried.
Firstly courier-imapd was tried. This resulted in many complete lock-ups of the E71. The battery had to be removed to restore the E71 back to life. This did indicate that the issues with collecting email using IMAP probably lay with the telephone rather than the server.
Secondly dovecot-imapd was installed and tested. After some tweaking, acceptable results were achieved. Reasonable compatibility with the legacy uw-imapd software was maintained and performance overall was noticeably improved. The software migration steps are detailed below.
mkdir -p /var/local/indexes/dovecot chmod 777 /var/local/indexes/dovecot chmod o+t /var/local/indexes/dovecot
iptables -I INPUT -p tcp --sport imap -j REJECT iptables -I INPUT -p tcp --sport imaps -j REJECT ip6tables -I INPUT -p tcp --sport imap -j REJECT ip6tables -I INPUT -p tcp --sport imaps -j REJECT
mutt -f /home/xxx/mboxtag each message using t and then bulk move all these tagged messages.
;s=/var/mail/xxx q
cd /home/xxx/mail echo INBOX >.subscriptions find >>.subscriptions chown xxx:xxx .subscriptions vi .subscriptionsremove ., ./.subscriptions, and leading ./'s
DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATARemove these messages completely.
aptitude remove uw-imapd aptitude install dovecat-imapdDovecot should be disabled by default, but stop it anyway just in case.
/etc/init.d/dovecot stop
vi /etc/squirrelmail/config.php $default_folder_prefix = '';
cd /var/lib/squirrelmail/data vi *.pref %s/mail\///g
vi /etc/dovecot/dovecot.conf protocols = imap imaps listen = [::] ssl_key_file = /etc/ssl/certs/imapd.pem ssl_cert_file = /etc/ssl/certs/imapd.pem mail_location = mbox:~/mail:INBOX=/var/mail/%u:INDEX=/var/local/indexes/dovecot/%u mail_privileged_group = mailRestart the Dovecot service.
/etc/init.d/dovecot restart
iptables -D INPUT -p tcp --sport imap -j REJECT iptables -D INPUT -p tcp --sport imaps -j REJECT ip6tables -D INPUT -p tcp --sport imap -j REJECT ip6tables -D INPUT -p tcp --sport imaps -j REJECT