Configurare un server imap specifico per l'autenticazione in Horde

From RVM Wiki
Revision as of 10:20, 8 June 2016 by Gabriele.vivinetto (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Di default, Horde si autentica su un server imap sulla porta 143. Per farlo autenticare su uno SSL, occorre
  • Creare un file di configurazione di override:
sudo cp imp/config/backends.php imp/config/backends.local.php
  • Nel file disabilitare il server imap di base e creare quello SSL:
sudoedit imp/config/backends.local.php
<?php
 $servers['imap']['disabled'] = true;

 
 $servers['imap-ssl'] = array(
    // ENABLED by default
    'disabled' => false,
    'name' => 'IMAP SSL Server',
    'hostspec' => 'localhost',
    'hordeauth' => true,
    'protocol' => 'imap',
    'port' => 993,
    // Plaintext logins are disabled by default on IMAP servers (see RFC 3501
    // [6.2.3]), so TLS is the only guaranteed authentication available by
    // default.
    'secure' => 'ssl',
    'maildomain' => 'example.com',
    'smtp' => array(
    //    'auth' => true,
    //    'localhost' => 'localhost',
    //    'host' => 'smtp.example.com',
    //    'password' => null,
    //    'port' => 25,
    //    'username' => null
    ),
    'cache' => false,
 );