Lion Server: How to enable webmail for Active Directory users
Summary
Learn how to enable webmail for Active Directory users.
Products Affected
Lion Server
- Using your favorite text editor, add the following lines to /usr/share/webmail/config/db.inc.php.
// Add site-specific require directive
require_once(RCMAIL_CONFIG_DIR . '/siteoverrides.inc.php');
- Create /usr/share/webmail/config/siteoverrides.inc.php with the following lines..
$rcmail_config['imap_auth_type'] = LOGIN;
$rcmail_config['default_host'] = 'tls://%n';
- Make sure SSL is enabled for the webmail and mail server because passwords may be clear text.
- Disable CRAM-MD5 authentication. and enable LOGIN and PLAIN authentication for IMAP in the Advanced Mail settings of Server Admin, or with the following commands.
sudo serveradmin settings mail:imap:imap_auth_cram_md5=no
sudo serveradmin settings mail:imap:imap_auth_login=yes
sudo serveradmin settings mail:imap:imap_auth_plain=yes
- Use Server app to restart Mail.
Twitter
Facebook