ports TCP depuis la DB

sessionscripts
Daniel Berteaud 13 years ago
parent 63c619716a
commit 2c572d2572
  1. 2
      root/etc/e-smith/templates/usr/share/mozilla-mcd/thunderbird.conf.php/10All
  2. 4
      root/usr/share/mozilla-mcd/thunderbird.php

@ -9,7 +9,9 @@ $OUT .=<<"EOF";
define('DOMAIN', '$DomainName');
define('USER_BASE', 'ou=Users,$ldapbase');
define('IMAP_SERVER', '$SystemName.$DomainName');
define('IMAP_PORT', '$imaps{'TCPPort'}');
define('SMTP_SERVER', '$SystemName.$DomainName');
define('SMTP_PORT', '$ssmtpd{'TCPPort'}');
define('LDAP_SERVER', 'localhost');
EOF

@ -39,7 +39,7 @@ lockPref("mail.server.server1.userName", "nobody");
lockPref("mail.smtp.defaultserver", "smtp1");
lockPref("mail.smtpservers", "smtp1");
lockPref("mail.smtpserver.smtp1.try_ssl", 3);
lockPref("mail.smtpserver.smtp1.port", 465);
lockPref("mail.smtpserver.smtp1.port", <?php echo SMTP_PORT; ?>);
lockPref("mail.smtpserver.smtp1.hostname", "<?php echo SMTP_SERVER; ?>");
lockPref("mail.smtpserver.smtp1.username", "<?php echo $uid; ?>");
@ -59,7 +59,7 @@ $identities = ''
lockPref("mail.account.account2.server", "server<?php echo $server?>");
lockPref("mail.server.server2.hostname", "<?php echo IMAP_SERVER; ?>");
lockPref("mail.server.server2.name", "<?php echo $user[0]['mail'][0]; ?>");
lockPref("mail.server.server2.port", 993);
lockPref("mail.server.server2.port", <?php echo IMAP_PORT; ?>);
lockPref("mail.server.server2.socketType", 3);
lockPref("mail.server.server2.type", "imap");
lockPref("mail.server.server2.userName", "<?php echo $uid; ?>");

Loading…
Cancel
Save