Hello,
Attache an updates.php script for tb3 with multi-domain support.
As the first TB account need to match sogo domain update URL.
Here is my work around.
You need one sogo-integrator extension by domain (ie:
sogo-integrator-version-domain.xpi)
Also to avoid certicate warning/error when downloading the extensions,
here is the procedure to validate the certificate after the account
creation and before installing the sogo-integrator extension.
1. Thunderbird>Preferences>Certificates>View Certificates>Servers>Add
Exception
2. Type in the name of your (own, trusted, private) self-signed server
and click "Get Certificate" then "Confirm Security Exception".
I could not find a way to automate this process.
Also sometimes the override of TB Lightning value
("calendar.week.start", "calendar.view.daystarthour",
"calendar.view.dayendhour") does not work.
So i modify the default value directly in the Lightning - Inverse Edition
(ie: \lightning-1.0b2.103i_win32\defaults\preferences\lightning.js)
SOGo web interface stand in virtualhost, get ride of the SOGo seen a
lot complicated.
https://sogo.domain.ltd/SOGo/
Plugins in
https://sogo.domain.ltd/plugins/
Hope this can help.
Regards,
Francois
--
[email protected]
https://inverse.ca/sogo/lists
<?php
$srvname = split("\.", $_SERVER['SERVER_NAME']);
//echo $srvname[1];
$plugins
= array( "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
=> array( "application" => "thunderbird",
"version" => "1.0b2.103i",
"filename" => "lightning-1.0b2.103i_win32.xpi" ),
"[email protected]"
=> array( "application" => "thunderbird",
"version" => "3.103",
"filename" => "sogo-connector-3.103.xpi" ),
"[email protected]"
=> array( "application" => "thunderbird",
"version" => "3.103",
"filename" => "sogo-integrator-3.103-$srvname[1].xpi" ),
"{c1ac4523-76c2-9995-adbd-d93bf5141bea}"
=> array( "application" => "thunderbird",
"version" => "0.3.2",
"filename" => "display_quota-0.3.2-tb.xpi" ));
$applications
= array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>3.0</em:minVersion>
<em:maxVersion>3.1.*</em:maxVersion>" );
$pluginname = $HTTP_GET_VARS["plugin"];
$plugin =& $plugins[$pluginname];
$application =& $applications[$plugin["application"]];
if ($plugin) {
header("Content-type: text/xml; charset=utf-8");
echo ('<?xml version="1.0"?>' . "\n");
?>
<!DOCTYPE RDF>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:extension:<?= $pluginname ?>">
<em:updates>
<Seq>
<li>
<Description>
<em:version><?= $plugin["version"] ?></em:version>
<em:targetApplication>
<Description><?=
$applications[$plugin["application"]] ?>
<em:updateLink>https://<?=
$_SERVER['SERVER_NAME'] ?>/plugins/<?= $plugin["filename"] ?></em:updateLink>
</Description>
</em:targetApplication>
</Description>
</li>
</Seq>
</em:updates>
</Description>
</RDF>
<?php
} else {
header("Content-type: text/plain; charset=utf-8", true, 404);
echo( 'Plugin not found' );
}
?>