Thunderbird: Auto select latest message on startup

When you start Thunderbird client normally will see the Mozilla page which can be changed from the preferences. But what about the message?, it will not automatically select the latest read or unread message. If you have thousands of mails in your inbox and think that scrolling up is pain. To me Thunderbird should have this feature by default, when start it 1st time it should automatically select the 1st latest message. But it is not.

No worries, there is an add on for this which do the job very well.

https://addons.mozilla.org/en-us/thunderbird/addon/auto-select-latest-message/

Open Thunderbird, go to Add on and search for ‘auto select latest message‘ without quotes and click to install it. Restart Thunderbird and you will see the change this time.

Thunderbird-auto-select-latest-messageAnd that should be it.

Setting up Microsoft Exchange Server Mailbox with Thunderbird

Setting up Thunderbird with Microsoft exchange server is little different than normal mail setup. This how to focuses on setting up mail which have no access with POP and IMAP from Microsoft exchange server. That is quite easy if you have IMAP or POP support on exchange server, but this how to will cover more than that. Lets assume that you do not have support for both IMAP and POP.

1st of all lets list down the softwares which will be used for this how to:
– Java 1.5 or above
– Thunderbird 12.0
– Davmail 3.9.8
– Microsoft Exchange Server 2003 or later.
– Extensions [Lightning]
I assume you have already installed Java, if not you can install it from YaST. Oh yeh this how to will be based on openSUSE 12.1 KDE.
Next install Thunderbird from YaST again, if not installed yet.

Setup Davmail:
Now time to download Davmail, download it from here. I have downloaded 3.9.8 version, you can choose yours.
Choose Linux(others) from the list and select your system arch(32 or 64bit).
Extract it with an extracting app you have, and put the extracted directory any where you like, e.g: home folder. Enter to the directory and click on davmail.sh. A notification pop up will appear.

Notification-of-davmail

There are not much things to change in the settings(right click on the icon in the notification area) except OWA URL, it can be like:
https://domian.com/exchange/
Change domain.com to your exchange server domain.

davmail-setting

All other default ports settings are good to go.
There are logs available if you wana check it, right click and show logs.

Now for Thunderbird mail setup we will cover three areas to configure, configure exchange mail, calendar and directory service.

Section-I (configure mail)
1– Open Thunderbird and from menu > File > New > Existing mail account.
2– Window will appear to enter your name, email and password. Enter your full email address.
3– Change the rest of the settings according to the image below and re-test. Remember to check the ports from Davmail settings to reflect yours.

Exchange-mail-setup

Note: Username will be like domain\user.
4– If step 3 successfully done, you will see this page. Check it any way and click create account because we are running it on localhost, so no worries.

Exchange-mail-setup2

5– Done.
6– You can change some of the settings from Edit > Account settings, by following the images below, but that’s totally up to you.

Exchange-mail-setup3

Exchange-mail-setup-SMTP

Section-II (configure calendar)
1– Install lightning addon from the addon page, tools > add-ons. Restart Thunderbird after installation.
2– Add new calendar from File > New > Calendar.

calendar-setup

3– Use this URL: http://localhost:1080/users/<YOUR FULL EMAIL ADDRESS>/calendar . Choose the appropriate options as shown. Change <Your Full Email Address> with your email address.

calendar-setup1

4– In this window, name your calendar and choose any color you like, remember to not leave the E-mail drop down blank, choose your email address. If you leave it blank, no invitations will be sent to other users.

calendar-setup2

5– Done
6– In the sidebar a mini calendar will appear, by clicking on the calendar icon at the top will open a new tab.

calendar-setup3

Section-III (configure directory service)
1– Open Address book and add new LDAP from File > New > LDAP Directory.
2– Enter the information asked for name, hostname, base dn, port number and bind dn.

Address-book

Note: Bind DN is the username domain\user.
3– Download your directory from the offline tab, if you want.

Address-book1

4– Done

Everything is configured, and now what you can do is WAIT. It will depend on your internet connection and total emails with attachments. It will take some time, so be patient.

If you want to use personal address book, you will need SOGo connector extension. But as it is not compatible with 12.0, so i can’t help with that. You can give it a try here, and then follow this link for how to configure it.

On each boot of the system, Davmail will not start automatically. I found out this way for KDE, which is quite easy. For other desktops and distro, please search for the way around.
Open configure desktop > Startup and Shutdown > Autostart. Click on Add Program button, and locate davmail.sh where you saved it after extraction. Check Enabled checkbox, and that’s it. Davmail will now start on each boot.

davmail-start-on-boot
Side-Note: If you discover that there are 2 mails in the sent folder, to avoid this go to Davmail settings and in the advanced Tab uncheck ‘SMTP save in sent’ checkbox.

Ref:
https://getsatisfaction.com/mozilla_messaging/topics/thunderbird_owa_support
http://davmail.sourceforge.net/faq.html
http://davmail.sourceforge.net/linuxsetup.html