Thunderbird
Add an IMAP account
Create a new account -> Skip this and use my existing email
Your name: david
Email address: david@tux.tux
Password: 
Continue -> Manual config
Incoming: IMAP mail.tux.tux 993 SSL/TLS Normal password Outgoing: SMTP mail.tux.tux 25 STARTTLS Normal password
Username: david@tux.tux
Re-test Done
Add a POP account
Create a new account -> Skip this and use my existing email
Your name: david
Email address: david@tux.tux
Password: 
Continue -> Manual config
Incoming: POP mail.tux.tux 995 SSL/TLS Normal password Outgoing: SMTP mail.tux.tux 25 STARTTLS Normal password
Username: david@tux.tux
Re-test Done
Go to View settings for this account -> Server settings and uncheck Leave messages on server.
Troubleshooting
To get back to Thunderbird’s initial state:
_$: rm .thuderbird/*.default && rm profiles.ini
Remove SSL certificates
Go to Edit -> Preferences -> Advanced -> Certificates -> View Certificates and delete the ones that are not used anymore.
Run Thunderbird at startup
Applications -> System tools -> Preferences -> Startup applications -> Add
- Name: 
Thunderbird - Command: 
/usr/bin/thunderbird - Description: 
Mozilla Thunderbird 
Run Thunderbird in all desktops
_$: apt-get install devilspie       (program)
_$: apt-get install gdevilspie      (graphical interface to create rules)
Create rules
/home/<user>/.devilspie/thunderbird.ds:
---------------------------------------
; generated_rule thunderbird
( if
( begin
( contains ( application_name ) "Thunderbird" )
( contains ( window_name ) "Thunderbird" )
)
( begin
( pin )
( println "match" )
)
)
Rules can be created with gdevilspie also:
Add ->
Matching
    (X) application_name    -> contain(s): Thunderbird
    (X) window_name         -> contain(s): Thunderbird
Actions
    (X) pin
Add-ons
- Sort folders: 
manually_sort_folders-1.1-tb.xpi - Calendar: 
lightning-3.3.1-tb+sm-linux.xpi