Icedove configuration - noidcc/tails-group-installer GitHub Wiki

Installation and persistence

tails-addtional-install

Tails allows to install packages available in Debian. As far as the system image can't be modified the installation must be done each time Tails boot but with [Apt-packages persistence] (https://tails.boum.org/doc/first_steps/persistence/configure/index.en.html#index8h2) download must be done just once.
Tails: additional-software
Icedove route through Tor must be enabled configuring it's proxy to: SOCKS5, 127.0.0.1, 9061
Complete info in Tails: stream-isolation

dotfiles

In order to keep configuration upon reboot, profile folder must be added to dotfiles folder and it will linked to home on reboot. In that case the folder its .icedove and contains a profile folder whoose name it's randomstring.default and a profile.ini file which define some variables and contains the path of profile folder.

[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=randomstring.default

Profile folder and its contents

Icedove (as Thunderbird) creates a profile folder for each user. Full contents of profile folder can be found here: Thunderbird profile contents

Files important to account configuration and that we must modify are:
abook.mab -> contains address added. signons.sqlite -> contains encrypted logins. Used to be signons.txt
key3.db-> contains key used to encrypt logins in signons.sqlite.+
prefs.js -> contains preferences [+](http://kb.mozillazine.org/Prefs.js_file) user.js` -> contains overrides preferences. +

abook.mab

File in Mork format. It's planned to migrate to LDIF but no in actual icedove version. Too much dificult or edit. More info here and there

Possible workaround:: Create a csv address book and ask for import it on first icedove boot. A script would check if abook.mab has been modified and if not launch addressbook from command line and guide through import and. There's no command line option for importing address book by now.

prefs.js and user.js

prefs.js stores preferences usually changed with preferences menu option.
user.js is not by default in profile folder. In case it exists overrides preferences in prefs.js when application starts. It can be used to lock preferences settings. In our autocofig feature we must create and add some params there:

user_pref("network.proxy.socks", "127.0.0.1");
user_pref("network.proxy.socks_port", "9061");
user_pref("network.proxy.type", 1);