{"id":168,"date":"2010-04-23T13:13:28","date_gmt":"2010-04-23T17:13:28","guid":{"rendered":"http:\/\/www.cs.toronto.edu:40006\/wlog\/?p=168"},"modified":"2010-04-23T13:13:28","modified_gmt":"2010-04-23T17:13:28","slug":"thunderbird-3-and-message-synchronization","status":"publish","type":"post","link":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/?p=168","title":{"rendered":"Thunderbird 3 and Message Synchronization"},"content":{"rendered":"<p>I&#8217;ve been working with Thunderbird 3 in preparation for a deployment at DGP and found an interesting quirk &#8211; the message synchronization feature basically turns imap into a cached set of files on the local drive.\u00a0 Since we have quotas on the network space where is data is kept, the file sizes are a big problem (it filled my quota before syncing all the messages).\u00a0 It can be configured through the gui, but I want to change the installer to change this by default.<\/p>\n<p>The best option I&#8217;ve seen so far is to change the default preferences file, but I&#8217;ll need to get it into the executable installer or change it after the installation.\u00a0 To that end, I created a .cmd file which does a silent install:<\/p>\n<p>ECHO.<br \/>\nECHO installing thunderbird<br \/>\nECHO PLEASE WAIT<br \/>\nstart \/wait \\\\Wood\\SW\\Thunderbird\\&#8221;Thunderbird Setup 3.0.4.exe&#8221; -ms<br \/>\n\\\\Wood\\SW\\DGPSWscripts\\sleep.exe 5<\/p>\n<p>set option=pref(&#8220;mail.server.default.autosync_offline_stores&#8221;, false);<\/p>\n<p>ECHO.<br \/>\nECHO installing thunderbird<br \/>\nECHO PLEASE WAIT<br \/>\nstart \/wait \\\\Wood\\SW\\Thunderbird\\&#8221;Thunderbird Setup 3.0.4.exe&#8221; -ms<br \/>\n\\\\Wood\\SW\\DGPSWscripts\\sleep.exe 5<\/p>\n<p>set option=pref^(&#8220;mail.server.default.autosync_offline_stores&#8221;, false)^;<\/p>\n<p>IF %PROCESSOR_ARCHITECTURE%==AMD64 echo %option% &gt;&gt; &#8220;%PROGRAMFILES(x86)%\\Mozilla Thunderbird\\defaults\\pref\\all-l10n.js&#8221;<\/p>\n<p>IF %PROCESSOR_ARCHITECTURE%==x86 echo %option% &gt;&gt; &#8220;%PROGRAMFILES%\\Mozilla Thunderbird\\defaults\\pref\\all-l10n.js<\/p>\n<ul>\n<li>The SLEEP program is from the Windows server 2003 toolkit.\u00a0 The start \/wait means that the command window will pause on the installation and then edit the pref file to disable mail sync.<\/li>\n<li>The file is in two different location depending on whether it is a 64 bit or 32 bit version of windows (the brackets cause an IF ELSE statement to fail<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working with Thunderbird 3 in preparation for a deployment at DGP and found an interesting quirk &#8211; the message synchronization feature basically turns imap into a cached set of files on the local drive.\u00a0 Since we have quotas on the network space where is data is kept, the file sizes are a big [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[54,53,52],"_links":{"self":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts\/168"}],"collection":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":3,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":171,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions\/171"}],"wp:attachment":[{"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.cs.toronto.edu\/~jhancock\/wlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}