0){ $conf = 0; foreach ($user[0]['posixmemberof'] as $group){ if (in_array($group, $WHITELISTGROUPS)){ $conf = 1; break; } } if ($conf != 1){ header("HTTP/1.1 403 Forbidden"); exit; } } } else { // We've not received a valid email address header("HTTP/1.1 403 Forbidden"); exit; } if ($configaccounts == 1){ ?> // Linux / UNIX ? if(getenv("USER") != "") { var path_sep = '/'; var path_profile = getenv("HOME"); } // Windows ? else { var path_sep = '\\'; var path_profile = getenv("USERPROFILE"); } // Local Account ("mail.account.account1.server", "server1"); ("mail.accountmanager.localfoldersserver", "server1"); ("mail.server.server1.directory-rel", "[ProfD]Mail/Local Folders"); ("mail.server.server1.hostname", "Local Folders"); ("mail.server.server1.name", "Dossiers locaux"); ("mail.server.server1.type", "none"); ("mail.server.server1.userName", "nobody"); // SMTP config ("mail.smtp.defaultserver", "smtp1"); ("mail.smtpservers", "smtp1"); ("mail.smtpserver.smtp1.try_ssl", 3); ("mail.smtpserver.smtp1.port", ); ("mail.smtpserver.smtp1.hostname", ""); ("mail.smtpserver.smtp1.username", ""); // Default account is acocunt2 (the personal account) ("mail.accountmanager.defaultaccount", "account2"); // Personnal account ("mail.account.account2.server", "server"); ("mail.server.server2.hostname", ""); ("mail.server.server2.name", ""); ("mail.server.server2.port", ); ("mail.server.server2.socketType", 3); ("mail.server.server2.type", "imap"); ("mail.server.server2.userName", ""); ("mail.identity.id.fullName", ""); ("mail.identity.id.organization", ""); ("mail.identity.id.smtpServer", "smtp1"); ("mail.identity.id.useremail", ""); ("mail.identity.id.valid", true); defaultPref("mail.identity.id.fcc_folder", "imap://@/Sent"); defaultPref("mail.identity.id.draft_folder", "imap://@/Drafts"); defaultPref("mail.identity.id.stationery_folder", "imap://@/Templates"); defaultPref("mail.identity.id.attach_signature", true); defaultPref("mail.identity.id.sig_file", path_profile+path_sep+"signature"+path_sep+"email.html"); ("mail.account.account2.identities", ""); ("mail.accountmanager.accounts", "account1,account2"); // Disable auto updates ("app.update.enabled", false); ("app.update.auto", false); // Extensions ("extensions.installDistroAddons", true); ("extensions.enabledScopes", 13); ("extensions.autoDisableScopes", 2); // Spam ("mail.adaptivefilters.junk_threshold", 500); // Checks IMAP folders ("mail.check_all_imap_folders_for_new", true); // Composition ("mail.default_html_action", 3); // Attachments ("mail.content_disposition_type", 1); // Expunge ("mail.imap.expunge_option", 3); ("mail.imap.expunge_threshold_number", 100); // Adds the domain from your email address to the // recipients email address if it doesn't have a domain ("mail.enable_autocomplete", true); // Hide useless messages ("mail.ui.show.migration.on.upgrade", false); ("app.update.showInstalledUI", false); ("browser.startup.homepage_override.mstone", "ignore"); ("mailnews.start_page_override.mstone", "ignore"); ("mail.rights.version", 1);