Changes

From SME Server
Jump to navigationJump to search
1,682 bytes added ,  17:01, 21 December 2013
→‎On SME servers: create template
Line 67: Line 67:     
The permissions must include READ to everyone, nothing more is required!
 
The permissions must include READ to everyone, nothing more is required!
 +
 +
 +
To create a template on SME8, do this:
 +
<pre>
 +
mkdir -p  /etc/e-smith/templates-custom/home/e-smith/files/ibays/Primary/html/mail/config-v1.1.xml/
 +
echo >>/etc/e-smith/templates-custom/home/e-smith/files/ibays/Primary/html/mail/config-v1.1.xml/Content  <<FINAL
 +
{
 +
my $COMPANYNAME = $ldap{defaultCompany};
 +
my $DOMAINNAME = $DomainName;
 +
 +
    $OUT .=<<FIM
 +
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<clientConfig version="1.1">
 +
  <emailProvider id="$DOMAINNAME">
 +
    <domain>$DOMAINNAME</domain>
 +
    <displayName>$COMPANYNAME</displayName>
 +
    <displayShortName>$COMPANYNAME</displayShortName>
 +
    <incomingServer type="imap">
 +
      <hostname>mail.$DOMAINNAME</hostname>
 +
      <port>993</port>
 +
      <socketType>SSL</socketType>
 +
      <authentication>password-cleartext</authentication>
 +
      <username>%EMAILLOCALPART%</username>   
 +
    </incomingServer>
 +
  <outgoingServer type="smtp">
 +
    <hostname>mail.$DOMAINNAME</hostname>
 +
    <port>465</port>
 +
    <socketType>SSL</socketType>
 +
    <authentication>password-cleartext</authentication>
 +
    <username>%EMAILLOCALPART%</username>
 +
  </outgoingServer>
 +
  <documentation url="http://kundenservice.freenet.de/hilfe/email/programme/config/index.html">
 +
    <descr lang="pt-br">Páina de configuracoes Generica</descr>
 +
    <descr lang="en">Generic settings page</descr>
 +
  </documentation>
 +
  <documentation url="http://kundenservice.freenet.de/hilfe/email/programme/config/thunderbird/imap-thunderbird/imap/index.html">
 +
    <descr lang="pt-br">Configuracoes do Thunderbird ESR para IMAP</descr>
 +
    <descr lang="en">Thunderbird ESR IMAP settings</descr>
 +
  </documentation>
 +
</emailProvider>
 +
</clientConfig>
 +
 +
FIM
 +
}
 +
FINAL
 +
</pre>
147

edits

Navigation menu